Questions tagged [pycaret]

Use this tag for questions regarding the use of the PyCaret machine learning library.

PyCaret is an open source, low-code machine learning library for Python.

Official website of PyCaret

230 questions
1
vote
0 answers

Problems using PyCaret for time series

I am new to python and want to use Pycaret to analyze time series. I created a conda environment and installed pycaret via conda install pycaret-ts-alpha. But then, when I want to execute from pycaret.time_series import * I get the following…
1
vote
0 answers

Update PyCaret Anomaly detection Model

I'm detecting anomalies in a time series data using pycaret. I'm taking in the data at every call, detecting and returning it. Everything is fine, but when coming to improving the performance, I'm planning to load the saved model, re-train it with…
1
vote
2 answers

How to save the model comparison dataframe from compare_models() in pycaret?

I want to save the model comparison data frame from compare_models() in pycaret. # load dataset from pycaret.datasets import get_data diabetes = get_data('diabetes') # init setup from pycaret.classification import * clf1 = setup(data = diabetes,…
Johnny Tam
  • 423
  • 4
  • 16
1
vote
3 answers

setup() got an unexpected keyword argument 'silent'

I Have been trying to use PyCaret library, but when I use the function setup() as shown in my code, it gives me an error of unexpected keyword argument. I have been trying to set argument silent to be True. from pycaret.clustering import * …
1
vote
0 answers

How to extract Tp,Tn,Fp and Fn from PyCaret

Can i extract Tp,Tn,Fp and Fn as numbers from confusion matrix with PyCaret or they are only given as plot?
Dmilo6
  • 11
  • 1
1
vote
1 answer

I'm having this error with pycaret: module 'xgboost' has no attribute '__version__'

File ~\mlenv\lib\site-packages\pycaret\containers\models\regression.py:1448, in XGBRegressorContainer.init(self, globals_dict) 1445 self.active = False 1446 return -> 1448 if version.parse(xgboost.version) < version.parse("1.1.0"): 1449 …
1
vote
1 answer

Pycaret cannot imported due to another import error

ImportError: cannot import name '_joblib_parallel_args' from 'sklearn.utils.fixes' (c:\users\ezgi\appdata\local\programs\python\python38\lib\site-packages\sklearn\utils\fixes.py) To fix I update sklearn library. But, it don't work. Anyone know the…
MrsHelios
  • 15
  • 5
1
vote
2 answers

Error when installing pycaret (jinja2) on Colab

I'm trying to use pyCaret on Colab. This is the setup: !pip install pycaret from pycaret.classification import * grid = setup(data=s, target=s.columns[-1], html=False, silent=True, verbose=False) best_model = compare_models() However, I get this…
GoT GOt
  • 49
  • 1
  • 9
1
vote
0 answers

Jinja2 not found error when using pycaret

I am trying this code in Google Colab !pip install pycaret As part of the install it gives this message Installing collected packages: jinja2 Attempting uninstall: jinja2 Found existing installation: Jinja2 3.1.2 Uninstalling…
1
vote
1 answer

how to view the transformed data in pycaret?

I have been following the "diamond" data example here https://pycaret.gitbook.io/docs/learn-pycaret/official-blog/easy-mlops-with-pycaret-and-mlflow s = setup(data, target = 'Price', transform_target = True, # tell PyCaret to…
user3188040
  • 671
  • 9
  • 24
1
vote
3 answers

Output for PyCaret compare_models() function shows less models than PyCaret models supported

New on PyCaret, I don't understand several things about this library: According to this tutorial, https://github.com/pycaret/pycaret/blob/master/tutorials/Regression%20Tutorial%20Level%20Beginner%20-%20REG101.ipynb there are 25 regressors available…
Theo75
  • 477
  • 4
  • 14
1
vote
1 answer

How to extract class labels from pycaret setup?

Using pycaret 2.3.10 for a multi-class problem. from pycaret.classification import * ... config = setup(X_null, 'YEAR', silent=True, fold=5, use_gpu=True, ) How can I extract the class labels? I know the classes, but I don't know the order that…
Soerendip
  • 7,684
  • 15
  • 61
  • 128
1
vote
2 answers

Pycaret classification.compare_models does not display results grid

From the documentation and tutorials for pycaret, I expect the classification.compare_models() function to return a grid such as... Model Accuracy AUC Recall Prec. F1 Kappa MCC TT (Sec) 0 Naive…
radshop
  • 602
  • 5
  • 19
1
vote
1 answer

How can i fix Pycaret installation error in kaggle?

Im working from my jobs laptop but i have the same problem with my particular computer. I cant find any solution for this! Any help? I tried installing and uninstalling pycaret and tensorflow, i tried conda and pip, and even in the kaggle notebook…
1
vote
3 answers

How to download pipeline code from Pycaret AutoML into .py files?

PyCaret seems like a great AutoML tool. It works, fast and simple and I would like to download the generated pipeline code into .py files to double check and if needed to customize some parts. Unfortunately, I don't know how to make it real.…
Ivan Shelonik
  • 1,958
  • 5
  • 25
  • 49