Apply variable-length PSO to find the optimal structure of Weighted Random Forest
- Create file
data_helper.py
:
data_folder = 'path/to/data/folder'
file_list = ['abalone', 'balance',...]
- Run:
- VLGA:
python demo_weighted_gcforest_vlga.py <from_file_id> <to_file_id>
- VLPSO:
python demo_weighted_gcforest_vlpso.py <from_file_id> <to_file_id>
- RandomForest:
python demo_randomforest.py <from_file_id> <to_file_id>