Release: PyCaret 2.2.1 | Release Date: November 09, 2020 (SEVERAL BUGS FIX)
Post-release 2.2
, the following issues have been fixed:
- Fixed
plot_model = 'tree'
exceptions. - Fixed issue with
predict_model
causing errors with non-contiguous indices. - Fixed issue with
remove_outliers
parameter in thesetup
function. It was introducing extra columns in training data. The issue has been fixed now. - Fixed issue with
plot_model
inpycaret.clustering
causing errors with non-contiguous indices. - Fixed an exception when the model was saved or logged when
imputation_type
is set to 'iterative' in thesetup
function. compare_models
now prints intermediate output whenhtml=False
.- Metrics in
pycaret.classification
for binary classification are now calculated withaverage='binary'
. Before they were a weighted average of positive and negative class, now they are just calculated for positive class. For multiclass classificationaverage='weighted'
. optimize_threshold
now returns optimized probability threshold value as numpy object.- Fixed issue with certain exceptions in
compare_models
. - Added
profile_kwargs
argument in thesetup
function to pass keyword arguments to Pandas Profiler. plot_model
,interpret_model
, andevaluate_model
now accepts a new parameteruse_train_data
which when set to True, generates plot on train data instead of test data.