Skip to content

Instantly share code, notes, and snippets.

@amankharwal

amankharwal/student.py Secret

Created Apr 16, 2021
Embed
What would you like to do?
linear_regression = LinearRegression()
linear_regression.fit(xtrain, ytrain)
accuracy = linear_regression.score(xtest, ytest)
print(accuracy)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment