ClassificationScoringStrategy (Apache OpenNLP :: Core :: ML :: Deep Learning 3.0.0-M4 API)
Description: declaration: package: opennlp.dl.doccat.scoring, interface: ClassificationScoringStrategy

Package opennlp.dl.doccat.scoring

# Interface ClassificationScoringStrategy

All Known Implementing Classes:
  `AverageClassificationScoringStrategy`

public interface ClassificationScoringStrategy
Used to determine the scores of document classification. During classification, documents are separated into smaller parts. The classification is run on each part. Implementations of this interface are used to determine the score from the scores of each individual part.

- ## 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.

- ## Method Details

  - ### score

    double[] score(List<double[]> scores)
    Calculate the final scores based on the scores of the individual document parts.
    Parameters:
      `scores` - The scores for each individual part of the document.
    Returns:
      The calculated scores.