Тёмный

Genetic Algorithms in Python - Evolution For Optimization 

NeuralNine
Подписаться 350 тыс.
Просмотров 12 тыс.
50% 1

Today we learn about genetic algorithms and evolution in Python.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
💼 Services 💼
💻 Freelancing & Tutoring: www.neuralnine.com/services
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord

Наука

Опубликовано:

 

1 апр 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@SolathPrime
@SolathPrime 2 месяца назад
[17:08]: it's a binary state, you can keep it as simple as `genome[i] = not(genome[i])`
@mehdimojaradi
@mehdimojaradi 3 месяца назад
I am one of the faithful visitors of your great contents and really appreciate your rewarding efforts and time. I'll be grateful if you address the statistical analysis with Python as a cornerstone of datascience, if applicable.
@matijsbrs
@matijsbrs 3 месяца назад
Great video! I'm working more and more to optimize my work processes. And Never actually thought about using this. Thanks!
@GuillermoGarcia75
@GuillermoGarcia75 Месяц назад
Again taking over Awesome town! THX
@southfitness7567
@southfitness7567 3 месяца назад
Thanks for sharing the concept
@rubanruban9843
@rubanruban9843 3 месяца назад
Csn you tell machine learning algorithms like candidate algorithm and decision tree algorithm
@salihabdullahkilic
@salihabdullahkilic 3 месяца назад
Great video, thanks!
@phobosmoon4643
@phobosmoon4643 3 месяца назад
10:42 that's a slick generator. ty vid
@gamerfisch5117
@gamerfisch5117 3 месяца назад
another interesting video. Thanks a lot :)
@TomLeg
@TomLeg 3 месяца назад
In mutate(), using arithmetic to do logic manipulatiosn is the kind of thing we used to do in the 1970s with primitive BASIC. I would suggest using the exclusive OR operator (XOR) - "^" .. or in this case, the XOR-assignment operator, "^=" ... """a OR b, but not both""" 0^0 -> 0 0 ^1 -> 1 1^0 -> 1 1^1 -> 0
@pascalpicavez4243
@pascalpicavez4243 3 месяца назад
Thanks you
@fidelaneysakaulika6665
@fidelaneysakaulika6665 2 месяца назад
how if the population is not binary state
@KernaaliKehveli
@KernaaliKehveli 3 месяца назад
The fitness values in the one max problem were off
@michael.adel.shafik
@michael.adel.shafik Месяц назад
do you think using PYGAD could make genetic algorithm easier ?
@Banta2000
@Banta2000 3 месяца назад
I'm not sure about the select_parent() function. You are going through the pool of candidates, cumulating their respective fitness, until you hit the first candidate who's cumulated fitness is bigger than some random threshold. How does that guarantee that a candidate with a bigger fitness is statistically more often chosen over a candidate with less fitness? Shouldn't be some type of sorting? I get the impression, the candidate pool is randomly sorted; we're randomly choosing a threshold point; and therefore randomly returning any candidate that just happens to be the first to cross the (cumulated!) threshold. WDYT?
@doyouknowdawae1343
@doyouknowdawae1343 2 месяца назад
A better implementation would be to first perform elitism, where say 10% of the solutions with the highest fitness are automatically entered into the new population. Then you could select the parents through tournament selection which would compare n amounts of solutions, with the best one (Highest Fitness) being chosen as a parent. After performing tournament selection to get 2 parents you could then proceed to crossover as described in the video. I believe this would achieve what you wanted, with more fit solutions being chosen over weaker candidates.
@FelipeCantalic3
@FelipeCantalic3 3 месяца назад
I think game theory is interesting too
@raymundo2302
@raymundo2302 3 месяца назад
I think the reason why the fitness wasn't increasing was in the function select_parent(). While higher fitness individuals may have a better chance at reproducing, it isn't likely enough for them to reproduce
@ZeuSonRed
@ZeuSonRed 2 месяца назад
Wow❤❤❤
@menaeem
@menaeem 2 месяца назад
Please share the code.
@dziurappa
@dziurappa 3 месяца назад
moar of those!
@sanjayram4056
@sanjayram4056 3 месяца назад
Hi
@TomLeg
@TomLeg 3 месяца назад
You show interesting code, but you haven't tested it before, and are learning how it performs on-camera. How about spending an hour beforehand figuring out exactly what to show?
Далее
POLI зовет Газана
00:12
Просмотров 273 тыс.
Autoencoders | Deep Learning Animated
11:41
Просмотров 3 тыс.
Fine-Tuning GPT Models with Python
23:14
Просмотров 8 тыс.
Modern Python logging
21:32
Просмотров 158 тыс.
Machine Learning Control: Genetic Algorithms
13:59
Просмотров 47 тыс.
Movie Recommender System in Python with LLMs
25:01
Просмотров 5 тыс.
Memory Profiling in Python
7:07
Просмотров 10 тыс.