Skip to content
Advertisement

Tag: machine-learning

ValueError:Reshape your data either using array.reshape(-1, 1)if your data has a single feature or array.reshape(1, -1) if it contains a single sample

**the code predict the house price with polynomial regression model and fastapi **` make class have an one parameter and have a 4 value #The train_plynomial_model is a function that takes the Features and returns polynomial model The predict is a function that predict the house price “ I tried to put this sentencenewfeature=newfeature.reshape(-1, 1) Answer You should change features

Does my learning curves show overfitting? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the

Advertisement