The number of expected features for LinearRegression is 10, whereas the input X has only 1 feature. Therefore, there is a difference of 9 features between X and the expectations of LinearRegression.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-08-06 11:00:00 +0000
Seen: 9 times
Last updated: Jun 11 '21