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

How to hide Log info in Pycaret using Google Colab?

I would like to hide the log info below when I run any code in Pycaret using Google Colab. compare_models() I've tried passing the parameter verbose = False, but no difference. I've also tried: import…
unstuck
  • 563
  • 2
  • 12
  • 29
0
votes
0 answers

Error while trying to use Pycaret.regression AttributeError: 'OneHotEncoder' object has no attribute 'get_feature_names'

I am currently trying to use the pycaret library in order to identify the best model for my data, however, I am getting this error message "AttributeError: 'OneHotEncoder' object has no attribute 'get_feature_names'" This is the code that I am…
0
votes
0 answers

AttributeError: 'XGBCdsDtContainer' object has no attribute 'logger' error when running pycaret setup()

I am new to pycaret and am trying out the timeseries analysis to create a forecasting model in relation to historical transaction data. I want to try out pycaret to see what type of model would best fit this datasample. When running the setup, I get…
0
votes
2 answers

How to install pycaret on Python 3.10?

I am trying to install pycaret and it's showing below error: customize IntelVisualFCompiler Could not locate executable ifort Could not locate executable ifl customize AbsoftFCompiler Could not locate executable f90 customize…
Ismail
  • 1
  • 1
0
votes
0 answers

What causes my conda environment to prefer .local packages *before* the conda packages, causing errors?

I'm trying to run automatic machine learning model benchmarking code from the pycaret python package, which in its turn uses scikit-learn, among others. However, my conda environment seems to run the scikit-learn dependency installed in the .local…
Sander Vanden Hautte
  • 2,138
  • 3
  • 22
  • 36
0
votes
1 answer

Pycaret throwing KeyError: 'UNSUPERVISED_DUMMY_TARGET' while running unsupervised anomaly detection on databricks notebook

Error Screenshot I am trying to run setup function in pycaret==2.3.5 on python version 3.8.10 on databricks notebook and its showing the above error. The same code is running fine on the local system but not on databricks. Can anyone help on this? I…
0
votes
2 answers

Trying to install PyCaret

I am trying to install PyCaret[full] on a new machine. within an environment, I got the below error. Doesn't seem to be much information around it! Here is the packages in the environment: # Name Version Build …
Sam.H
  • 193
  • 2
  • 14
0
votes
1 answer

Time-series module in Pycaret: ValueError: You must pass a freq argument as current index has none

I'm practice pycaret.time_series alpha module but I have this problem . Can anyone help? I use Walmart Dataset and try to groupby Date to make average of Weekly_Sales amoung stores and forcast Weekly_Sales in next 14 days but it didn't work import…
0
votes
1 answer

Can't use Setup() function in PyCaret: ValueError: One and only one of data and data_func must be set

I run the code below and it produces the ValueError above and I can't figure out why. I have a different virtual environment where it works just fine where the only difference is I installed PyCaret with "pip install pycaret" instead. I used the…
0
votes
3 answers

In PyCaret getting error:"ValueError: Cannot cast object dtype to float64"

While using PyCaret's ML capabilities I am facing the following error. The ML Code I am using: if choice == "ML": st.title("Your Machine Learning Process Starts Here!") target = st.selectbox("Select Your Target", df.columns) setup(df,…
Daremitsu
  • 545
  • 2
  • 8
  • 24
0
votes
1 answer

In Jupyter notebook pyCarete predict_model (estimator) displays the metrics like MAE, RMSE in the cell, But not able to access it

In Jupyter notebook pyCarete, predict_model (estimator) displays the metrics like MAE, RMSE in the cell, But is not able to access it. I need to assign it to a variable so I can use it in the future
Naji Aboo
  • 11
  • 1
  • 6
0
votes
0 answers

Correcting Pycaret Anomaly Detection Setup Error

I am using pycaret for anomaly detection. But I cannot successfully setup the pycaret environment without it throwing up an error. I am using mice data from pycaret module. My code is show below: # import dataset from pycaret.datasets import…
Idiaye
  • 39
  • 8
0
votes
0 answers

ValueError and AttributeError in Pycaret

I am using pycaret in my new laptop and also after a gap 6 months so not sure if this problem is due to some issue in my laptop or due to some changes in pycaret package itself. Earlier I simply used to create experiment using setup method of…
Manish
  • 130
  • 1
  • 12
0
votes
0 answers

Plotly Express is showing a blank space placeholder as graphic

I am using the Full Docker version of PyCaret. I am running it in an azure web app for containers. After reading similar questions: plotly express sunburst plot complete blank Plotly Express Scatter_Mapbox Returns Blank I tried to plot simple…
Yarini
  • 1
0
votes
0 answers

Pycaret setup for one hot encoding

I'm stuck in a problem with one hot encoding for categorical variables in Pycaret. The problem is that even setting my categorical variables, the pipeline apply normalization to categorical variables, and I have no idea what I'm doing wrong. At…