From f27d433e7e24455c82f53b29cd1a97109b9d3ea4 Mon Sep 17 00:00:00 2001 From: Preciousarrey <47010178+Preciousarrey@users.noreply.github.com> Date: Thu, 30 May 2019 15:46:53 -0500 Subject: [PATCH] classwork --- check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check.py b/check.py index 9f14e69..b9e3006 100644 --- a/check.py +++ b/check.py @@ -16,7 +16,7 @@ X = dataset[['memory','cpu']] y = dataset['replicas'] -X_train, X_test, y_train, y_test = train_test_split(X,y,test_size=0.2,random_state=0) +X_train, X_test, y_train, y_test = train_test_split(X,y,test_size=0.5,random_state=0) linear_regressor.fit(X_train,y_train)