sempy_labs.ml_experiment package

Module contents

sempy_labs.ml_experiment.create_ml_experiment(name: str, description: str | None = None, workspace: str | UUID | None = None)

Creates a Fabric ML experiment.

This is a wrapper function for the following API: Items - Create ML Experiment.

Parameters:
  • name (str) – Name of the ML experiment.

  • description (str, default=None) – A description of the ML experiment.

  • workspace (str | uuid.UUID, default=None) – The Fabric workspace name or ID. Defaults to None which resolves to the workspace of the attached lakehouse or if no lakehouse attached, resolves to the workspace of the notebook.

sempy_labs.ml_experiment.delete_ml_experiment(name: str, workspace: str | UUID | None = None)

Deletes a Fabric ML experiment.

This is a wrapper function for the following API: Items - Delete ML Experiment.

Parameters:
  • name (str) – Name of the ML experiment.

  • workspace (str | uuid.UUID, default=None) – The Fabric workspace name or ID. Defaults to None which resolves to the workspace of the attached lakehouse or if no lakehouse attached, resolves to the workspace of the notebook.

sempy_labs.ml_experiment.list_ml_experiments(workspace: str | UUID | None = None) DataFrame

Shows the ML experiments within a workspace.

This is a wrapper function for the following API: Items - List ML Experiments.

Parameters:

workspace (str | uuid.UUID, default=None) – The Fabric workspace name or ID. Defaults to None which resolves to the workspace of the attached lakehouse or if no lakehouse attached, resolves to the workspace of the notebook.

Returns:

A pandas dataframe showing the ML models within a workspace.

Return type:

pandas.DataFrame