Interface DocumentClassificationConfig.Builder

  • Method Details

    • mode

      Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.

      Parameters:
      mode - Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mode

      Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.

      Parameters:
      mode - Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • labels

      One or more labels to associate with the custom classifier.

      Parameters:
      labels - One or more labels to associate with the custom classifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • labels

      One or more labels to associate with the custom classifier.

      Parameters:
      labels - One or more labels to associate with the custom classifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.