Spaces:
Runtime error
Runtime error
Chaninder Rishi
commited on
Commit
•
ac7df46
1
Parent(s):
9b2e410
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,8 @@ new_train.replace([np.inf, -np.inf], np.nan, inplace=True)
|
|
51 |
new_train.dropna(inplace=True)
|
52 |
x = np.asanyarray(new_train[['log_runtime', 'log_spend']])
|
53 |
y = np.asanyarray(new_train[['log_impressions']])
|
54 |
-
|
|
|
55 |
#y_pred= regr.predict(new_train[['log_runtime', 'log_spend']])
|
56 |
|
57 |
|
|
|
51 |
new_train.dropna(inplace=True)
|
52 |
x = np.asanyarray(new_train[['log_runtime', 'log_spend']])
|
53 |
y = np.asanyarray(new_train[['log_impressions']])
|
54 |
+
print(x)
|
55 |
+
regr.fit(x, y)
|
56 |
#y_pred= regr.predict(new_train[['log_runtime', 'log_spend']])
|
57 |
|
58 |
|