Model

class labelbox.schema.model.Model(client, field_values)[source]

Bases: DbObject

A model represents a program that has been trained and can make predictions on new data. .. attribute:: name

type:

str

model_runs

ToMany relationship to ModelRun

Type:

Relationship

create_model_run(name, config=None) ModelRun[source]

Creates a model run belonging to this model.

Parameters:
  • name (string) – The name for the model run.

  • config (json) – Model run’s training metadata config

Returns:

ModelRun, the created model run.

delete() None[source]

Deletes specified model.

Returns:

Query execution success.