-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
64 lines (40 loc) · 2.25 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
David So
Human Evolution Simulator
Note: Before beginning any simulation, you must create an empty eve file
========
REQUIRES
========
numpy
autograd
schikit learn
matplotlib
==============
PYTHON SCRIPTS
==============
analyze_population.py: Provides file analytics (prints out mutation and count and graph)
Usage: <population file>
cluster_log_reg.py: Applies standard logistic regression and clustered logistic regression to pos and neg files
Usage: <eve file> <positive class file> <negative class file> <genome length> <test_percent> <k mean k>
create_geographies.py: Creates geographic group files from first argument file
Usage: <file to split> <number of geographic populations>
gen_lib_fast.py: Holds loadeve
initialize_population_fast.py: Creates first population of people (one mutational generation away from eve)
Usage: <eve file name> <current generation file name> <previous generation file name> <population size> <genome size> <mutation rate>
joint_analysis.py: Analyzes the sahred mutations between different geo groups
Usage: <population files...>
log_reg_fast.py Performs standard logistic regression (used for explicit case)
Usage: <eve file> <positive class file> <negative class file> <genome length> <test_percent>
mix_geogroups.py: Moves subjects betweeen geo_groups
Usage: <group 1 file> <group 2 file> <migration 1:2 prob> <migration 2:1 prob>
probabalistic_disease_class_fast.py: Creates positive and negative lael files for some probabalistic disease
Usage: <eve file> <positive file name> <negative file name> <disease string: commas in sets, sets broken with colons> <probability of diseases, colon seperated (classified: not classified)> <.........files to check>
quick_stat.py: Reports current eve size and number of humans in population
Usage: <eve file> <current population file>
simulate_generations.py: simulates generations of reproduction
Usage: <eve.dat> <current population file name> <previous population file name> <reproduction rate> <genome size> <mutation rate> <recombination rate> <generation number>
============
BASH SCRIPTS
============
benchmark_time.sh: skeleton of script used for performance benchmarking
test.sh: skeleton of script used to run classsifiction tests
run_demo.sh: example of population generation (with mobility)