lalala
This commit is contained in:
parent
42bb0f7901
commit
b7576c633f
1 changed files with 2 additions and 1 deletions
|
@ -63,12 +63,13 @@ plasm_ant_features = ['CA_plasm_pre', 'CA.G_plasm_pre', 'CA.S_plasm_pre', 'To
|
|||
'VA.GG_plasm_post', 'VA.S_post', 'VA.GS_plasm_post', 'VA.SS_plasm_post',
|
||||
'Total.VA_plasm_post']
|
||||
|
||||
def model_trainig_multipleTarget(X_train, X_test, X_val, y_train, y_test, y_val):
|
||||
def model_trainig_multipleTarget(X_train, X_test, X_val, y_train, y_test, y_val, xgb = True, rf = True):
|
||||
|
||||
print(" ----------------- STARTING XGB ----------------- ")
|
||||
|
||||
start = time.time()
|
||||
|
||||
if
|
||||
xgb_model = XGBfit(X_train, X_test, X_val, y_train, y_test, y_val)
|
||||
rf_model = RFfit(X_train, X_test, X_val, y_train, y_test, y_val)
|
||||
|
||||
|
|
Loading…
Reference in a new issue