train_sep

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

Trains a Random Forest classifier for Gamma/Hadron separation. Returns the trained RF.

Parameters:
train: `pandas.DataFrame`

data set for training the RF

custom_config: dict

Modified configuration to update the standard one

Returns:
RandomForestClassifier