Go Back   Smogon Community > Contributions & Corrections > Projects
Register FAQ Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
Categories: HTML, Programming, Other
 
Thread Tools
Old Apr 12th, 2013, 6:19:58 PM   #1
Pyr0
 
Pyr0's Avatar
 
Join Date: Oct 2006
Posts: 1,023
Default Genesect.py - Pokemon Evolutionary Algorithm


Genesect.py

The evolution begins!

Code @ Github: https://github.com/ChrisCTX/genesect

Yep, initial commit is here guys, really pleased so far with the results.

Currently the only thing to really see in the code is the Fitness function, it will grade a given moveset and based upon its score
the algorithm will either allow that pokemon to breed to keep those good moves in, or it will reject it and find other more suitable candidates.

The score is in logarithmic scale to make it easier on us to read, but please do note that there is a huge difference between a
20 and a 30 score.

Small little preview:


Tyranitar with ["crunch", "fireblast", "icebeam", "lowkick"] scored a nice 39.9911245405
Tyranitar with ["stoneedge"] score only 17.0323042166, but then again its only one move.

Last edited by Pyr0; Apr 30th, 2013 at 4:07:40 AM.
Pyr0 is offline   Reply With Quote
Old Apr 13th, 2013, 12:43:38 AM   #2
Pyr0
 
Pyr0's Avatar
 
Join Date: Oct 2006
Posts: 1,023
Default

OK, got the Name, type1, type2 covered, some google-fu and a quick script made it happen.

Now I need all the moves and movepools per Pokemon.
Pyr0 is offline   Reply With Quote
Old Apr 13th, 2013, 2:25:18 AM   #3
mikel
hear me roar
is a Battle Server Administratoris a Forum Moderator
 
mikel's Avatar
 
Moderator
Join Date: Jun 2011
Posts: 621
~gocn~
Default

this is the learnsets data from pokemon showdown on github

it has each pokemon, their movepools, and which gen and how they learn each move
__________________
pokemon showdown | contributions and corrections | little cup | pm/vm for a gp check

[2013-02-13T17:59:26.637Z] (lobby) Blue Kirby was banned by Joim. (Smog Nominee Award Joim invites you to kindly take a time off of his website, banned user: BlueKirby)
[3:33:40 PM] <~bmelts> inasmuch as this is the crux of the aforementioned set
mikel is offline   Reply With Quote
Old Apr 13th, 2013, 6:29:29 PM   #4
Pyr0
 
Pyr0's Avatar
 
Join Date: Oct 2006
Posts: 1,023
Default

Much appreciated mikel, it has all the information we need.

Main post will be updated as we do the first commit and succeeding ones, we're both really hyped about what the output will be :D
Pyr0 is offline   Reply With Quote
Old Apr 25th, 2013, 6:09:56 PM   #5
Pyr0
 
Pyr0's Avatar
 
Join Date: Oct 2006
Posts: 1,023
Default

First post edited, initial commit is imminent.
Pyr0 is offline   Reply With Quote
Old Apr 30th, 2013, 4:10:49 AM   #6
Pyr0
 
Pyr0's Avatar
 
Join Date: Oct 2006
Posts: 1,023
Default

Initial commit, fitness function v1 done.
Pyr0 is offline   Reply With Quote
Reply Smogon Community > Contributions & Corrections > Projects

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 3:56:51 AM.