Interface RecommenderSchemaField.Builder

  • Method Details

    • targetFieldName

      RecommenderSchemaField.Builder targetFieldName(String targetFieldName)

      The name of the target field in the dataset, such as Location.City or Attributes.MealTime.

      Parameters:
      targetFieldName - The name of the target field in the dataset, such as Location.City or Attributes.MealTime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentType

      RecommenderSchemaField.Builder contentType(String contentType)

      The data type of the column value. Valid values are String and Number. The default value is String.

      Parameters:
      contentType - The data type of the column value. Valid values are String and Number. The default value is String.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contentType

      RecommenderSchemaField.Builder contentType(ContentType contentType)

      The data type of the column value. Valid values are String and Number. The default value is String.

      Parameters:
      contentType - The data type of the column value. Valid values are String and Number. The default value is String.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • featureType

      RecommenderSchemaField.Builder featureType(String featureType)

      How the column is treated for model training. Valid values are CATEGORICAL and TEXTUAL.

      Parameters:
      featureType - How the column is treated for model training. Valid values are CATEGORICAL and TEXTUAL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • featureType

      RecommenderSchemaField.Builder featureType(FeatureType featureType)

      How the column is treated for model training. Valid values are CATEGORICAL and TEXTUAL.

      Parameters:
      featureType - How the column is treated for model training. Valid values are CATEGORICAL and TEXTUAL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: