![drawing](https://raw.githubusercontent.com/dubeyakshat07/pycaret/master/docs/images/logo.png)
An open-source, low-code machine learning library in Python
🚀 PyCaret 3.0-rc is now out. pip install --pre pycaret
Official • Docs • Install • Tutorials • FAQs • Cheat sheet • Discussions • Contribute • Resources • Blog • LinkedIn • YouTube • Slack
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 | |
---|---|
⭐ Tutorials | New to PyCaret? Checkout our official notebooks! |
📋 Example Notebooks | Example notebooks created by community. |
📙 Official Blog | Tutorials and articles by contributors. |
📚 Documentation | The detailed API docs of PyCaret |
📺 Video Tutorials | Our video tutorial from various events. |
Cheat sheet for all functions across modules. | |
📢 Discussions | Have questions? Engage with community and contributors. |
🛠️ Changelog | Changes and version history. |
🌳 Roadmap | PyCaret's software and community development plan. |
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]
pip install --pre pycaret
Classification | Regression |
---|---|
![]() |
![]() |
Clustering | Anomaly Detection |
---|---|
![]() |
![]() |
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.
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 is completely free and open-source and licensed under the MIT license.