Skip to content
Snippets Groups Projects
Commit 001fb285 authored by DIANE's avatar DIANE
Browse files

report

parent c0f3f8ed
No related branches found
No related tags found
No related merge requests found
...@@ -215,7 +215,7 @@ if not spectra.empty and not y.empty: ...@@ -215,7 +215,7 @@ if not spectra.empty and not y.empty:
Reg = type('obj', (object,), {'model_' : Reg_json['model'], 'best_hyperparams_' : Reg_json['best_lwplsr_params'], Reg = type('obj', (object,), {'model_' : Reg_json['model'], 'best_hyperparams_' : Reg_json['best_lwplsr_params'],
'pred_data_' : [pd.json_normalize(Reg_json[i]) for i in pred]}) 'pred_data_' : [pd.json_normalize(Reg_json[i]) for i in pred]})
reg_model = Reg.model_
Reg.CV_results_ = pd.DataFrame() Reg.CV_results_ = pd.DataFrame()
Reg.cv_data_ = {'YpredCV' : {}, 'idxCV' : {}} Reg.cv_data_ = {'YpredCV' : {}, 'idxCV' : {}}
# # set indexes to Reg.pred_data (train, test, folds idx) # # set indexes to Reg.pred_data (train, test, folds idx)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment