Class RuleGenerator

java.lang.Object
adaa.analytics.rules.logic.rulegenerator.RuleGenerator

public class RuleGenerator extends Object
The basic RuleKit learner operator. It enables inducing classification, regression, and survival rules - the problem type is established automatically using metadata of the training set.
  • Field Details

  • Constructor Details

    • RuleGenerator

      public RuleGenerator()
    • RuleGenerator

      public RuleGenerator(boolean useExpert)
      Used by python wrapper
  • Method Details

    • configureLogger

      public void configureLogger(String level)
      Used by python wrapper
    • configureLogger

      public void configureLogger(String filePath, String level) throws FileNotFoundException
      Used by python wrapper
      Throws:
      FileNotFoundException
    • addOperatorListener

      public void addOperatorListener(ICommandListener commandListener)
      Used by python wrapper
    • learn

      public RuleSetBase learn(IExampleSet exampleSet)
    • containsParameter

      public boolean containsParameter(String key)
      Used by python wrapper
    • setRuleGeneratorParams

      public void setRuleGeneratorParams(RuleGeneratorParams ruleGeneratorParams)
    • setParameter

      public void setParameter(String key, String o)
      Used by python wrapper
    • setListParameter

      public void setListParameter(String key, List<String[]> o)
      Used by python wrapper
    • setUserMeasureInductionObject

      public void setUserMeasureInductionObject(IUserMeasure userMeasureInductionObject)
      Used by python wrapper
    • setUserMeasurePurningObject

      public void setUserMeasurePurningObject(IUserMeasure userMeasurePurningObject)
      Used by python wrapper
    • setUserMeasureVotingObject

      public void setUserMeasureVotingObject(IUserMeasure userMeasureVotingObject)
      Used by python wrapper
    • getParamsAsJsonString

      public String getParamsAsJsonString()