DeepchecksModelClient#

class DeepchecksModelClient#

Client to interact with a model in monitoring. Created via the DeepchecksClient’s get_or_create_model function.

Parameters
modelDict[str, Any]

Name of the model.

apideepchecks_client.core.api.API

The instance of the API object

__init__(model: Dict[str, Any], api: API)#
__new__(*args, **kwargs)#

Methods

DeepchecksModelClient.add_alert_rule(...[, ...])

Create a new alert rule for provided model based on selected check.

DeepchecksModelClient.add_alert_rule_on_existing_monitor(...)

Create an alert based on an existing monitor.

DeepchecksModelClient.add_alert_webhook(...)

Create an alert webhook.

DeepchecksModelClient.add_checks(checks[, ...])

Add new checks for the model and returns their checks' id.

DeepchecksModelClient.add_monitor(...[, ...])

Create a new monitor to be displayed in the dashboard.

DeepchecksModelClient.add_notes(notes)

Add notes to the model.

DeepchecksModelClient.add_pager_duty_alert_webhook(...)

Create a PagerDuty alert webhook.

DeepchecksModelClient.create_from_id(...)

Request model instance by ID and create a model client from it.

DeepchecksModelClient.create_from_name(...)

Request model instance by name and create a model client from it.

DeepchecksModelClient.delete_checks(names)

Delete checks by name.

DeepchecksModelClient.delete_note(note_id)

Delete note.

DeepchecksModelClient.get_checks()

Return dictionary of check instances.

DeepchecksModelClient.get_notes()

Retrieve list of model notes.

DeepchecksModelClient.get_versions()

Return the existing model versions.

DeepchecksModelClient.log_batch_labels(...)

Update samples labels.

DeepchecksModelClient.log_label(sample_id, label)

Update an existing sample.

DeepchecksModelClient.send([samples_per_send])

Send all the aggregated samples for upload or update.

DeepchecksModelClient.set_schedule_time(...)

Set new scheduling time for all monitors of a model.

DeepchecksModelClient.version(*args, **kwargs)

Get or create a new model version.