test_class.declarator: aggregator = new MeanValuePredictionsAggregator()
test_class.modifier: private
test_class.original_string: private PredictionsAggregator aggregator = new MeanValuePredictionsAggregator();
test_class.type: PredictionsAggregator
test_class.var_name: aggregator
test_class.file: modules/ml/src/test/java/org/apache/ignite/ml/composition/predictionsaggregator/MeanValuePredictionsAggregatorTest.java
test_class.identifier: MeanValuePredictionsAggregatorTest
test_case.body: @Test
      public void testApply() {
          assertEquals(0.75, aggregator.apply(new double[]{1.0, 1.0, 1.0, 0.0}), 0.001);
      }
test_case.class_method_signature: MeanValuePredictionsAggregatorTest.testApply()
test_case.full_signature: @Test public void testApply()
test_case.identifier: testApply
test_case.invocations: assertEquals apply
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testApply()
focal_class.file: modules/ml/src/main/java/org/apache/ignite/ml/composition/predictionsaggregator/MeanValuePredictionsAggregator.java
focal_class.identifier: MeanValuePredictionsAggregator
focal_class.interfaces: implements PredictionsAggregator
focal_class.class_method_signature: MeanValuePredictionsAggregator.apply(double[] estimations)
focal_class.full_signature: @Override public Double apply(double[] estimations)
focal_class.identifier: apply
focal_class.modifiers: @Override public
focal_class.parameters: (double[] estimations)
focal_class.return: Double
focal_class.signature: Double apply(double[] estimations)
focal_method.body: @Override public Double apply(double[] estimations) {
          A.notEmpty(estimations, "estimations vector");
          return Arrays.stream(estimations).reduce(0.0, Double::sum) / estimations.length;
      }
focal_method.class_method_signature: MeanValuePredictionsAggregator.apply(double[] estimations)
focal_method.full_signature: @Override public Double apply(double[] estimations)
focal_method.identifier: apply
focal_method.invocations: notEmpty reduce stream
focal_method.modifiers: @Override public
focal_method.parameters: (double[] estimations)
focal_method.return: Double
focal_method.signature: Double apply(double[] estimations)