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
0
votes
1 answer

Pycaret - whats is the parameter for custom grid of tune model

I was trying to set parameters for tune_model function's custom_grid tune_model(model, n_iter=50, custom_grid={'learning_rate':0.5}) and it will give me this error Parameter value is not iterable or distribution I have to pass a list to learning…
0
votes
1 answer

Pycaret installtion error on Windows VM (AWS)

I have been trying to install pycaret (ML library in python) on windows vm hosted on aws. This library installs all the pre requisite libraries for doing ML such as numpy, pandas, sklearn, etc, etc. However, when I am trying to install it on Windows…
0
votes
1 answer

DataframeIndex duplicated values found when they don't exist

I have the following dataset where the index is DatetimeIndex and the column "value" is made of floats. The index: creationDate contains only information of the day 2020-06-13. df df[df.index.duplicated()] The day is the same but not the hour or…
a.civit
  • 36
  • 4
0
votes
1 answer

Pycaret plot_model() visualize graph not properly

When I used plot_model() on Pycaret in Colabs, I got unusable graph like this. My graph How I can use zoom slicing on my graph like this? They just using normal plot_model() and got zoom slicing feature. Zoom slicing Thank you.
0
votes
1 answer

when use eda(display_format = 'bokeh') from pycaret with jupyterlab ,the bokeh plot cannot change by selecting different var

when use eda(display_format = 'bokeh') from pycaret with jupyterlab ,the bokeh plot cannot change by selecting different var.But it run smoothly in notebook.the plot like this
mana19
  • 1
  • 1
0
votes
0 answers

How to properly apply a sklearn pipeline to new data, two different setups tested

I used the package pycaret to create a pipeline for my dataset. Now I want to use this pipeline and apply it to my own train and test splits that I create from the data. OneHotEncoding is one of the steps in my pipeline. Because of this, the…
Jeroen Vermunt
  • 672
  • 1
  • 6
  • 19
0
votes
2 answers

ERROR: Could not build wheels for scikit-learn which use PEP 517 and cannot be installed directly

While I running this command on command prompt pip install pycaret I am getting this error: ERROR: Could not build wheels for scikit-learn which use PEP 517 and cannot be installed directly I already tried pip install pep517 and pip install…
AndaConda
  • 1
  • 1
  • 3
0
votes
1 answer

STD and MAE when cross validating

I´m using PyCaret to train a model that will predict the temperature in a device. The idea is that, if the real temperature is higher than the predicted temperature, it should send an alarm to check if everything is working properly in the…
0
votes
3 answers

Pycaret predict error in multiclassification using Colab

I'm using the Pycaret library in Colab to make a simple prediction on this dataset: https://www.kaggle.com/andrewmvd/fetal-health-classification When i run my code: from pycaret.utils import enable_colab enable_colab() from google.colab import…
0
votes
1 answer

Binary classification(label 0 &1), which one is considered to be 'positive' when calculating recall, precision etc.?

When using pycaret to do binary classification (label 0 and 1), which one is considered to be 'positive' when calculating recall, precision etc.? For example, I'm trying to build a model to predict if a patient have a certain disease(0-negative,…
Biggie
  • 1
0
votes
1 answer

Is there a way to reduce down the size of the pickle file for PyCaret models?

I tried to compress a pickle file representing a PyCaret model. import joblib joblib.dump('my_file.pkl', 'new_file.pkl.z',compress=3) The above code didn't work. How can I reduce the size of a pickle file for PyCaret models?
Jeong Kim
  • 481
  • 3
  • 9
  • 21
0
votes
1 answer

OSError Traceback (most recent call last) for PyCaret

Using PyCaret for the first time. Installed Anacoda using command line and then install PyCaret inside the Jupyter Notebook. PyCaret installed is successful because this following code works: from pycaret.datasets import get_data jewellery =…
0
votes
1 answer

pycaret.anomaly.compare_models() not working; "no attribute 'compare_models'", "'compare_models' is not defined"

I have tried using the compare_models() function for anomaly detection in PyCaret, but it always gives me the following error: AttributeError Traceback (most recent call last) in…
eb_777
  • 1
  • 1
0
votes
1 answer

Pycaret models() method throw NameError

If I try to execute: from pycaret.regression import * models() I get the following error: Traceback (most recent call last): File "", line 1, in File "/home/user/.local/lib/python3.8/site-packages/pycaret/regression.py", line 2088, in models return…
EanX
  • 475
  • 4
  • 21
0
votes
1 answer

KeyError: "['age'] not in index"

I am trying to create a model for the classification categorical_features=['sex','cp','fbs','restecg','exang','thal'] I have columns in pandas data frame like df.columns Index(['age', 'sex', 'cp', 'trestbps', 'chol', 'fbs', 'restecg', 'thalach', …
PlutoSenthil
  • 332
  • 6
  • 13