This program classifies patient clinical records for histologic grade.
Update config.py to contain the location of your MetaMap Lite directory (if you want to use it), then run:
Windows (assumes the default Python is Python 3):
run.cmd data_dir print-errors no-metamap full-results
Unix:
run.sh data_dir print-errors no-metamap full-results
Manually:
python(3) main.py data_dir print-errors no-metamap full-results
data_dir is the directory containing the data files (the clinical records, not the annotations).
print-errors is an optional string. If it is present, error data will be printed to an "error_analysis.txt" file.
no-metamap is an optional string. If it is present, MetaMap Lite will not be used.
full-results is an optional string. If it is present, the program will print results for each module as well as combined results. This produces 188 lines of output, so it's recomended to send output to a file if you use it.
Results are sent to standard out.
- Python 3
- scikit-learn
- MetaMap Lite (optional)