Models#
MyoGestic supports following models out of the box: CatBoost, Sklearn, and RaulNet.
Each model is registered with Registry and must
provide four functions: train, save, load, and predict.
Classifier vs Regressor#
Models are registered with is_classifier=True or is_classifier=False.
Classifiers predict a single integer label (e.g., gesture class), while
regressors predict a vector of continuous values (e.g., joint angles). The
is_classifier flag determines which output-processing path the
OutputSystemTemplate uses at
runtime.
Temporal Preservation#
Some models (e.g., RaulNet CNNs) operate on time-series windows and require
features that preserve the temporal dimension. These models are
registered with requires_temporal_preservation=True and
feature_window_size=<int>. The Training UI uses these flags to filter
the feature list so that only compatible features are shown.
Note
To add a new model type, implement the four functions and register it
via register_model(). See the
Add a Model tutorial for a
step-by-step guide.
CatBoost#
Sklearn#
RaulNet#
|
Train a RaulNet model using preprocessed features from the dataset. |
|
Return the path of the last saved RaulNet model checkpoint. |
|
Load a RaulNet model from checkpoint. |
|
Predict with a RaulNet model. |