KumarLabJax / JABS-behavior-classifier

Behavior Classifier Component from the Jax Animal Behavior System
Other
12 stars 2 forks source link

Command-line capability of running cross-validation #31

Open dahhei opened 1 year ago

dahhei commented 1 year ago

Feature request for being able to run cross-validation from the command line. When a project has many videos for cross-val, the all k-fold cross-val takes a long time. 😕

SkepticRaven commented 1 year ago

It's not documented, but it looks like https://github.com/KumarLabJax/JABS-behavior-classifier/blob/main/stats.py does exactly this, when you pass a -k greater than the number of possible k-folds. It only operates on exported classifiers in its current state.

There's a handful of upgrades to it that would make it more useful: