pdstools.infinity.resources.prediction_studio.v26_1.model¶
Classes¶
v26 Model — inherits all v24.2 functionality. |
|
v26 async Model — inherits all v24.2 functionality. |
Module Contents¶
- class Model(client, *, modelId: str, label: str, modelType: str, status: str, componentName: str | None = None, source: str | None = None, lastUpdateTime: str | None = None, modelingTechnique: str | None = None, updatedBy: str | None = None, performance: float | None = None, performanceMeasure: str | None = None, **kwargs)¶
Bases:
_Modelv26_1Mixin,pdstools.infinity.resources.prediction_studio.base.Modelv26 Model — inherits all v24.2 functionality.
- Parameters:
- get_notifications(category: pdstools.infinity.resources.prediction_studio.types.NotificationCategory | None = None, return_df: Literal[False] = False) pdstools.infinity.internal._pagination.PaginatedList[pdstools.infinity.resources.prediction_studio.base.Notification]¶
- get_notifications(category: pdstools.infinity.resources.prediction_studio.types.NotificationCategory | None = None, return_df: Literal[True] = True) polars.DataFrame
Fetches a list of notifications for a specific model.
- Parameters:
category ({"All", "Responses", "Performance", "Model approval", "Output", "Predictors", "Prediction deployment", "Generic"} or None, optional) – The category of notifications to retrieve.
return_df (bool, default False) – If True, returns the notifications as a DataFrame.
- Returns:
A list of notifications or a DataFrame.
- Return type:
PaginatedList[Notification] or polars.DataFrame
- class AsyncModel(client, *, modelId: str, label: str, modelType: str, status: str, componentName: str | None = None, source: str | None = None, lastUpdateTime: str | None = None, modelingTechnique: str | None = None, updatedBy: str | None = None, performance: float | None = None, performanceMeasure: str | None = None, **kwargs)¶
Bases:
_Modelv26_1Mixin,pdstools.infinity.resources.prediction_studio.base.AsyncModelv26 async Model — inherits all v24.2 functionality.
- Parameters:
- async get_notifications(category: pdstools.infinity.resources.prediction_studio.types.NotificationCategory | None = None, return_df: bool = False) pdstools.infinity.internal._pagination.AsyncPaginatedList[pdstools.infinity.resources.prediction_studio.base.AsyncNotification] | polars.DataFrame¶
Fetches a list of notifications for a specific model.
- Parameters:
category ({"All", "Responses", "Performance", "Model approval", "Output", "Predictors", "Prediction deployment", "Generic"} or None, optional) – The category of notifications to retrieve.
return_df (bool, default False) – If True, returns the notifications as a DataFrame.
- Returns:
A list of notifications or a DataFrame.
- Return type:
AsyncPaginatedList[AsyncNotification] or polars.DataFrame