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
-[Available models and key parameters](#available-models-and-key-parameters)
30
+
-[Loading a model from a saved path](#loading-a-model-from-a-saved-path)
29
31
-[Notes on metrics](#notes-on-metrics)
30
32
-[Additional notes](#additional-notes)
31
33
-[Hyperparameter Tuning](#hyperparameter-tuning)
@@ -306,6 +308,27 @@ See `configs/penguins_multilabel.yaml` and `configs/possum_multilabel.yaml` for
306
308
**Linear Regression** (regression only)
307
309
- `fit_intercept`: Whether to calculate the intercept (default: `true`)
308
310
311
+
## Loading a model from a saved path
312
+
313
+
You can load a previously trained model directly from a file by specifying `model_path` in the model's `params` section of your YAML config. This is useful for reusing or updating models without retraining.
no_train: true # If true, use the loaded model with no further training
323
+
```
324
+
325
+
- If `no_train: true`, EcoNetToolkit will use the loaded model for prediction only and will not retrain it with the current data.
326
+
- If `no_train` is omitted or set to `false`, the loaded model will be further trained (fit) on the current data, allowing you to continue training or fine-tune.
327
+
328
+
If `model_path` is provided, EcoNetToolkit will load the model from disk using joblib and use it for predictions or further evaluation. All other parameters are ignored when loading from a path and `no_train: true`.
0 commit comments