train_energy
- lstchain.reco.dl1_to_dl2.train_energy(train, custom_config=None)
Train a Random Forest Regressor for the regression of the energy TODO: introduce the possibility to use another model
- Parameters:
- train: `pandas.DataFrame`
- custom_config: dictionnary
Modified configuration to update the standard one
- Returns:
- The trained model