Forum Discussion
UserWarning: X does not have valid feature names, but LinearRegression was fitted with feature names
Hi Community,
I'm using notebook in fabric for predict the value by using linear regression from python.
This below code is I'm using,
But the output is comming with this error. why?
Please hel me.
Thanks in advance.
- Anonymous2 years ago
Hi Prakash1050 ,
Please refer below ways:
Here are some links to similar questions you can refer to:
python 3.x - SKLearn warning "valid feature names" in version 1.0 - Stack Overflow,
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
Hi Prakash1050 ,
Please refer below ways:
Here are some links to similar questions you can refer to:
python 3.x - SKLearn warning "valid feature names" in version 1.0 - Stack Overflow,
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.