Python Bytes - Machine Learning R Squared #coding #datascience #python Code in Description

preview_player
Показать описание
#Coded by Andrew C

import pandas as pd
from sklearn import datasets

X = wine[['proline']]
Y = wine['alcohol']

X_train, X_test, Y_train, Y_test = train_test_split(X, Y, test_size = 0.3, random_state=1)
model = LinearRegression()

Рекомендации по теме