Scikit-learn

When you use auto_record() with Sklearn models in MarkovML, it captures specific information:

  1. Hyper-parameters: Details about how the model is configured, like settings and options. Parameters returned bysklearn.base.BaseEstimator.get_params().
  2. Metrics: are not recorded for Sklearn models.

For more detailed information, you can check out the scikit-learn documentation. This function call helps automate the recording process for your Sklearn models in MarkovML, making it easier to track and manage them.

To use auto_record with Scikit-learnt in MarkovML, provide the following:

  1. name: Scikit-learn model name.
  2. notes: Notes for future reference. (optional)
  3. project_id: Project ID of the Project you will work on.
  4. model_class: Define Markov model class.

Sample Code

import markov

MODEL_NAME = "My Test Sklearn Model"

markov.sklearn.auto_record(
    name=MODEL_NAME,
    notes="Testing SKlearn Auto Record with MarkovML",
    project_id="some_project_id",
    model_class=markov.ModelClass.CLASSIFICATION
)

# Continue creation Sklearn model and training