Module

pycaret.core.tasks

TaskType — the enum of ML tasks PyCaret supports.

Using a real Enum instead of a string makes it easy for an LLM agent or a React UI to enumerate what's available without guessing.

Classes 1

TaskType

extends StrEnum

The machine-learning task a PyCaret experiment is configured for.

Inheriting from str so that instances serialize cleanly to JSON and survive pickling without a custom reduce.

Attributes
  • CLASSIFICATION
  • REGRESSION
  • CLUSTERING
  • ANOMALY
  • TIME_SERIES
  • is_supervised: bool
  • is_classification: bool
  • is_regression: bool