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 anomaly detection setup: ValueError: Setting a random_state has no effect since shuffle is False

I have recently transitioned from R to python, and I am not sure how to problem solve the following. When I run the setup for pycaret anomaly detection, following the instructions that can be found here, on my own data I get the following error. #…
Comte
  • 159
  • 1
  • 10
0
votes
1 answer

Pycaret Model Performance Reducing after Hyper parameter tuning

I'm trying to train model using pycaret and noticed many times that Model performance reduces after Hyperparameter tuning. I have attached an image showing how i'm trying to tuning. Can any one suggest what i'm doing wrong? Thanks in advance!
0
votes
1 answer

Weird Time-Series Graph Using Pycaret and plotly

I am trying to visualize Air Quality Data as time-series charts using pycaret and plotly dash python libraries , but i am getting very weird graphs, below is my code: import pandas as pd import plotly.express as px data = pd.read_csv('E:/Self…
eirsh
  • 11
  • 4
0
votes
1 answer

What are the optimal parameters for the pycaret function setup?

Used in Pycaret's preprocessing function setup () Please tell me the recommended parameters. Depending on the type of input data How parameters Should I change it? For example, by classification, regression, clustering Should I change the…
0
votes
1 answer

Creating 12 month MA in PyCaret time series gives a column with NA values

I am trying to use PyCaret for time series, according to this tutorial. My analysis did not work. When I created a new column data['MA12'] = data['variable'].rolling(12).mean() I got this new MA12 column with NA values only. As a resulted I decided…
Anakin Skywalker
  • 2,400
  • 5
  • 35
  • 63
0
votes
1 answer

What does the Anomaly_Score in Pycaret.anomaly library mean?

If we use the assign_model() function from pycaret.anomaly library we get a dataframe with two additional columns Anomaly and Anomaly_Score as output. What does the Anomaly_Score column mean in this dataframe and how is its value calculated?
codeczar
  • 273
  • 1
  • 8
  • 22
0
votes
1 answer

Unable to Access Flask App URL within Google Colab getting site not available

I have created a Flask prediction app (within Google Colab) and when I am trying to run it post adding all the dependencies within the colab environment I am getting the url but when I click on it it show site cannot be reached. I have the Procfile,…
0
votes
1 answer

Problem on installing Pycaret Full on Google Colab

I'm trying to install Pycaret Full on my Google Colab: pip install pycaret[full] But it's taking too long (over 6h) and it doesn't finish...
Ney
  • 11
  • 1
  • 3
0
votes
5 answers

Error with from pycaret.classification import *

When I tried to run from pycaret.classification import * I received this error: ImportError Traceback (most recent call last) in () ----> 1 from pycaret.classification import * 8 frames …
Bob Hoyt
  • 61
  • 4
  • 9
0
votes
1 answer

pycaret multiclass classification returns numbers, how can I get the labels?

I trained a model with pycaret (v2.3.0) like this: setup(df_train, target='y', fold_shuffle=True, silent=True) model = create_model('rf') model.predict(df_valid) > array([21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,…
Soerendip
  • 7,684
  • 15
  • 61
  • 128
0
votes
1 answer

Unable to install sklearn 0.23.2 with pip 20.2.4 and python 3.9

I cant use higher version of pip other than 20.2.4, since some SSL certification errors are occuring in higher versions and cannot reinstall any settings I have now (because of some office setup). Now I am using Pycaret and currently it supports…
DOT
  • 309
  • 2
  • 11
0
votes
1 answer

Error while running compare models in Pycaret 2.2 on Rapids 0.19 environment(CONDA)

I am facing this issue for RandomForestRegressor while comparing models.My Pycaret version is Pycaret2.2 and it is running in Rapids-0.19 Environment.enter image description here.
samael247
  • 11
  • 2
0
votes
1 answer

How to deal with Pycaret's adding extra features while modelling? (For reusing the model)

After importing Pycaret I called setup(mydf, 'mytarget') and run compare_models(). Then, I wanted to save a model from the comparison list and use it on another dataset. What I did was something like: lr = create_model('lr'). However, when I try…
Xfce4
  • 557
  • 5
  • 28
0
votes
1 answer

select specific columns to normalize in Pycaret

How to select specific columns, in the Pycaret setup function, to normalization? I would not like to apply the normalization function to my entire dataframe, just a few columns.
gveronese
  • 35
  • 5
0
votes
1 answer

Want to print out DataFrame after applying the pycaret setup changes

How to print the data frame after "pycaret setup".That is after applying the one-hot encoder and other changes