82706/valueerror-found-variables-inconsistent-numbers-samples
After reshaping also I am getting the same error how can I fix it. Below is the code which I was written
Hi@akhtar, Here you used x as your feature ...READ MORE
keep random_state =42 in train_test_split module READ MORE
Hi@Alshwarya, I think there is a problem with your ...READ MORE
Hi, You are asking your query in the ...READ MORE
Hi@sagar, You have converted your Dataframe into an ...READ MORE
Hi@Alessandro, Here you used x as your feature parameter ...READ MORE
it basically trains your model using the ...READ MORE
The predict() function returns a plain numpy ...READ MORE
Hi@akhtar, You need to import the LinearRegression module ...READ MORE
Here is my code: import pandas as p import ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.