train_reco

lstchain.reco.dl1_to_dl2.train_reco(train, custom_config=None)

Trains two Random Forest regressors for Energy and disp_norm reconstruction respectively. Returns the trained RF.

Parameters:
train: `pandas.DataFrame`
custom_config: dictionnary

Modified configuration to update the standard one

Returns:
RandomForestRegressor: reg_energy
RandomForestRegressor: reg_disp