9.9: Genetic Algorithm: Interactive Selection - The Nature of Code

  Рет қаралды 42,560

The Coding Train

The Coding Train

Күн бұрын

Пікірлер: 42
@exodproduction
@exodproduction 8 жыл бұрын
MAN, YOU ARE AWESOME! yes, i am shouthing. but because I AM SO FREAKING HAPPY!!! DID I SAY THAT YOU ARE AWESOME??? YOU ARE!!!! just thank you for sharing a lot of your tutorial, explanation and everything. YOU ARE AWESOOMMMMEEEEEEEEE!!!!! p.s. you are awesome.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
thank you, so nice to hear!
@jmebia7765
@jmebia7765 7 жыл бұрын
Interactive selection would probably be great when applying genetic algorithms in game development. I'm currently having my college thesis in computer science and this series is a LOT of help. Thanks!
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
Awesome, glad to hear!
@TheTanmaybishnoi
@TheTanmaybishnoi 8 жыл бұрын
Mr Daniel, never ever stop inspiring!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Thanks for watching!
@wouter11234
@wouter11234 8 жыл бұрын
I have one question for you: What keeps you motivated to make these kinds of videos?
@jonathonbreitner1334
@jonathonbreitner1334 7 жыл бұрын
I love your channel! don't stop being you!
@PixelOutlaw
@PixelOutlaw 8 жыл бұрын
I'd like to see imperative style Lisps used once more for graphics programming. Looks like the original was written in an extension of Common Lisp they called *Lisp. Another great video by the way!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Thanks! Indeed, that would be interesting!
@nevokrien95
@nevokrien95 6 жыл бұрын
for the exmple u gave at the start rl looks much better sens it can keep track of what works and change the picture evry frame u can than run an evolutionary algorithm on that deep rl
@SaintPepsiSanCoca
@SaintPepsiSanCoca 8 жыл бұрын
It would be interesting to see if an array of 100 x 100 pixels with random colours could be evolved into what the user might experience as "cute" or "angry" and see what the end result gives after a couple of generations
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Interesting idea!
@SaintPepsiSanCoca
@SaintPepsiSanCoca 8 жыл бұрын
I actually started realising this idea, but I can't get very far, after a couple of generations the thing just turns into randomness. I tried doing black and white but that didn't work out as well as i thought it would. What could be a way to improve the fitness function or maybe the mutation so that it does have more efficient pattern fiding?
@ryanprov
@ryanprov 8 жыл бұрын
I'm just learning about this stuff, so I'm no expert, but I have an idea for you. I really love your idea, but I could see how using this basic GA method doesn't really work for this application -- the problem is that it's hard for the model to "understand" that things that are close to each other in the image are related.. you're basically evolving the "cutest pixel" or whatever for each pixel location independently, which isn't really what you want. You should look into convolution neural networks (CNNs). They are significantly more complicated than the stuff covered here, but they are good at recognizing features in images. I think it will work a lot better for this idea. Good luck!
@SaintPepsiSanCoca
@SaintPepsiSanCoca 8 жыл бұрын
wow thanks alot Real!
@nevokrien95
@nevokrien95 6 жыл бұрын
u can use a learning encoder which was traind on the type of data u want and then just tweek the input to get the output u want
@peterpires
@peterpires 8 жыл бұрын
Great videos. Thanks!
@nagesh007
@nagesh007 2 жыл бұрын
Awesome
@JayTheYggdrasil
@JayTheYggdrasil 8 жыл бұрын
Im doing it with fractals generated using iterated function systems
@stefan1397
@stefan1397 8 жыл бұрын
I hope you know that those videos are listed under your GA playlist altough they are marked as unlisted.. #BugOrFeature
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Feature! I have many videos ready and uploaded but release them to "public" once per day. I'm happy if people who are looking find them through the playlists ahead of time.
@asdasddas100
@asdasddas100 8 жыл бұрын
Do you have an identical twin who does c#? That would be nice :p
@TheShadesOfBlack
@TheShadesOfBlack 8 жыл бұрын
I want to input this stuff into a game on Unity and it's gonna be a LOT of work,
@omairsalah7838
@omairsalah7838 4 жыл бұрын
A golden nugget
@aswath_k
@aswath_k 7 жыл бұрын
Is interactive selection in GA and reinforcement learning are the same?
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
Not exactly, but a lot of similar concepts, I will cover more about GA + neural networks soon!
@cozypreneur
@cozypreneur 8 ай бұрын
man made Bored Ape Nfts years before the hype haha
@jhonbrixbrion8030
@jhonbrixbrion8030 Жыл бұрын
Is this still Genetic Algorithm? or is it Interactive Genetic Algorithm? Can I use this to Generate Content like a UI Component Generator for a website builder project?
@konradzinner2255
@konradzinner2255 8 жыл бұрын
I did a p5.js version of this Face selection but my head get's white after the first click and after time everything is white... :(
@fpmutwira
@fpmutwira 8 жыл бұрын
i cant find a link to the java version of your GA, can you provide a link
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Take a look here: github.com/shiffman/The-Nature-of-Code-Examples/tree/master/chp09_ga
@peterheijstek6808
@peterheijstek6808 8 жыл бұрын
20k subs!
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
Can hardly believe it!
@LorenzoLeonardini
@LorenzoLeonardini 8 жыл бұрын
this can be also used for ads, can't it?
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
I think so!
@Fledron
@Fledron 8 жыл бұрын
this actually IS USED for ads.
@zhonghuahe3556
@zhonghuahe3556 4 жыл бұрын
@@Fledron can you provide an example please?
@MrLebo124
@MrLebo124 8 жыл бұрын
Nice video. Inspirered by this topic(saw it before in the Kadenze course) i made a p5.js program to make nice flowers (i am Dutch so we make our own flowers). github.com/Lebo124/Flowersystem At the moment i am trying translating this program in Processing and maybe make an Android app of it.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
oh awesome! thanks for sharing.
@vasugupta9824
@vasugupta9824 7 жыл бұрын
One day i m gonna surpass u !!
9.5: Genetic Algorithm: Fitness, Genotype vs Phenotype - The Nature of Code
14:36
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
The Knapsack Problem & Genetic Algorithms - Computerphile
12:13
Computerphile
Рет қаралды 241 М.
Wave Function Collapse: Overlapping Model
1:32:09
The Coding Train
Рет қаралды 46 М.
What are Genetic Algorithms?
12:13
argonaut
Рет қаралды 65 М.
Collisions Without a Physics Library! (Coding Challenge 184)
31:05
The Coding Train
Рет қаралды 141 М.
I Simulated Evolution: Something Happened…
7:06
EightLittleBears
Рет қаралды 530 М.
AI Learns to be a Car using a Genetic Algorithm
10:31
Chrispresso
Рет қаралды 24 М.
9.8: Weighted Selection (for Genetic Algorithms) - The Nature of Code
18:58
9.3: Genetic Algorithm: Shakespeare Monkey Example - The Nature of Code
7:47
Genetic Algorithm Tutorial - How to Code a Genetic Algorithm
11:51
Fullstack Academy
Рет қаралды 140 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН