Closed mauriciochamas closed 6 years ago
sys.path.append(r'C:\Users\Usuario\AnacondaProjects\scikit-learn-contrib-boruta_py-c370f01') from boruta import BorutaPy base = df.values x = base[:, 1:] y = base[:, 0]
I am also getting the same error. Could you please explain how it happens and how to fix this issue? Thanks!
The solution is written above
Thank you. My error has changed as follows. I wonder whether Boruta can handle regression cases where y is a continuous 1-D array
ValueError: Please check your X and y variable. The providedestimator cannot be fitted to your data. Unknown label type: 'continuous'
It can handle provided you are doing exactly what needs to be done...
It's not necessary that the error that the above person had received and what you are receiving are because of the same thing...,
So think logically what you are doing and then act accordingly
My task is to select features for doing prediction. But I am getting the error. I am new to feature selection algorithms, do you know how to fix this issue? Thanks!
ValueError: Please check your X and y variable. The providedestimator cannot be fitted to your data. Unknown label type: 'continuous'
@mauriciochamas I'm getting the same error. did you manager to fix it? Thanks!