Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,9 @@ import joblib
|
|
8 |
import pandas as pd
|
9 |
|
10 |
def load_data():
|
11 |
-
X_train = pd.read_csv('
|
12 |
# X_train = df.iloc[:,:-1]
|
13 |
-
y_train = pd.read_csv('
|
14 |
# y_train = df.iloc[:, -1]
|
15 |
|
16 |
print("X_train",X_train.shape)
|
|
|
8 |
import pandas as pd
|
9 |
|
10 |
def load_data():
|
11 |
+
X_train = pd.read_csv('preprocessed_slump.csv').values[:,:-1]
|
12 |
# X_train = df.iloc[:,:-1]
|
13 |
+
y_train = pd.read_csv('preprocessed_slump.csv').values[:, -1]
|
14 |
# y_train = df.iloc[:, -1]
|
15 |
|
16 |
print("X_train",X_train.shape)
|