Skip to main content

PyCaret 4.0 — the modern, minimalistic ML control pane on top of scikit-learn.

Project description

PyCaret 4.0 — engine

The PyCaret 4.0 engine. Config-driven, stateless, notebook-friendly, built on scikit-learn 1.7+ / NumPy 2 / pandas 2 / Python 3.11+.

Paired with services/api (the FastAPI backend) and apps/web (the React UI) to form PyCaret Control Plane — a self-hosted ML platform. But the engine works standalone in a notebook too:

from pycaret.datasets import get_data
from pycaret.tasks import ClassificationExperiment

df = get_data("juice")
exp = ClassificationExperiment(target="Purchase", session_id=42).fit(df)
best = exp.compare_models().best
exp.save_model(best, "baseline")

Status

4.0.0a1 on PyPI. Published wheel name: pycaret. See the repo root docs/revamp/STATUS.md for the programme-wide status and docs/revamp/ROADMAP.md for what's next.

Layout

packages/engine/
├── pyproject.toml       # builds the `pycaret` wheel
├── pycaret/             # the package
│   ├── api/             # list_models, describe_model, describe_setup_params
│   ├── core/            # Experiment base class + results + errors
│   ├── tasks/           # 5 task subclasses (classification/regression/...)
│   ├── logging/         # BaseLogger + events + MemoryLogger
│   ├── containers/      # model-registry containers (legacy, being drained)
│   └── internal/        # god-class (being drained verb-by-verb — Phase 5)
├── tests/               # pytest suite (32 tests)
└── README.md            # this file

Dev

From the repo root:

uv sync --all-packages --all-extras          # all workspace members + extras
uv run pytest packages/engine/tests/ -q      # 32 engine tests

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycaret-4.0.0a5.tar.gz (237.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycaret-4.0.0a5-py3-none-any.whl (298.2 kB view details)

Uploaded Python 3

File details

Details for the file pycaret-4.0.0a5.tar.gz.

File metadata

  • Download URL: pycaret-4.0.0a5.tar.gz
  • Upload date:
  • Size: 237.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pycaret-4.0.0a5.tar.gz
Algorithm Hash digest
SHA256 f9850719af488ad4076cd86c7d3593a9f636da3dab2884df412b1aa56d9f6edf
MD5 a986c65e6ed2c9630c3238da82e1f8e4
BLAKE2b-256 5b0d1fbafcb0d4feeb91e00dfc3c9c40fb24e67f0ac5054c526ce97bc97f14f2

See more details on using hashes here.

File details

Details for the file pycaret-4.0.0a5-py3-none-any.whl.

File metadata

  • Download URL: pycaret-4.0.0a5-py3-none-any.whl
  • Upload date:
  • Size: 298.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pycaret-4.0.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 9a28224027fd53dbba64e765176a14bc2adf8f803206aa17b1d48e6a6e3007a9
MD5 1a49ee8b5463e4be51e5f769953fdb56
BLAKE2b-256 4db4338bf76268352ca13d82e75af31005262c21233f0ca7f305b5e86066152e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page