PyCaret 2.3.6 is Here! Learn What’s New?
PyCaret 2.3.6 is Here! Learn What’s New? From EDA to Deployment to AI Fairness — By far the biggest release of PyCaret
Last updated
Was this helpful?
PyCaret 2.3.6 is Here! Learn What’s New? From EDA to Deployment to AI Fairness — By far the biggest release of PyCaret
Last updated
Was this helpful?
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.
By far PyCaret 2.3.6 is the biggest release in terms of the new features and functionalities. This article demonstrates the use of new functionalities added in the recent release of .
Installation is easy and will only take a few minutes. PyCaret’s default installation from pip only installs hard dependencies as listed in the file.
To install the full version:
This function will generate the interactive dashboard for a trained model. The dashboard is implemented using the .
Video Demo:
Video Demo:
This function will transpile trained machine learning models into native inference scripts in different programming languages (Python, C, Java, Go, JavaScript, Visual Basic, C#, PowerShell, R, PHP, Dart, Haskell, Ruby, F#). This functionality is very useful if you want to deploy models into environments where you can’t install your normal Python stack to support model inference.
Video Demo:
Video Demo:
This function will create a Dockerfile
and requirements
file for your API end-point.
Video Demo:
Video Demo:
Video Demo:
plot_model
function is PyCaret is now more configurable. For example, previously if you wanted to see percentages in Confusion Matrix instead of absolute numbers, it wasn’t possible, or if you want to change the color map of visuals, it wasn’t possible. Now it is possible with the new parameter plot_kwargs
in the plot_model
function. See example:
This is not a new function but it was completely revamped in 2.3.6. This function is to optimize the probability threshold for binary classification problems. Previously you had to pass cost function as true_positive
, false_positive
, true_negative
, false_negative
in this function and now it automatically picks up all the metrics including the custom ones from your active experiment run.
The biggest and hardest of all is the completely new documentation. This is a single source of truth for everything related to PyCaret, from official tutorials to release notes and from API ref to community contributions. Take a video tour:
Finally, if you want to take the tour of all new functionalities added in 2.3.6, watch this 10 minutes video:
Thank you for reading.
This function will generate automated EDA using the integration.
There are many approaches to conceptualizing fairness. This new function follows the approach known as , which asks: Which groups of individuals are at risk for experiencing harm. This function provides fairness-related metrics between different groups (also called subpopulations).
This function will create a POST API for the ML pipeline for inference using framework. It only creates the API and doesn’t run it automatically.
This function creates a basic web app for inference. It will later be expanded for other app types such as Streamlit.
A new parameter called drift_report
is added to the predict_model
function that generates the drift report using framework. At the moment this functionality is in experimental mode and will only work on test data. Later on, it will be expanded for production use.
To learn about all the other changes, bug fixes, and minor updates in PyCaret 2.3.6, check out the detailed .
📚 The bible of PyCaret. Everything is here.
🌐 Check out our official website
😺 Check out our Git
⭐ New to PyCaret? Check out our official notebooks!
📋 created by the community.
📙 Tutorials and articles by contributors.
❓ Check out frequently asked questions.
📺 Our video tutorial from various events.
📢 Have questions? Engage with community and contributors.
🛠️ Changes and version history.
🙌 Join our Meetup user group.