Posts

Showing posts from July 16, 2023

New Post

Algorithms Behind Space Missions ~xRay Pixy

Image
Learn different algorithms used in Space Missions. Video Link Video Chapters: Algorithms Behind Space Missions 00:00 Introduction 00:52 Space Missions 04:26 Space Missions Challenges 07:04 Algorithms Used in Space Missions 10:36 Optimization Techniques 11:44 Conclusion  NASA conducts space missions to explore the universe for various scientific, technological, and practical reasons: Understanding Our Place in the Universe Search for Life Beyond Earth Studying Earth from Space Advancing Technology Supporting Human Exploration Resource Utilization Inspiring Humanity Examples of NASA Space Missions Apollo Program: Sent humans to the Moon (1969–1972). Mars Rovers (Spirit, Opportunity, Perseverance): Explored Mars' surface and geology. Voyager Missions: Studied the outer planets and interstellar space. Hubble Space Telescope: Captured breathtaking images of the universe. International Space Station (ISS): Supports research in microgravity and international collaboration. Different ...

PSO Python Code || Particle Swarm Optimization in Python || ~xRay Pixy

Image
Particle Swarm Optimization Implementation in Python Video Chapters: 00:00 Introduction 02:01 Code 05:55 Position Initialization 08:06 PSO Main Loop 08:42 Velocity Calculation 10:02 Position Update 10:36 Fitness Evaluation 13:21 Objective Function 17:44 Result 19:00 Conclusion .....................................................SOURCE CODE......................................................................... import random import numpy as np from tkinter import messagebox #Define Class Particles class Particle: def __init__ (self,position): self.position=position self.velocity=np.zeros_like(position) self.best_position=position self.best_fitness=float('inf') def PSO(ObjF,Pop_Size,D,MaxT): swarm_best_position=None swarm_best_fitness=float('inf') particles=[] #Posotion Initialization position=np.random.uniform(-0.5,0.5,D) particle=Particle(position) particles.append(particle) #Fit...
More posts