Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mutation_ratio to 0.2 #6

Merged
merged 4 commits into from
Sep 22, 2021
Merged

mutation_ratio to 0.2 #6

merged 4 commits into from
Sep 22, 2021

Conversation

marcgalitski
Copy link
Collaborator

No description provided.

@marcgalitski marcgalitski merged commit eedea71 into master Sep 22, 2021
@marcgalitski marcgalitski deleted the mutation branch September 22, 2021 15:54
dymitrlubczyk added a commit that referenced this pull request Sep 28, 2021
* 🔬 Experiment Class (#3)

* Save progress on Experiment Class

* Remove binary and text files

* Refactor Experiment class

* Save Process

* Added Experiment to run_algorithm()

* Remove pyc file

* Turned on self.logs in environment.py because logs were still being displayed

* Made changes to experiment, base_algo, and specialist; added line_plot_method, changed variable name in base_alg, and added hyperparams for specialist

* Changed generations_number from 5 to 2

* Changed fitnesses var name to avg_generation_fitness for clarity; added DEBUG statements; requesting clarification for population array

* Implemented working line_plot function - plots average generation fitness during each experimental run; TODO: boxplots, fix best_solution array - best does not want to be appended to a list of list... so far solutions get merged into a single list

* Base_algo: fixed generation iteratable (increased at beginning & end, instead of just end); experiment.py: fixed calculation of total average - successfully plots total average over all generations in a single experiment against experiment number; specialist: changed some hyperparams

Co-authored-by: marcgalitski <[email protected]>

* Add niche fitness (#4)

* 🙆🏻‍♀️ Crossover methods (#5)

* Average crossover

* Add hidden layer to network

* Niche fitness refactor

* ∞ Uniform Mutation (#6)

* mutation_ratio to 0.2

* Added uniform_mutation, removed duplicate mutation_ratio (set by specialist as hyperparam)

* Added uniform, made changes to attribute names

* Changed selection ratio to 0.3

* 🏟 Tournament selection (#7)

* 🦧 Add tuning (#8)

* 🦫 Fix naming (#9)

* Add tuning

* Fix

* 🐑 Same initial population in tuning (#10)

* Add tuning

* Fix

* Same initial population

* 🐏 Same initial population (#11)

* Minor improvements

* 🦒 Tuning improvements (#12)

* Same initial population

* Minor improvements

* Fix alpha values

* Fix

* 🐉 Tuning improvements (#13)

* Same initial population

* Minor improvements

* Fix alpha values

* Fix

* Minor improvement

* 🪲 Tuning improvements (#14)

* Same initial population

* Minor improvements

* Fix alpha values

* Fix

* Minor improvement

* Tune params

Co-authored-by: marcgalitski <[email protected]>
Co-authored-by: marcgalitski <[email protected]>
dymitrlubczyk added a commit that referenced this pull request Sep 29, 2021
* 🔬 Experiment Class (#3)

* Save progress on Experiment Class

* Remove binary and text files

* Refactor Experiment class

* Save Process

* Added Experiment to run_algorithm()

* Remove pyc file

* Turned on self.logs in environment.py because logs were still being displayed

* Made changes to experiment, base_algo, and specialist; added line_plot_method, changed variable name in base_alg, and added hyperparams for specialist

* Changed generations_number from 5 to 2

* Changed fitnesses var name to avg_generation_fitness for clarity; added DEBUG statements; requesting clarification for population array

* Implemented working line_plot function - plots average generation fitness during each experimental run; TODO: boxplots, fix best_solution array - best does not want to be appended to a list of list... so far solutions get merged into a single list

* Base_algo: fixed generation iteratable (increased at beginning & end, instead of just end); experiment.py: fixed calculation of total average - successfully plots total average over all generations in a single experiment against experiment number; specialist: changed some hyperparams

Co-authored-by: marcgalitski <[email protected]>

* Added uniform_mutation, made changes to mutation_selection params & print message

* Made adjustments to uniform_mutation

* Add niche fitness (#4)

* Switched order of generation increment & assigning avg_generation_fitness

* Fixed typo

* 🙆🏻‍♀️ Crossover methods (#5)

* Average crossover

* Add hidden layer to network

* Niche fitness refactor

* Just making 2D array to start my idea

* ∞ Uniform Mutation (#6)

* mutation_ratio to 0.2

* Added uniform_mutation, removed duplicate mutation_ratio (set by specialist as hyperparam)

* Added uniform, made changes to attribute names

* Changed selection ratio to 0.3

* 🏟 Tournament selection (#7)

* 🦧 Add tuning (#8)

* 🦫 Fix naming (#9)

* Add tuning

* Fix

* 🐑 Same initial population in tuning (#10)

* Add tuning

* Fix

* 🐏 Same initial population (#11)

* 🦒 Tuning improvements (#12)

* Same initial population

* Minor improvements

* 🐉 Tuning improvements (#13)

* Same initial population

* Minor improvements

* Fix alpha values

* Fix

* still wip sorry guys

Seperated plotters and experiments
Setting up experiment to run as they intend.

* Lineplots - Updates for spec

Note - I have screwed around in base_evolutionary_algo
Primarily work on fixing line-plot to desired.

* Added some todo's - lineplots done (nvm a bug appeared) and boxplots WIP

* Lineplot works with standard deviation - Boxplot WIP

* Saving of the best individual happens. Setting up that the best individuals from each run get to play 5 times and then their data is averaged.

* Boxplot and running best individual WIP

* 🪲 Tuning improvements (#14)

* Same initial population

* Minor improvements

* Fix alpha values

* Fix

* Minor improvement

* Boxplot + Best individual run = nice

* Boxplots + play best individual almost ready

* Play best is smarter...

* Tune hyperparams (#15)

* Same initial population

* Minor improvements

* Fix alpha values

* Fix

* Minor improvement

* Tune params

* Debugging in plots and experiment

* Final debugs of plots

* Fixed merge with base_evo_alg

* split experiment and main

* Integrate Experiment with EvolutionaryAlgorithm

Co-authored-by: marcgalitski <[email protected]>
Co-authored-by: Adrian S.A <[email protected]>
Co-authored-by: marcgalitski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant