/usr/bin/dos2unix [shell_script]
git clone git@github.com:claggierk/PeopleRL.git
- mv person_data.tar.gz PeopleRL
- cd PeopleRL
- tar -zxvf person_data.tar.gz
- This is used later, when the accuracy is computed.
- cd csadt_python
- vim run.sh to edit the "inputFile" variable (default is ../10.csv)
- ./run.sh
- creates 'Training.txt' and 'ComparisonRecords.txt'
- cd ../csadt_cpp/generate-unique-pairs
- ./run
- creates 'UniqueCombinations.txt'
- cd ../generate-input/
- ./run
- creates 'ADT_ready.txt'
- needed only if running the python implementation)
- cd ../generate-conditions
- ./run
- creates 'Conditions.txt'
- cd ../adt
- vim adt.cpp
- edit NUM_THREADS_TO_RUN_SIMULTANEOUSLY
- edit costPlus
- edit costMinus
- vim run.sh to edit the "numTreeNodes" variable
- ./run.sh
- creates '[1 through numTreeNodes]-Tree.txt'
- cd ../
- python ../csadt_python/translate-tree/translate-tree.py adt/[numTreeNodes]-Tree.txt TreeCPPReady.txt
- creates TreeCPPReady.txt
- python ../csadt_python/illustrate-tree/illustrate-tree.py TreeCPPReady.txt CS_ADT_Tree.png
- creates CS_ADT_Tree.png
- python ../csadt_python/classification-accuracy/classification-accuracy.py ../csadt_python/ComparisonRecords.txt TreeCPPReady.txt
- creates 2-Accuracy.txt, 2-Precision.txt, and 2-Recall.txt