Interface FPGrowthParams

All Superinterfaces:
HasPredictionCol, Identifiable, Params, Serializable, scala.Serializable
All Known Implementing Classes:
FPGrowth, FPGrowthModel

public interface FPGrowthParams extends Params, HasPredictionCol
Common params for FPGrowth and FPGrowthModel
  • Method Details

    • getItemsCol

      String getItemsCol()
    • getMinConfidence

      double getMinConfidence()
    • getMinSupport

      double getMinSupport()
    • getNumPartitions

      int getNumPartitions()
    • itemsCol

      Param<String> itemsCol()
      Items column name. Default: "items"
      Returns:
      (undocumented)
    • minConfidence

      DoubleParam minConfidence()
      Minimal confidence for generating Association Rule. minConfidence will not affect the mining for frequent itemsets, but will affect the association rules generation. Default: 0.8
      Returns:
      (undocumented)
    • minSupport

      DoubleParam minSupport()
      Minimal support level of the frequent pattern. [0.0, 1.0]. Any pattern that appears more than (minSupport * size-of-the-dataset) times will be output in the frequent itemsets. Default: 0.3
      Returns:
      (undocumented)
    • numPartitions

      IntParam numPartitions()
      Number of partitions (at least 1) used by parallel FP-growth. By default the param is not set, and partition number of the input dataset is used.
      Returns:
      (undocumented)
    • validateAndTransformSchema

      StructType validateAndTransformSchema(StructType schema)
      Validates and transforms the input schema.
      Parameters:
      schema - input schema
      Returns:
      output schema