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

What is underscore in Feature importance plot made by pycaret

Please see the following Feature importance plot that I made using pycaret. On Y axis, I see two Features named with underscores, C362_165 and C359_95. I don't have any column with these names in my pandas dataframe. My columns are simply named as…
ST24
  • 141
  • 7
0
votes
1 answer

How to resolve PyCaret error : No matching distribution found for sktime~=0.11.4

I am receiving following error while I am trying to deploy app based on streamlit in heroku. ERROR: No matching distribution found for sktime~=0.11.4 I have referred various forums but could not find a solution. PyCaret version I have is…
0
votes
1 answer

xGBoost and Catboost in pycaret

I'm going to use pycaret for a regression problem. Although according to its tutorials (here: regression tutorial/ beginner level ) models such as xgboost and catboost are available in the package, I can not recall them in my colab environment. How…
savasci
  • 23
  • 4
0
votes
0 answers

Pycaret and cross_val_score show extremely different scores

I'm trying to get the best model for a regression with pycaret s=setup(train,target="PUE",fold=5 ,data_split_shuffle=False) best = compare_models() Whereas cross_val_score gives : How can the scores be so dramatically different ?
Allyg
  • 11
  • 2
0
votes
0 answers

Pycaret optimal threshold too low

I am working on binary classification problems, and using pycaret to try out different methods. All my problems are imbalanced, so one class is typically around 10% of the data. When I use pycaret to pick a threshold which optimizes for say f1, I…
0
votes
0 answers

Downloaded artifact from MLFlow output error

Model was first logged to mlflow using pycaret from pycaret.regression import * s = setup(df_cleaned, target = 'SalePrice', use_gpu = True, categorical_features = categorical_features_cleaned, handle_unknown_categorical =…
John Jam
  • 185
  • 1
  • 1
  • 17
0
votes
2 answers

How to solve packages dependency when install pycaret package?

I created a environment, and install pycaret package like this. conda create -n env_pycaret python=3.10.* pip ipykernel conda activate env_pycaret and install from conda with command following. It's run for longtime, I don't see it stop. conda…
BinhNN
  • 87
  • 7
0
votes
1 answer

What is the source of ValueError in pycaret and how to solve it?

I have a dataframe comprised of 11 columns one of which, Weekday, is categorical. columns = ['Series' 'Year' 'Month' 'Day' 'Weekday' 'Number1' 'Number2' 'Number3' 'Number4' 'Number5' 'Number6'] Since data originally was given as a timeseries…
Rebel
  • 472
  • 8
  • 25
0
votes
2 answers

PyCaret Anomaly setup() is not working (ATTRIBUTE ERROR)

I am trying to follow a tutorial to perform Anomaly Detection in PyCaret. While running setup(), I keep getting this error: AttributeError: 'DataFrame' object has no attribute 'unique' This error happens anytime I have a categorical variable in the…
vraka0723
  • 5
  • 2
0
votes
1 answer

How to get regression equation?

I am using PyCaret for comparison of regression models on my data. After blending of the top 3 models, how can I get the final regression equation(model) of the blender? Please help!!
0
votes
1 answer

Pycaret plot_model() font(thai language) did not support

Pycaret plot_model() did not support thai font(thai language) on matplotlibs. How to fix this issue? plot_model() font missing Thank you. ps. On my df, It's can read thai font as encoding = 'utf-8-sig' already. ps2. I also use this code but not…
0
votes
1 answer

how to hide INFO in cells outputs in google colab

How do I hide info in output cells in Google Colab and only show the result of the code and not the INFO lines?
0
votes
1 answer

PyCaret installation

I encountered an error while installing the PyCaret package . ERROR: numba 0.54.1 has requirement numpy<1.21,>=1.17, but you'll have numpy 1.22.4 which is incompatible. ERROR: imageio 2.21.1 has requirement pillow>=8.3.2, but you'll have pillow…
0
votes
1 answer

Cannot make out this difference in pycaret

What is the difference when you install pycaret by !pip install -U --pre pycaret and !pip install pycaret[full]. I find a lot of differnce wrt parameters being supported. For example for classsification the former does not support feature_interation…
Scope
  • 727
  • 4
  • 15
0
votes
1 answer

Pycaret MlFlow authentication

How can I use log_environment = True in Pycaret setup with import os import mlflow mlflow.set_tracking_uri("https://dagshub.com/BexTuychiev/pet_pawpularity.mlflow") os.environ["MLFLOW_TRACKING_USERNAME"] = "MLFLOW_TRACKING_USERNAME"…
Green
  • 695
  • 2
  • 9
  • 21