def test_no_value(self):
        msg = "'This field is required.'"
        with self.assertRaisesMessage(ValidationError, msg):
            self.field.clean(['some text', ['JP']])
Computes the logistic loss.
dataset/ETHPy150Open django/django/tests/forms_tests/field_tests/test_multivaluefield.py/MultiValueFieldTest.test_no_value--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/linear_model/logistic.py/_logistic_loss