Shamima commited on
Commit
1dcefd3
·
1 Parent(s): 2ab0f3e
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ from sklearn.linear_model import Ridge
13
  from sklearn.model_selection import train_test_split
14
  np.random.seed(2)
15
 
16
- X = 2 * np.random.rand(100, 1)
17
- y = 4 + 3 * X
18
 
19
  X_train, X_test, y_train, y_test = train_test_split(
20
  X, y, test_size=0.1, random_state=42)
 
13
  from sklearn.model_selection import train_test_split
14
  np.random.seed(2)
15
 
16
+ X = 2 * np.random.rand(1000, 1)
17
+ y = 4 + 3 * X + np.random.rand(1000, 1)
18
 
19
  X_train, X_test, y_train, y_test = train_test_split(
20
  X, y, test_size=0.1, random_state=42)