Reimplement to distributedly learn decision stumps. Sample points are aggregated on each partition to calculate metrics.