All Superinterfaces:
HasHandleInvalid, HasInputCol, HasInputCols, HasLabelCol, HasOutputCol, HasOutputCols, Identifiable, Params, Serializable
All Known Implementing Classes:
TargetEncoder, TargetEncoderModel

Private trait for params and common methods for TargetEncoder and TargetEncoderModel

  • Method Details

    • getSmoothing

      double getSmoothing()

    • getTargetType

    • handleInvalid

      Param for how to handle invalid data during transform(). Options are 'keep' (invalid data presented as an extra categorical feature) or 'error' (throw an error). Note that this Param is only used during transform; during fitting, invalid data will result in an error. Default: "error"

      Specified by:
      handleInvalid in interface HasHandleInvalid
      Returns:
      (undocumented)
    • inputFeatures

    • outputFeatures

      String[] outputFeatures()

    • smoothing

    • targetType

    • validateSchema