-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: The output file now correctly displays the evolution of the RMSE
- Loading branch information
Showing
7 changed files
with
208 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Don't track compiled python files | ||
*pyc | ||
|
||
# Don't track the results folder | ||
results/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
By using this file, you are agreeing to this product's EULA | ||
This product can be obtained in https://github.com/jespb/Python-STGP | ||
Copyright ©2019 J. E. Batista | ||
|
||
|
||
This implementation of STGP uses the following command and flags: | ||
|
||
$ python Main_STGP.py | ||
|
||
[-d datasets] | ||
- This flag expects a set of csv dataset names separated by ";" (e.g., a.csv;b.csv) | ||
- By default, the heart.csv dataset is used | ||
|
||
[-dontshuffle] | ||
- By using this flag, the dataset will not be shuffled; | ||
- By default, the dataset is shuffled. | ||
|
||
[-dsdir dataset_dir] | ||
- States the dataset directory. | ||
- By default "datasets/" is used | ||
- Use "-dsdir ./" for the root directory | ||
|
||
[-es elite_size] | ||
- This flag expects an integer with the elite size; | ||
- By default, the elite has size 1. | ||
|
||
[-md max_depth] | ||
- This flag expects an integer with the maximum initial depth for the trees; | ||
- By default, this value is set to 6. | ||
|
||
[-mg max_generation] | ||
- This flag expects an integer with the maximum number of generations; | ||
- By default, this value is set to 100. | ||
|
||
[-odir output_dir] | ||
- States the output directory. | ||
- By default "results/" is used | ||
- Use "-odir ./" for the root directory | ||
|
||
[-op operators] | ||
- This flag excepts a set of operators separated by ";" | ||
- Allowed operators: +;-;*;/ | ||
- By default, the used operators are the sum, subtraction, multiplication and protected division. | ||
[-ps population_size] | ||
- This flag expects an integer with the size of the population; | ||
- By default, this value is set to 200. | ||
|
||
[-r] | ||
- States the this is a regression problem. | ||
- By default the GSGP tries to classify samples as 0 or 1 | ||
|
||
[-runs number_of_runs] | ||
- This flag expects an integer with the number of runs to be made; | ||
- By default, this values is set to 30 | ||
|
||
[-tf train_fraction] | ||
- This flag expects a float [0;1] with the fraction of the dataset to be used in training; | ||
- By default, this value is set to 0.70 | ||
|
||
[-ts tournament_size] | ||
- This flag expects an integer with the tournament size; | ||
- By default, this value is set to 10. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.