Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

"Rules Decision Tree"

kkasskkass Member Posts: 1 Learner III
edited June 2019 in Help
Hi, everyone.
I developed a operator.My operator creates a Decision Tree model for the data1.
 
                //create a model Decision Tree

DecisionTreeLearner evaluator;
try {
evaluator = OperatorService.createOperator(DecisionTreeLearner.class);
} catch (OperatorCreationException e) {
throw new UserError(this, 904, "DecisionTreeLearner operator", e.getMessage());
}

//Modelo data1
Model A = evaluator.learn(data1);


This Model "A" is applied to other data (Data2).And sent to an output port.
               
                ExampleSet result1 = A.apply(Data2)
                exampleSetOutput1.deliver(result1);

In a result1 appears  a column titled "prediction(label)" the result of applying the classification tree for each data.

How I can do to make this column appears in addition to another with the Rules used to classify?
Tagged:
Sign In or Register to comment.