Interface ClassifierMetadata.Builder

    • Method Detail

      • numberOfLabels

        ClassifierMetadata.Builder numberOfLabels​(Integer numberOfLabels)

        The number of labels in the input data.

        Parameters:
        numberOfLabels - The number of labels in the input data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberOfTrainedDocuments

        ClassifierMetadata.Builder numberOfTrainedDocuments​(Integer numberOfTrainedDocuments)

        The number of documents in the input data that were used to train the classifier. Typically this is 80 to 90 percent of the input documents.

        Parameters:
        numberOfTrainedDocuments - The number of documents in the input data that were used to train the classifier. Typically this is 80 to 90 percent of the input documents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberOfTestDocuments

        ClassifierMetadata.Builder numberOfTestDocuments​(Integer numberOfTestDocuments)

        The number of documents in the input data that were used to test the classifier. Typically this is 10 to 20 percent of the input documents, up to 10,000 documents.

        Parameters:
        numberOfTestDocuments - The number of documents in the input data that were used to test the classifier. Typically this is 10 to 20 percent of the input documents, up to 10,000 documents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • evaluationMetrics

        ClassifierMetadata.Builder evaluationMetrics​(ClassifierEvaluationMetrics evaluationMetrics)

        Describes the result metrics for the test data associated with an documentation classifier.

        Parameters:
        evaluationMetrics - Describes the result metrics for the test data associated with an documentation classifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.