ML/AI Flashcards
What is the primary inspiration for the GWO algorithm?
a) Bird migration patterns
b) Social behavior of wolves
c) Genetic structures
d) Firefly communication
Answer: b
In GWO, what does the prey represent in the optimization process?
a) The worst solution
b) The optimal solution
c) The alpha wolf
d) The average solution
Answer: b
What is the significance of the social hierarchy in a wolf pack for the GWO algorithm?
a) It determines the pack’s hunting strategy
b) It establishes dominance for all wolves
c) It guides the optimization process
d) It influences the color of wolves
Answer: c
In Grey Wolf Optimization the Alpha wolf
a) Ranks first and represents the best solution
b) Ranks second and assists the alpha by exploring the solution space
c) Ranks third and independently explores the solution space
d) None of the above
Answer: a
In Grey Wolf Optimization the Beta wolf
a) Ranks first and represents the best solution
b) Ranks second and assists the alpha by exploring the solution space
c) Ranks third and independently explores the solution space
d) None of the above
Answer: b
In Grey Wolf Optimization the Delta wolf
a) Ranks first and represents the best solution
b) Ranks second and assists the alpha by exploring the solution space
c) Ranks third and independently explores the solution space
d) None of the above
Answer: c
In Grey Wolf Optimization the Omega wolf
a) Ranks first and represents the best solution
b) Ranks second and assists the alpha by exploring the solution space
c) Ranks third and independently explores the solution space
d) None of the above
Answer: d
What is the time complexity of the GWO algorithm approximately expressed as?
a) O(n^2)
b) O(k+n)
c) O(k*n)
d) O(log n)
Answer: O(k*n)
How is the position of wolves updated in GWO?
a) Only based on alpha wolf
b) Average of the three best wolves
c) Randomly without considering other wolves
d) According to the prey’s position
Answer: b
What is the main application for GWO in machine learning?
a) Image recognition
b) Hyperparameter tuning
c) Natural language processing
d) Clustering
Answer: b
How is GWO used in hyperparameter tuning?
a) By optimizing learning rate, number of trees, and maximum depth
b) By selecting the fastest algorithm
c) By adjusting image resolution
d) By tuning neural network weights
Answer: a
What is a more feasible representation for feature selection in GWO?
a) Numeric values for each feature
b) A binary vector representing included features
c) Randomly selected features
d) A matrix of feature correlations
Answer: b
What does GWO offer as a cost-effective solution for feature selection?
a) Exponential complexity
b) Linear complexity
c) Binary complexity
d) Hierarchical complexity
Answer: b
In GWO, why is a small random shift added to the position update of wolves?
a) To confuse the prey
b) To avoid getting stuck in local optima
c) To increase dominance
d) To speed up convergence
Answer: b
What does the gathering of omega wolves around the best three wolves indicate in GWO?
a) The end of the optimization process
b) Increased randomness
c) Failure of the algorithm
d) Lack of hierarchy
Answer: a
What type of algorithm is SSA?
a) Genetic Algorithm
b) Population-based Algorithm
c) Neural Network
d) Decision Tree
Answer: b
What does SSA mimic in its design?
a) Birds
b) Fish
c) Salp Swarms
d) Bees
Answer: c
What is the natural behavior of salp chains in the depths of the oceans?
a) They move by flying in the air
b) They move by pushing water to find food
c) They move by crawling on the ocean floor
d) They move by floating on the water surface
Answer: b
How long can the chains of salp swarms be?
a) Up to 2 feet
b) Up to 5 feet
c) Up to 10 feet
d) Up to 15 feet
Answer: d
What is the main reason for the behavior of salp chains?
a) To avoid predators
b) To achieve better movement for finding food
c) To migrate to different oceans
d) To reproduce more efficiently
Answer: b
How is the leader-follower structure mathematically described in the salp swarm?
a) The head salp is the follower, and others are leaders
b) The head salp is the leader, and others are followers
c) All salps in the chain are leaders
d) All salps in the chain are followers
Answer: b
What is the main characteristic of the Salp Swarm Algorithm (SSA)?
a) It is a deterministic algorithm
b) It is a random (stochastic) algorithm
c) It is a rule-based algorithm
d) It is a supervised learning algorithm
Answer: b
In the Salp Swarm Algorithm, what does the exploration stage focus on?
a) Finding better solutions
b) Exploiting local data to improve the current solution
c) Balancing between exploration and exploitation
d) Updating the position of the leader salp
Answer: a
What is the purpose of the parameter initialization step in the Salp Swarm Algorithm?
a) It initializes the food source position
b) It initializes the population size and other parameters
c) It updates the position of the leader
d) It terminates the algorithm
Answer: b
How are individuals in the initial population generated in the Salp Swarm Algorithm?
a) By cloning the leader’s position
b) By creating random solutions within a specified range
c) By following a deterministic rule
d) By selecting the best solution from a previous iteration
Answer: b
What happens if any solution violates the range of the search space during the update process in the Salp Swarm Algorithm?
a) It is discarded
b) It is returned back within the range of the problem
c) It becomes the new leader
d) It terminates the algorithm
Answer: b
What is the termination criteria in the Salp Swarm Algorithm?
a) The number of followers
b) The maximum number of iterations
c) The size of the search space
d) The quality of the leader’s position
Answer: b
What is the primary inspiration for the Whale Optimization Algorithm?
a) Blue whales
b) Humpback whales
c) Beluga whales
d) Sperm whales
Answer: b
What are the two main strategies employed by the Whale Optimization Algorithm?
a) Expansion and Contraction
b) Exploration and Exploitation
c) Encircling and Attacking
d) Searching and Sorting
Answer: b
During the encircling phase of the Whale Optimization Algorithm, what do humpback whales consider as the best-obtained and near-optimal solution?
a) Random candidate solution
b) Current best-candidate solution
c) Average solution
d) Worst solution
Answer: b
What is the mechanism used by humpback whales during the exploitation phase of the Whale Optimization Algorithm?
a) Spiral mechanism
b) Encircling mechanism
c) Bubble-net mechanism
d) Linear mechanism
Answer: c
What is the initial step in the Whale Optimization Algorithm after randomly initializing the whale population?
a) Encircling prey
b) Evaluating fitness values
c) Updating positions
d) Searching for optimal solutions
Answer: b
How is the position of the whale updated during the exploitation phase of the Whale Optimization Algorithm?
a) Linearly
b) Randomly
c) Spirally
d) Exponentially
Answer: c
Which phase of the Whale Optimization Algorithm involves attacking prey using the bubble-net mechanism?
a) Exploration phase
b) Exploitation phase
c) Encircling phase
d) Searching phase
Answer: b
What is the purpose of adjusting the population size in Whale Optimization?
a) To maximize exploration
b) To minimize solution quality
c) To prevent premature convergence
d) To ignore problem-specific knowledge
Answer: c
What is a challenge faced by Whale Optimization in complex landscapes?
a) Lack of computational complexity
b) Limited exploration capabilities
c) Efficient exploitation of local regions
d) Lack of problem-specific guidance
Answer: b
What is the purpose of performing sensitivity analysis on Whale Optimization parameters?
a) To ignore optimal settings
b) To identify optimal settings for specific problems
c) To increase population diversity
d) To eliminate problem-specific knowledge
Answer: b
The Impact of Whale Optimization is measured based on which metric/s?
a) Solution Quality
b) Convergence Speed
c) Resource Utilization
d) All of the mentioned
Answer: d
How do some cuckoos reduce the probability of their eggs being abandoned?
a) By imitating the colors and patterns of host eggs
b) By building stronger nests
c) By laying fewer eggs
d) By choosing nests randomly
Answer: a
What happens if host birds discover that cuckoo eggs are not their own?
a) They throw the eggs away or abandon their nests and build new ones
b) They adopt the cuckoo eggs as their own
c) They protect the cuckoo eggs from predators
d) They throw away their own eggs
Answer: a
What action does a cuckoo chick take once it is hatched?
a) evict the eggs out of the nest
b) imitate the call of host chicks
c) both a and b
d) co-exist with the host eggs
Answer: c
In the Cuckoo Search Algorithm, what does each egg in a nest represent?
a) A mathematical equation
b) A new solution
c) The fitness of a solution
d) The best solution
Answer: b
In the Cuckoo Search Algorithm each nest can only contain 1 egg.
a) True
b) False
Answer: b
According to the Cuckoo Search Algorithm, what happens to the best nests with high-quality eggs?
a) They are abandoned
b) They are discarded
c) They carry over to the next generation
d) They are replaced immediately
Answer: c
What is the significance of Levy flight in the Cuckoo Search Algorithm?
a) It represents the flight patterns of cuckoos
b) It is used to calculate fitness
c) It generates a new cuckoo solution
d) It determines the number of available hosts
Answer: c
How is the termination criterion in the Cuckoo Search Algorithm defined?
a) By the number of cuckoos in a nest
b) By the fitness of the eggs
c) By the number of iterations
d) By the size of the nests
Answer: c
In what applications can the Cuckoo Search Algorithm be used?
a) Train neural network
b) Engineering optimization problems
c) both a and b
d) Culinary arts
Answer: c
How is the Cuckoo Search Algorithm extended in more complicated cases?
a) By decreasing the number of cuckoos in a nest
b) By introducing multiple eggs in each nest
c) By changing the color patterns of cuckoo eggs
d) By reducing the number of iterations
Answer: b
How is the fitness of a cuckoo’s egg compared to the fitness of the host egg in the Cuckoo Search Algorithm?
a) By their size
b) By the number of iterations
c) By the color patterns
d) By using the fitness function
Answer: d
What action is taken if the fitness of cuckoo’s eggs is better than the host egg in the Cuckoo Search Algorithm?
a) The cuckoo’s egg is discarded
b) The host egg is abandoned
c) The host egg is replaced by the cuckoo’s egg
d) A new nest is built immediately
Answer: c
What is the purpose of abandoning nests in the Cuckoo Search Algorithm?
a) To reduce the number of solutions
b) To increase local optimization
c) To build new nests with better solutions
d) To protect cuckoo eggs from predators
Answer: c
How are nests ranked in the Cuckoo Search Algorithm?
a) Based on the number of cuckoos in each nest
b) Randomly
c) According to the fitness of solutions
d) Based on the size of each egg
Answer: c
What are the two main behaviors that inspire firefly optimization?
a) Hovering and Pulsing
b) Flashing and Gliding
c) Fluttering and Glowing
d) Flashing and Lévy flight
Answer: d
What purpose did the ability to light up originally serve for fireflies?
a) Attracting mates
b) Warding off predators
c) Finding food
d) Establishing territory
Answer: b
What is the significance of the flashing behavior of fireflies?
a) It signals danger
b) It communicates with other species
c) It attracts mates
d) It scares off predators
Answer: c
How do female fireflies of a species respond to the flashing pattern of males?
a) They ignore it
b) They flee from it
c) They respond based on the pattern
d) They attack the males
Answer: c
What is the main characteristic observed in the flashing pattern in fireflies?
a) It is the same for all species
b) It is unique for each species
c) It is random
d) It is predictable
Answer: b
Why are fireflies considered unisex in the context of the firefly algorithm?
a) They lack distinct sexes
b) They can be attracted regardless of sex
c) They have both male and female characteristics
d) They change sexes over time
Answer: b
What determines the brightness of a firefly in the firefly algorithm?
a) The time of day
b) The landscape of the objective function
c) The type of vegetation
d) The distance to other fireflies
Answer: b
How does the firefly algorithm handle the movement of fireflies?
a) Randomly
b) Based on a fixed pattern
c) Towards the more bright firefly
d) Away from other fireflies
Answer: c
How does a firefly move in the Firefly Algorithm if there is no brighter firefly?
a) It doesn’t move
b) It moves towards the dimmest firefly
c) It moves randomly
d) It moves towards the light source
Answer: c
What is the role of attractiveness in the firefly algorithm?
a) It increases randomness
b) It determines movement
c) It decreases brightness
d) It affects the flashing pattern
Answer: b