Merge branch 'master' of https://git.wmi.amu.edu.pl/tdwojak/Python2017
# Conflicts: # labs02/test_task.py
This commit is contained in:
parent
4197571375
commit
e20007b2df
@ -43,8 +43,6 @@ def predict(dane, col_name):
|
||||
from sklearn import linear_model
|
||||
from sklearn.metrics import mean_squared_error, r2_score
|
||||
d_X = pd.DataFrame(dane[col_name])
|
||||
print('Dane z kolumny ', col_name)
|
||||
print(d_X.head())
|
||||
d_X_train = d_X[4000:]
|
||||
d_X_test = d_X[:4000]
|
||||
d_y = pd.DataFrame(dane['Expected'])
|
||||
|
Loading…
Reference in New Issue
Block a user