Split candidates: Continuous features: The ordered splits create “bins” and the maximum number of such bins can be specified using the maxBins parameter.
Categorical features:
Stopping rule
findBestSplits is doing the real job.