Package opennlp.dl.doccat.scoring

# Class AverageClassificationScoringStrategy

java.lang.Object
opennlp.dl.doccat.scoring.AverageClassificationScoringStrategy

All Implemented Interfaces:
  `ClassificationScoringStrategy`

public class AverageClassificationScoringStrategy extends Object implements ClassificationScoringStrategy
A `ClassificationScoringStrategy` which calculates the document classification scores by averaging the scores for all individual parts of a document.

See Also:
  - `ClassificationScoringStrategy`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AverageClassificationScoringStrategy()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `double[]`
  `score(List<double[]> scores)`
  Calculate the final scores based on the scores of the individual document parts.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AverageClassificationScoringStrategy

    public AverageClassificationScoringStrategy()

- ## Method Details

  - ### score

    public double[] score(List<double[]> scores)
    Description copied from interface: `ClassificationScoringStrategy`
    Calculate the final scores based on the scores of the individual document parts.
    Specified by:
      `score` in interface `ClassificationScoringStrategy`
    Parameters:
      `scores` - The scores for each individual part of the document.
    Returns:
      The calculated scores.