100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Summary IB Computer Science: Genetic Algorithms Unveiled

Rating
-
Sold
-
Pages
11
Uploaded on
13-10-2023
Written in
2022/2023

Delve into the intricacies of genetic algorithms, tailored to the IB Computer Science curriculum. These student notes provide a comprehensive understanding of how genetic algorithms, inspired by nature's evolutionary principles, play a pivotal role in problem-solving within the realm of computer science. Explore their applications in AI, machine learning, and more, all while preparing to excel in your IB Computer Science studies. With this resource, you'll be well-equipped to tackle complex optimization challenges, directly related to your IB course, and pave the way for academic success.

Show more Read less









Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
October 13, 2023
Number of pages
11
Written in
2022/2023
Type
Summary

Content preview

https://www.mathworks.com/help/gads/what-is-the-genetic-algorithm.html#:~:text=The%20g
enetic%20algorithm%20is%20a,a%20population%20 of%20 individual%20solutions.


Genetic algorithm - a search heuristic

Inspired by natural evolution




Five phases are considered in a genetic algorithm.

1. Initial population
2. Fitness function
3. Selection
4. Crossover
5. Mutation


An individual is a solution to the problem, and a population is a set of individuals
Individuals are characterized by parameters (genes). A chromosome is a string of genes.

The fitness function determines how effective the solution is.

A pair of parents are chosen based on their fitness

Crossover swap the genes of the parent to create the offspring. The crossover point is
randomized.




Mutation also causes from genes to be changed, but with low probability

When a set of population converges (offspring are similar to parents) the solution is found.

, Each generations are better than the last

https://www.wikiwand.com/en/Genetic_algorithm

Solutions are traditionally represented by binary

Initial population is usually generated randomly

Other heuristics may be employed as well, such as speciation where crossover between
similar parents are penalized.

Doesn’t scale well with complexity

Elitism - Best version is unaltered to ensure that the quality doesn’t drop in the next
simulation

https://www.youtube.com/watch?v=kHyNqSnzP8Y&ab_channel=MITOpenCourseWare

https://www.geeksforgeeks.org/genetic-algorithms/




https://www.ripublication.com/ijcir17/ijcirv13n7_15.pdf
£6.88
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
thanatvarinkittikasemsak

Get to know the seller

Seller avatar
thanatvarinkittikasemsak The University of Birmingham
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
9
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions