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
2 answers

Pycaret does't well manage multicollinearity

I have a Panda Dataframe df in input to Pycaret library. So the df has : 3 categoricals variables: LIB_SOURCE : values: 'arome_001', 'gfs_025' and 'arpege_01' MonthNumber : values from 1 to 12 origine : 'Sencrop' and 'Visiogreen'…
Theo75
  • 477
  • 4
  • 14
1
vote
1 answer

is test data used in Pycaret time series(beta) completely unseen by the model(s)?

Post checking official documentation and example, I am still confused if test data passed to the setup function is completely unseen by the model??? from pycaret.datasets import get_data from pycaret.internal.pycaret_experiment import…
nikn8
  • 1,016
  • 8
  • 23
1
vote
2 answers

Pycaret : "AttributeError: 'Simple_Imputer' object has no attribute 'target_variable'"

I've created a clean conda enviroment with Python 3.7: conda create -n pycaret python=3.7 Then I installed pycaret: pip install pycaret[full] I opened jupyter Notebook from the conda prompt, and followed the first tutorial from here:…
1
vote
0 answers

Pycaret - How to tune data preprocessing steps?

It's easy to tune model hyperparameters in pycaret with tune_model but how are you supposed to tune the data preprocessing hyperparameters? You need to call setup before you create a model but it is in setup where you define these values. Let's say…
codeananda
  • 939
  • 1
  • 10
  • 16
1
vote
0 answers

'Make_Time_Features' object has no attribute 'list_of_features'

I am attempting to run the Pycaret (2.2.3) module in order to compare regression models in my GCP cloud. My scikit-learn version is 0.23.2, as the newest versions are bizarrely unable to run Pycaret. My code is as simple as: df = df.loc[:,…
Dunkelgrun
  • 11
  • 1
1
vote
0 answers

How can I resolve a C++ error when installing Pycaret in anaconda?

I have an error when installing PyCaret using conda prompt as follows: error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ ERROR: Could not…
Tania B
  • 11
  • 1
1
vote
0 answers

How can i extract values of bi grams from PyCaret topic modeler?

i have trained PyCaret topic modeler using the pycaret documentation https://pycaret.readthedocs.io/en/latest/api/nlp.html#pycaret.nlp.get_topics I am able to plot Bigrams using following code as mentioned in documentation plot_model(plot =…
1
vote
3 answers

No module named 'pycaret

I am getting this error in my VSCODE: No module named 'pycaret my query is this: from pycaret.classification import * I have installed pycaret, may I know how can I solve this error?
Amy Diana
  • 129
  • 1
  • 5
1
vote
1 answer

pycaret compare_models() call doesn't recognize sort

After creating the clr_default: clr_default = setup(df_rain_definitivo_one_drop_catboost_norm_fs_dropna,fold_shuffle=True, target='RainTomorrow', session_id=123) I've tried to use the compare_models() function in Pycaret, using the following…
1
vote
0 answers

PyCaret setup not completely running in Django views

I have a function in the views.py of a Django app, in which I am setting up setup function of PyCaret regression module: from pycaret.regression import setup, compare_models, pull, get_logs s = setup(data=df.copy(), target=selectedTarget,…
Pardeep Kumar
  • 133
  • 2
  • 10
1
vote
0 answers

Display Pycaret graphs on Azure Notebooks

Pycaret has some rich functions to plot metrics for the models. In the docs, they use jupyter notebooks and it runs perfectly. I'm using Azure Notebooks and I'm not able to display the graphs. My code is as below: plot_model(tuned_model) output:…
1
vote
1 answer

getting strange error while importing pycaret

i have installed pycaret in virtual env in jupyter, using pip3 install pycaret. but when am trying to import it as from pycaret.regression import* or from pycaret import classification am getting this errors OSError:…
1
vote
1 answer

End of file error due to setup function of pycaret

I am making an object of Automl and I am calling the function initial setup which displays a text widget and when text is submit it calls the target_submit_handler which internally calls classification_setup which calls the setup() of pycaret…
int main
  • 11
  • 2
1
vote
3 answers

Opening Streamlit using bat file results in File Not Fund Error

Trying to open a app using .bat file so that other users don't have to use a terminal to open the app. The bat file has the contents as below set root=C:\Users\***\Anaconda3 call %root%\Scripts\activate.bat call conda activate dsatprediction …
Mr Rj
  • 41
  • 1
  • 10
1
vote
1 answer

spacy pandas pycaret compatibility issues

I'm adding this question because the internet had no answer. I'll answer it here. (google searching the error message led to only 2 pages, neither helpful, hopefully this is 3) When trying to python -m spacy download en_core_web_sm I got the…
vish
  • 1,046
  • 9
  • 26