def validate_examples()

in rbr_weight_fitter.py [0:0]


    def validate_examples(self):
        for ex in self.examples:
            assert ex.completion_label in self.orderings, "All examples must have a valid completion label."
            assert set(ex.features.keys()) == set(self.feature_names), "Must have values for all features."