test_class.file: modules/ml/src/test/java/org/apache/ignite/ml/selection/scoring/metric/classification/BinaryClassificationMetricsTest.java
test_class.identifier: BinaryClassificationMetricsTest
test_case.body: @Test(expected = UnknownClassLabelException.class)
      public void testFailWithIncorrectClassLabelsInMetrics() {
          Metric scoreCalculator = new BinaryClassificationMetrics()
              .withPositiveClsLb(42);
  
          LabelPairCursor<Double> cursor = new TestLabelPairCursor<>(
              Arrays.asList(1.0, 1.0, 1.0, 1.0),
              Arrays.asList(1.0, 1.0, 0.0, 1.0)
          );
  
          scoreCalculator.score(cursor.iterator());
      }
test_case.class_method_signature: BinaryClassificationMetricsTest.testFailWithIncorrectClassLabelsInMetrics()
test_case.full_signature: @Test(expected = UnknownClassLabelException.class) public void testFailWithIncorrectClassLabelsInMetrics()
test_case.identifier: testFailWithIncorrectClassLabelsInMetrics
test_case.invocations: withPositiveClsLb asList asList score iterator
test_case.modifiers: @Test(expected = UnknownClassLabelException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFailWithIncorrectClassLabelsInMetrics()
focal_class.declarator: positiveClsLb = 1.0
focal_class.modifier: private
focal_class.original_string: private double positiveClsLb = 1.0;
focal_class.type: double
focal_class.var_name: positiveClsLb
focal_class.declarator: negativeClsLb
focal_class.modifier: private
focal_class.original_string: private double negativeClsLb;
focal_class.type: double
focal_class.var_name: negativeClsLb
focal_class.declarator: enableROCAUC
focal_class.modifier: private
focal_class.original_string: private boolean enableROCAUC;
focal_class.type: boolean
focal_class.var_name: enableROCAUC
focal_class.file: modules/ml/src/main/java/org/apache/ignite/ml/selection/scoring/metric/classification/BinaryClassificationMetrics.java
focal_class.identifier: BinaryClassificationMetrics
focal_class.class_method_signature: BinaryClassificationMetrics.scoreAll(Iterator<LabelPair<Double>> iter)
focal_class.full_signature: @Override public BinaryClassificationMetricValues scoreAll(Iterator<LabelPair<Double>> iter)
focal_class.identifier: scoreAll
focal_class.modifiers: @Override public
focal_class.parameters: (Iterator<LabelPair<Double>> iter)
focal_class.return: BinaryClassificationMetricValues
focal_class.signature: BinaryClassificationMetricValues scoreAll(Iterator<LabelPair<Double>> iter)
focal_class.class_method_signature: BinaryClassificationMetrics.positiveClsLb()
focal_class.full_signature: public double positiveClsLb()
focal_class.identifier: positiveClsLb
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double positiveClsLb()
focal_class.class_method_signature: BinaryClassificationMetrics.withPositiveClsLb(double positiveClsLb)
focal_class.full_signature: public BinaryClassificationMetrics withPositiveClsLb(double positiveClsLb)
focal_class.identifier: withPositiveClsLb
focal_class.modifiers: public
focal_class.parameters: (double positiveClsLb)
focal_class.return: BinaryClassificationMetrics
focal_class.signature: BinaryClassificationMetrics withPositiveClsLb(double positiveClsLb)
focal_class.class_method_signature: BinaryClassificationMetrics.negativeClsLb()
focal_class.full_signature: public double negativeClsLb()
focal_class.identifier: negativeClsLb
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double negativeClsLb()
focal_class.class_method_signature: BinaryClassificationMetrics.withNegativeClsLb(double negativeClsLb)
focal_class.full_signature: public BinaryClassificationMetrics withNegativeClsLb(double negativeClsLb)
focal_class.identifier: withNegativeClsLb
focal_class.modifiers: public
focal_class.parameters: (double negativeClsLb)
focal_class.return: BinaryClassificationMetrics
focal_class.signature: BinaryClassificationMetrics withNegativeClsLb(double negativeClsLb)
focal_class.class_method_signature: BinaryClassificationMetrics.withEnablingROCAUC(boolean enableROCAUC)
focal_class.full_signature: public BinaryClassificationMetrics withEnablingROCAUC(boolean enableROCAUC)
focal_class.identifier: withEnablingROCAUC
focal_class.modifiers: public
focal_class.parameters: (boolean enableROCAUC)
focal_class.return: BinaryClassificationMetrics
focal_class.signature: BinaryClassificationMetrics withEnablingROCAUC(boolean enableROCAUC)
focal_class.class_method_signature: BinaryClassificationMetrics.isROCAUCenabled()
focal_class.full_signature: public boolean isROCAUCenabled()
focal_class.identifier: isROCAUCenabled
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isROCAUCenabled()
focal_class.class_method_signature: BinaryClassificationMetrics.name()
focal_class.full_signature: @Override public String name()
focal_class.identifier: name
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String name()
focal_class.superclass: extends AbstractMetrics<BinaryClassificationMetricValues>
focal_method.body: public BinaryClassificationMetrics withPositiveClsLb(double positiveClsLb) {
          if (Double.isFinite(positiveClsLb))
              this.positiveClsLb = positiveClsLb;
          return this;
      }
focal_method.class_method_signature: BinaryClassificationMetrics.withPositiveClsLb(double positiveClsLb)
focal_method.full_signature: public BinaryClassificationMetrics withPositiveClsLb(double positiveClsLb)
focal_method.identifier: withPositiveClsLb
focal_method.invocations: isFinite
focal_method.modifiers: public
focal_method.parameters: (double positiveClsLb)
focal_method.return: BinaryClassificationMetrics
focal_method.signature: BinaryClassificationMetrics withPositiveClsLb(double positiveClsLb)