I am attempting to use your model for use in my application.
It contains this line:
X,y = sklearn.datasets.get_X_y(all_data,33)
which causes the traceback reported below.
I spent a few hours researching this issue. I could not find any information about sklearn.datasets.get_X_y
please note that pycharm with regards to the call tells me that
Cannot find reference 'get_X_y' in '__init__.py'
Could you please help me understand what I should do in order to resolve this issue?
I checked with the scikit_learn tema. They confirmed that there is no 'get_X_y in sklearn.datasets. Could you please tell me where I would find the code for the function 'get_X_y you use in your notebook?
Thank you
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/sklearn/datasets/__init__.py", line 159, in __getattr__
return globals()[name]
KeyError: 'get_X_y'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/adonnini1/Development/ContextQSourceCode/NeuralNetworks/RetailSalesForecasting/Sales_Forecasting_Project/downloadedNotebooks/lightgbm_tuning.py", line 128, in <module>
X,y = sklearn.datasets.get_X_y(all_data,33)
File "/usr/local/lib/python3.10/site-packages/sklearn/datasets/__init__.py", line 162, in __getattr__
raise AttributeError
AttributeError
I am attempting to use your model for use in my application.
It contains this line:
X,y = sklearn.datasets.get_X_y(all_data,33)which causes the traceback reported below.
I spent a few hours researching this issue. I could not find any information about
sklearn.datasets.get_X_yplease note that pycharm with regards to the call tells me that
Cannot find reference 'get_X_y' in '__init__.py'Could you please help me understand what I should do in order to resolve this issue?
I checked with the scikit_learn tema. They confirmed that there is no
'get_X_yinsklearn.datasets. Could you please tell me where I would find the code for the function'get_X_yyou use in your notebook?Thank you