You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #36 from KumarLabJax/select-feature-subsets
Adds the ability to control feature subsets for classifiers.
Changes ownership of project settings from UI components to project.
Classifiers make a copy of project settings.
JABS creates a subdirectory called "rotta" inside the project directory (this
82
-
directory is called "rotta" for historical reasons and may change prior to the
83
-
1.0.0 release of JABS). This directory contains app-specific data such as
84
-
project settings, generated features, user labels, cache files, and the latest
85
-
predictions.
81
+
JABS creates a subdirectory called "jabs" inside the project directory. This
82
+
directory contains app-specific data such as project settings, generated
83
+
features, user labels, cache files, and the latest predictions.
86
84
87
85
project.json This file contains project settings and metadata.
88
86
89
-
### rotta/annotations
87
+
### jabs/annotations
90
88
91
89
This directory stores the user's labels, stored in one JSON file per labeled
92
90
video.
93
91
94
-
### rotta/archive
92
+
### jabs/archive
95
93
96
94
This directory contains archived labels. These are compressed files (gzip)
97
95
containing labels for behaviors that the user has removed from the project.
98
96
Rotta only archives labels. Trained classifiers and predictions are deleted if a
99
97
user removes a behavior from a project.
100
98
101
-
### rotta/cache
99
+
### jabs/cache
102
100
103
101
Files cached by JABS to speed up performance. Some of these files may not be
104
102
portable, so this directory should be deleted if a JABS project is copied to a
105
103
different platform.
106
104
107
-
### rotta/classifiers
105
+
### jabs/classifiers
108
106
109
107
This directory contains trained classifiers. Currently, these are stored in
110
-
Python Pickle files and should be considered non-portable.
108
+
Python Pickle files and should be considered non-portable. While non-portable,
109
+
these files can be used alongside `classify.py classify --classifier` for
110
+
predicting on the same machine the gui running the training.
111
111
112
-
### rotta/features
112
+
### jabs/features
113
113
114
114
This directory contains the computed features. There is one directory per
115
115
project video, and within each video directory there will be one feature
116
-
directory per identity. Feature files are usually portable, but JABS may need
116
+
directory per identity. Feature files are portable, but JABS may need
117
117
to recompute the features if they were created with a different version of
118
118
JABS.
119
119
120
-
### rotta/predictions
120
+
### jabs/predictions
121
121
122
122
This directory contains prediction files. There will be one subdirectory per
123
123
behavior containing one prediction file per video. Prediction files are
@@ -173,9 +173,6 @@ tool (`classify.py`).
173
173
means that 11 frames are included into the window feature calculations for
174
174
each frame (5 previous frames, current frame, 5 following frames).
175
175
-**New Window Size:** Add a new window size to the project.
176
-
-**Social Feature Toggle:** Turn on/off social features (disabled if project
177
-
includes pose file version 2). Allows training a classifier backwards
178
-
compatible with V2 pose files using V3 or higher poses.
179
176
-**Label Balancing Toggle:** Balances the training data by downsampling the class with more labels such that the distribution is equal.
180
177
-**Symmetric Behavior Toggle:** Tells the classifier that the behavior is symmetric. A symmetric behavior is when left and right features are interchangeable.
181
178
-**All k-fold Toggle:** Uses the maximum number of cross validation folds. Useful when you wish to compare classifier performance and may have an outlier that can be held-out.
@@ -222,6 +219,22 @@ tool (`classify.py`).
222
219
mouse
223
220
-**View→Overlay Landmarks:** toggle the overlay of arena landmarks over the
224
221
video.
222
+
-**Features:** Menu item for controlling per-behavior classifier settings.
223
+
Menu items are disabled when at least 1 pose file in the project does not
224
+
contain the data to calculate features.
225
+
-**Features→CM Units:** toggle using CM or pixel units
226
+
(Warning! Changing this will require features to be re-calculated)
227
+
-**Features→Enable Window Features:** toggle using statistical window features
228
+
-**Features→Enable Signal Features:** toggle using fft-based window features
229
+
-**Features→Enable Social Features:** toggle using social features (v3+ projects)
230
+
-**Features→Enable Corners Features:** toggle using arena corner features
231
+
(v5+ projects with arena corner static object)
232
+
-**Features→Enable Lixit Features:** toggle using lixit features
233
+
(v5+ projects with lixit static object)
234
+
-**Features→Enable Food_hopper Features:** toggle using food hopper features
235
+
(v5+ projects with food hopper static object)
236
+
-**Features→Enable Segmentation Features:** toggle using segmentation features
0 commit comments