Closed dahhei closed 2 months ago
Since this branch was created, I've changed the internal structure of how feature data is passed around. Most notably, the exported training data contains keyed vectors for all features.
Before this branch, classify.py already had exporting of features (through the --feature-dir
argument). Specific to this issue, that argument creates folders when needed. However, the current feature format is difficult to work with. I just added a new branch https://github.com/KumarLabJax/JABS-behavior-classifier/tree/adjust-feature-cache which makes cached features follow the exported training data format (a lot more legible).
If this updated legible format works, we may want to close that branch and this issue.
The branch above was integrated into some larger effort in a newer branch: https://github.com/KumarLabJax/JABS-behavior-classifier/tree/update-prediction-format
Once the now linked update-prediction-format branch is merged, we should close https://github.com/KumarLabJax/JABS-behavior-classifier/tree/classify-save-features in favor of that, since that branch is around 150 commits behind other changes.
When running classify.py with feature export in branch, have it create a folder if outdir folder does not already exist classify-save-features