pdstools.infinity.resources.prediction_studio.v24_1.prediction

Classes

Prediction

Helper class that provides a standard way to create an ABC using

Module Contents

class Prediction(client: pdstools.infinity.client.SyncAPIClient, *, predictionId: str, label: str, status: str, lastUpdateTime: str, objective: str | None = None, subject: str | None = None)

Bases: pdstools.infinity.resources.prediction_studio.base.Prediction

Helper class that provides a standard way to create an ABC using inheritance.

Parameters:
  • client (pdstools.infinity.client.SyncAPIClient)

  • predictionId (str)

  • label (str)

  • status (str)

  • lastUpdateTime (str)

  • objective (Optional[str])

  • subject (Optional[str])

get_metric(*, metric: pdstools.infinity.internal._constants.METRIC, timeframe: Literal['7d', '4w', '3m', '6m']) polars.DataFrame
Parameters:
  • metric (pdstools.infinity.internal._constants.METRIC)

  • timeframe (Literal['7d', '4w', '3m', '6m'])

Return type:

polars.DataFrame

describe()