nachi-hebbar/Forest-Fire-Prediction-Website

ValueError: X has 4 features, but LinearRegression is expecting 3 features as input.

Opened this issue · 3 comments

Please help me out to solve this.
I have given 4 attributes to X
Screenshot (14)

If your input has 4 attributes, you will have to retrain the model with 4 attributes. It wont directly work with my model which was trained on 3 attributes.

If your input has 4 attributes, you will have to retrain the model with 4 attributes. It wont directly work with my model which was trained on 3 attributes.

how?

If your input has 4 attributes, you will have to retrain the model with 4 attributes. It wont directly work with my model which was trained on 3 attributes.

i have 7 features but linear regression expect 12 can you help me ?