Function cpphots::train(Network&, Events, const ClustererSeedingType&, bool)
Defined in File run.h
Function Documentation
-
Events cpphots::train(Network &network, Events training_events, const ClustererSeedingType &seeding, bool skip_check = false)
Seed and train layers in a network.
This function seeds the centroids of each layer and then train the layer with the events, in a layer-by-layer sequence.
- Parameters
network – the newtork
training_events – events
seeding – a clustering seeding function
skip_check – if true consider all events as valid
- Returns
events generated by the last layer of the network