Searched refs:is_pure (Results 1 – 4 of 4) sorted by relevance
199 virtual bool is_pure() const = 0;329 bool is_pure() const override { return num_outputs_seen_ <= 1; } in is_pure() function393 bool is_pure() const override { return total_counts_.size() <= 1; } in is_pure() function491 bool is_pure() const override { return first_two_classes_seen_.size() <= 1; } in is_pure() function502 if (is_pure()) { in ClassificationAddTotalExample()
161 bool basic = (weight_sum_ >= split_after_samples_) && !is_pure(); in IsFinished()
999 def is_pure(self): member in Distribution
1011 def is_pure(self): member in Distribution