Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ X_train.head()
|
|
26 |
from sklearn.preprocessing import StandardScaler
|
27 |
scaler_normal = StandardScaler()
|
28 |
def scaler(data, runtime = False):
|
29 |
-
normal_col = ['person_income','person_age','person_emp_length', 'loan_amnt','loan_int_rate','cb_person_cred_hist_length'
|
30 |
if(runtime == False):
|
31 |
data.loc[:,normal_col] = scaler_normal.fit_transform(data.loc[:,normal_col])
|
32 |
else:
|
|
|
26 |
from sklearn.preprocessing import StandardScaler
|
27 |
scaler_normal = StandardScaler()
|
28 |
def scaler(data, runtime = False):
|
29 |
+
normal_col = ['person_income','person_age','person_emp_length', 'loan_amnt','loan_int_rate','cb_person_cred_hist_length']
|
30 |
if(runtime == False):
|
31 |
data.loc[:,normal_col] = scaler_normal.fit_transform(data.loc[:,normal_col])
|
32 |
else:
|