Breakthrough Model
albert.resources.btmodel
BTModelSessionCategory
Enumeration for BTModelSession categories.
Attributes:
Name | Type | Description |
---|---|---|
USER_MODEL |
|
|
ALBERT_MODEL |
|
BTModelRegistry
Bases: BaseAlbertModel
Registry for BTModelSession.
Show JSON schema:
{
"description": "Registry for BTModelSession.",
"properties": {
"BuildLogs": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Buildlogs"
},
"Metrics": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Metrics"
}
},
"title": "BTModelRegistry",
"type": "object"
}
Fields:
BTModelSession
Bases: BaseResource
Parent session for a set of BTModels.
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
The name of the model session. |
category |
BTModelSessionCategory
|
The category of the model session (e.g., userModel, albertModel). |
id |
BTModelSessionId | None
|
The unique identifier for the model session. |
dataset_id |
BTDatasetId
|
The identifier for the dataset associated with the model session. |
default_model |
str | None
|
The default model name for the session, if applicable. |
total_time |
str | None
|
The total time taken for the session, if applicable. |
model_count |
int | None
|
The number of models in the session, if applicable. |
target |
list[str] | None
|
The target variables for the models in the session, if applicable. |
registry |
BTModelRegistry | None
|
The registry containing build logs and metrics for the session, if applicable. |
albert_model_details |
dict[str, Any] | None
|
Details specific to the Albert model, if applicable. |
albert_model_details
BTModelType
BTModelState
Enumeration for BTModel states.
Attributes:
Name | Type | Description |
---|---|---|
QUEUED |
|
|
BUILDING_MODELS |
|
|
GENERATING_CANDIDATES |
|
|
COMPLETE |
|
|
ERROR |
|
BTModel
Bases: BaseResource
A single Breakthrough model.
A BTModel may have a parent_id
or be a detached, standalone model.
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
The name of the model. |
id |
BTModelId | None
|
The unique identifier for the model. |
dataset_id |
BTDatasetId | None
|
The identifier for the dataset associated with the model. |
parent_id |
BTModelSessionId | None
|
The identifier for the parent model session, if applicable. |
metadata |
dict[str, Any] | None
|
Metadata associated with the model, if applicable. |
type |
BTModelType | None
|
The type of the model (e.g., Session, Detached). |
state |
BTModelState | None
|
The current state of the model (e.g., Queued, Building Models, Complete). |
target |
list[str] | None
|
The target variables for the model, if applicable. |
start_time |
str | None
|
The start time of the model creation, if applicable. |
end_time |
str | None
|
The end time of the model creation, if applicable. |
total_time |
str | None
|
The total time taken for the model creation, if applicable. |
model_binary_key |
str | None
|
The storage key for the model data, if applicable. |