KumarLabJax / JABS-behavior-classifier

Behavior Classifier Component from the Jax Animal Behavior System
Other
11 stars 1 forks source link

Command-line capability of running cross-validation #31

Open dahhei opened 11 months ago

dahhei commented 11 months 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 11 months 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: