f64b5f6a6a
Removed unnecessary deepcopies
2020-12-13 10:28:16 -05:00
a3bff6879d
Update attributes.py
2020-12-11 14:05:28 -05:00
f94a7ec9a8
Fixed rate bounds
...
Avoid extremely slow generations due to either
- Excessive mutations.
- Extreme selection probabilities, which make tournament selection struggle.
2020-12-09 10:34:34 -05:00
2cc7d93793
Change adapt rate and turn it off by default
2020-12-09 01:49:31 -05:00
23803593fc
Forgot to zip chromosomes
2020-12-06 11:36:16 -05:00
7e4dffd646
Added preset numerical and permutated chromosome settings
2020-12-06 11:18:00 -05:00
15e17f0b84
Updated bounds for gene_mutation_rate
2020-12-05 23:39:19 -05:00
956447079d
Merge branch 'master' of https://github.com/danielwilczak101/EasyGA
2020-12-04 14:30:45 -05:00
8c024a0290
Added distance attribute
2020-12-04 14:26:18 -05:00
05fa220d61
Changed back adapt and changed generation goal to 100 so its looks normal grpahing
2020-12-04 03:34:03 -05:00
0e299265f5
Changed adapt rate = 0 so i can push to pypi
2020-12-04 03:22:25 -05:00
046592a3a8
Split adapting into parts
2020-12-03 17:10:39 -05:00
4d273df5ae
Adapting faster seems beneficial
2020-12-01 10:33:52 -05:00
1197447d7e
Added ga.adapt()
2020-11-27 19:12:40 -05:00
1ba86c0661
Cleaned up spacing
2020-11-26 21:30:49 -05:00
33f74c4019
Set default mutation to use elitism
2020-11-23 11:54:54 -05:00
d93444490d
Fixed database_name
2020-11-21 23:11:47 -05:00
056d67306b
Added connection getter and setter
2020-11-21 23:04:07 -05:00
3bf69b21a6
Fixed to save all ga attributes to config table in database
2020-11-16 15:55:47 -05:00
2a1508468d
Added required tables
2020-11-16 15:32:02 -05:00
8e90bd558b
Config now adding to database.
2020-11-16 02:50:37 -05:00
7d8045692f
changes
2020-11-15 08:59:15 +00:00
7e0134e785
Fixed bug
...
Potentially 0 mutations occur
2020-11-12 18:46:09 -05:00
6e34020298
Doubled mutation rate. To solve default fitness function.
2020-11-12 18:37:43 -05:00
aab353b825
Changed default percent converged and tolerance goal
...
Should be less likely to converge early since it requires half of the whole population to converge.
2020-11-12 17:20:52 -05:00
8548e9963c
Added percent converged and renamed default methods
2020-11-12 17:10:47 -05:00
df422c6478
Fixed bug
2020-11-12 16:11:26 -05:00
0dcc43005c
Target fitness type converter
2020-11-12 14:28:08 -05:00
a5cb864330
Renamed termination method
2020-11-12 14:19:38 -05:00
7a8f16c622
Added tolerance-based termination
2020-11-09 15:58:09 -05:00
a49ceda93c
Added save_chromosome
2020-11-07 18:33:59 -05:00
96767ad03c
Added save_population
...
for easier front-end usage.
2020-11-07 18:21:43 -05:00
e1f794d7b7
Database files renamed
2020-11-07 17:17:18 -05:00
c959f44fd5
GA gives graph the database
2020-11-07 13:32:34 -05:00
f1f9d70c26
Fixed graph features
...
- Common graph code made into a method.
- No longer needs the user to pass in the ga for graphing.
- Changed graph attribute from class to object.
- Added ga to the graph object as an attribute on initialization to avoid needing to pass it in every time you graph.
- Capitalized database/graph classes.
2020-11-07 12:43:47 -05:00
05b8fd06fa
Moved all graphing to its own class
2020-11-06 22:56:16 -05:00
5c5b645c30
Added graphing capablities. It only graphs total fitness of generation.
2020-11-06 02:11:06 -05:00
f6dc70e805
Fixed variable name
2020-11-03 16:49:49 -05:00
72a8975d03
Fixed default arguments
...
Reverted usage format:
GA(
chromosome_length = 20,
population_size = 25
)
2020-11-03 14:30:43 -05:00
172918cad7
Added small database functionality but its commented out of running.
2020-11-03 13:43:21 -05:00
621fdef86d
Fixed attributes to allow setting attributes on initialization
...
e.g.
GA({
'chromosome_length' : 10,
'population_size' : 50
})
2020-11-03 13:19:09 -05:00
5b6dc8348a
Reverted back to old style of attributes.
2020-11-03 11:47:56 -05:00
ba2f076a2b
Added doc strings to EasyGA ga class and attributes class.
2020-11-03 02:32:20 -05:00
c9d30be1af
Initialization for GA with arguments
2020-10-30 11:52:11 -04:00
524cbdb0ec
Input error catching
2020-10-27 18:37:12 -04:00
00af4dbbe7
Added gene mutation rate
2020-10-27 17:32:40 -04:00
241f5e9e89
Chnaged testing and word in setter error
2020-10-27 15:35:56 -04:00
ae74ce1766
Minor edits
2020-10-25 22:36:54 -04:00
4ca859c34a
Updated termination related settings
2020-10-22 18:18:00 -04:00
e5bf5166f7
Pushed something by mistake
2020-10-22 00:20:17 -04:00