Challenge

Week 4 - Genetic Algorithm

AIM=To optimise the stalagmite function & to finfd global maxima using matlab

OBJECTIVE=

To write a code in matlab to optimise function

to find out global maxima of function

to explain concept of genetic algorithm

OVERVIEW=

Optimization techniques are the techniques that are used to discover the best solution out of all the possible solutions available under the constraints present. So the Genetic algorithm is one such optimization algorithm that is built on the basis of the natural evolutionary process of our nature. The idea of Natural Selection and Genetic Inheritance is used here. It uses guided random search, unlike other algorithms, i.e., finding the optimal solution by starting with a random initial cost function and then searching only in the space which had the least cost (in the guided direction). Suitable when you are working with huge and complex datasets.

BODY OF CONTENT=

firstly,defining stalagmite function

code for stalagmite function

evaluating the stalagmite function & defining genetic algorithm function

we got the plot for the above as

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.