Class ExampleSetFactory

java.lang.Object
adaa.analytics.rules.logic.representation.exampleset.ExampleSetFactory

public class ExampleSetFactory extends Object
  • Field Details

    • type

      protected int type
      Rule type (classification/regression/survival).
  • Constructor Details

    • ExampleSetFactory

      public ExampleSetFactory(int type)
      Constructor of example set factory. Initializes with arguments members.
      Parameters:
      type - Rule type (classification/regression/survival).
  • Method Details

    • getType

      public int getType()
      Gets rule type.
      Returns:
      Rule type.
    • create

      public IExampleSet create(IExampleSet set)
      Creates an empty rule set of appropriate type.
      Parameters:
      set - Training set.
      Returns:
      Empty rule set.