Skip to main content

PyCaret - An open source, low-code machine learning library in Python.

Project description

drawing

An open-source, low-code machine learning library in Python
:rocket: Version 2.3.5 out now! Check out the release notes here.

OfficialDocsInstallTutorialsDiscussionsContributeResourcesMediumLinkedInYouTubeSlack

Python pytest on push Documentation Status PyPI version License

Slack

alt text

Welcome to PyCaret

PyCaret is an open-source, low-code machine learning library in Python that automates machine learning workflows. It is an end-to-end machine learning and model management tool that speeds up the experiment cycle exponentially and makes you more productive.

In comparison with the other open-source machine learning libraries, PyCaret is an alternate low-code library that can be used to replace hundreds of lines of code with few lines only. This makes experiments exponentially fast and efficient. PyCaret is essentially a Python wrapper around several machine learning libraries and frameworks such as scikit-learn, XGBoost, LightGBM, CatBoost, spaCy, Optuna, Hyperopt, Ray, and few more.

The design and simplicity of PyCaret are inspired by the emerging role of citizen data scientists, a term first used by Gartner. Citizen Data Scientists are power users who can perform both simple and moderately sophisticated analytical tasks that would previously have required more technical expertise.

Important Links
:star: Tutorials New to PyCaret? Checkout our official notebooks!
:clipboard: Example Notebooks Example notebooks created by community.
:orange_book: Blog Tutorials and articles by contributors.
:books: Documentation The detailed API docs of PyCaret
:tv: Video Tutorials Our video tutorial from various events.
:loudspeaker: Discussions Have questions? Engage with community and contributors.
:hammer_and_wrench: Changelog Changes and version history.
:deciduous_tree: Roadmap PyCaret's software and community development plan.

Installation

PyCaret's default installation only installs hard dependencies as listed in the requirements.txt file.

pip install pycaret

To install the full version:

pip install pycaret[full]

Supervised Workflow

Classification Regression

Unsupervised Workflow

Clustering Anomaly Detection

PyCaret ⚡NEW⚡ Time Series Module

PyCaret new time series module is now available in beta. Staying true to simplicity of PyCaret, it is consistent with our existing API and fully loaded with functionalities. Statistical testing, model training and selection (30+ algorithms), model analysis, automated hyperparameter tuning, experiment logging, deployment on cloud, and more. All of this with only few lines of code (just like the other modules of pycaret). If you would like to give it a try, checkout our official quick start notebook.

:books: Time Series Docs

:question: Time Series FAQs

:rocket: Features and Roadmap

The module is still in beta. We are adding new functionalities every day and doing weekly pip releases. Please ensure to create a separate python environment to avoid dependency conflicts with main pycaret. The final release of this module will be merged with the main pycaret in next major release.

pip install pycaret-ts-alpha

alt text

Who should use PyCaret?

PyCaret is an open source library that anybody can use. In our view the ideal target audience of PyCaret is:

  • Experienced Data Scientists who want to increase productivity.
  • Citizen Data Scientists who prefer a low code machine learning solution.
  • Data Science Professionals who want to build rapid prototypes.
  • Data Science and Machine Learning students and enthusiasts.

PyCaret on GPU

With PyCaret >= 2.2, you can train models on GPU and speed up your workflow by 10x. To train models on GPU simply pass use_gpu = True in the setup function. There is no change in the use of the API, however, in some cases, additional libraries have to be installed as they are not installed with the default version or the full version. As of the latest release, the following models can be trained on GPU:

  • Extreme Gradient Boosting (requires no further installation)
  • CatBoost (requires no further installation)
  • Light Gradient Boosting Machine requires GPU installation
  • Logistic Regression, Ridge Classifier, Random Forest, K Neighbors Classifier, K Neighbors Regressor, Support Vector Machine, Linear Regression, Ridge Regression, Lasso Regression requires cuML >= 0.15

License

PyCaret is completely free and open-source and licensed under the MIT license.

Contributors

Project details


Download files

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

Source Distribution

pycaret-ts-alpha-3.0.0.dev1646098008.tar.gz (455.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file pycaret-ts-alpha-3.0.0.dev1646098008.tar.gz.

File metadata

  • Download URL: pycaret-ts-alpha-3.0.0.dev1646098008.tar.gz
  • Upload date:
  • Size: 455.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pycaret-ts-alpha-3.0.0.dev1646098008.tar.gz
Algorithm Hash digest
SHA256 d069570b8da1cfeccad75616427aba33530a146a41f19e4de834e7286b8a3dc8
MD5 3e19980e9aeee637496da97fedd9ad67
BLAKE2b-256 206da718af93807bc2f88247d31748adcd10ca1e03d3b83a80066727c50b5e47

See more details on using hashes here.

File details

Details for the file pycaret_ts_alpha-3.0.0.dev1646098008-py3-none-any.whl.

File metadata

  • Download URL: pycaret_ts_alpha-3.0.0.dev1646098008-py3-none-any.whl
  • Upload date:
  • Size: 520.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for pycaret_ts_alpha-3.0.0.dev1646098008-py3-none-any.whl
Algorithm Hash digest
SHA256 b6594292de87e370cf125515774efc77f094bf05faa344575db76cc611168c24
MD5 608d483d640d9b1150b55d17cec75726
BLAKE2b-256 16da1a0ec53cef3cb20a69a7fb359cc7596c166fc08b99e9e333f390127997b8

See more details on using hashes here.

Supported by

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