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: PyCaret 3.0-rc is now out. pip install --pre pycaret

OfficialDocsInstallTutorialsFAQsCheat sheetDiscussionsContributeResourcesBlogLinkedInYouTubeSlack

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: Official Blog Tutorials and articles by contributors.
:books: Documentation The detailed API docs of PyCaret
:tv: Video Tutorials Our video tutorial from various events.
✈️ Cheat sheet Cheat sheet for all functions across modules.
: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 Time Series Module

PyCaret time series module is now available with the main pycaret installation. 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).

Important Links
:star: Time Series Quickstart Get started with Time Series Analysis
:books: Time Series Notebooks New to Time Series? Checkout our official (detailed) notebooks!
:tv: Time Series Video Tutorials Our video tutorial from various events.
:question: Time Series FAQs Have questions? Queck out the FAQ's
:hammer_and_wrench: Time Series API Interface The detailed API interface for the Time Series Module
:deciduous_tree: Time Series Features and Roadmap PyCaret's software and community development plan.

Installation

pip install --pre pycaret

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 GPU support

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

PyCaret Intel sklearnex support

You can apply Intel optimizations for machine learning algorithms and speed up your workflow. To train models with Intel optimizations use sklearnex engine. There is no change in the use of the API, however, installation of Intel sklearnex is required:

pip install scikit-learn-intelex

License

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

Contributors

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pycaret-3.0.0rc5-py3-none-any.whl (501.4 kB view details)

Uploaded Python 3

File details

Details for the file pycaret-3.0.0rc5-py3-none-any.whl.

File metadata

  • Download URL: pycaret-3.0.0rc5-py3-none-any.whl
  • Upload date:
  • Size: 501.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for pycaret-3.0.0rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 d22a1c823712b580474b5ec758e9ff745e289355a588b52bff70902ebebda9b1
MD5 3428c1f2b9805ce8e79cdc4a73740cfc
BLAKE2b-256 3a7f59179e74ccf29bbdb06587918429273c4ca3185eb899cf43da4d37037ad4

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