Closed turkalpmd closed 1 year ago
@turkalpmd Can you produce a minimal set of data and code to reproduce the problem. It is hard to debug with the entire code base and dataset. Thanks!
Also, please break down create_model
, tune_model
and finalize_model
into individual steps so that it is easier for you to also debug and get to the root cause faster (i.e. which step is causing the issue).
Dear Nikhil,
I solved the problem. Transformation feature is doesnt work properly. Maybe box-cox or yoe-johnson create infinity or NaN values. When I close this my problem is solved.
@turkalpmd I would like to fix the issue with the transformations if it truly exists. Will you be able to provide a simplified code example with sample data to reproduce the issue? Thanks!
I can share notebook with you. Is it possible?
I can share notebook with you. Is it possible?
@turkalpmd Yes, you can attach the zip here. Thanks!
I was thinking the tomorrow that the problem might be related to transform_target. Today I saw that the problem is actually related to scale_target. I'm trying both of them in notebook. Scaling Target may not actually be appropriate. I couldn't understand why I was using this. Most of all, thank you very much for developing pycaret.
I have also share on Kaggle with you.
@turkalpmd I can not debug the issue with such a big notebook. Can you create a minimal example? In any case, I see you are using pycaret-ts-alpha. This has been deprecated. You should switch to the pre release of 3.0.0. Please see here for instructions:
https://github.com/pycaret/pycaret/issues/3018#issuecomment-1272334059
@turkalpmd I am going to close this for now. If you can provide a minimal reproducible example that I can use for debugging, please feel free to reopen this. Thanks!
pycaret version checks
[X] I have checked that this issue has not already been reported here.
[X] I have confirmed this bug exists on the latest version of pycaret.
[x] I have confirmed this bug exists on the master branch of pycaret (pip install -U git+https://github.com/pycaret/pycaret.git@master).
Issue Description
Hi everyone and dear contributors,
I wanted to write a time series code with PyCaret for the Tabular Playground Series - Sep 2022 competition on Kaggle. Because that seemed easy to me. I wanted to divide it into 48 different attributes and forecast the num_sold values of individual attributes, so I wrote a code like this.
Data Source doesn't have any NaN Some unique df returns with NaN values but someone doesn't. Why I can't understand that?
Example of them Each line is representing to iteration I used .isna().sum() function for showing missing values .
[array([234]), array([0]), array([19]), array([181]), array([0]), array([0]), array([225]), array([0]), array([302]), array([0]), array([0]), array([0]), array([248]), array([0]), array([267]), array([0]), array([107]), array([53]), array([0]), array([0]), array([308]), array([0]), array([0]), array([235]), array([257]), array([0]), array([279]), array([0]), array([0]), array([0]), array([0]), array([223]), array([0]), array([0]), array([238]), array([199]), array([301]), array([0]), array([0]), array([73]), array([0]), array([0]), array([0]), array([0]), array([0]), array([0]), array([0]), array([0])]
Thank you.
Reproducible Example
Expected Behavior
* import libraries
* Data Prep.
* Main Code
Actual Results
Installed Versions