Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
print the result in Java
kersor
Hi everyone
i run a text mining procces in java.When i put:
System.out.println(ioResult.getElementAt(0).toString());
System.out.println(ioResult);
the result is:
350 regular attributes,
special attributes = {
label = #350: label (numeric/single_value)
confidence_Positive = #352: confidence(Positive) (real/single_value)
confidence_Negative = #353: confidence(Negative) (real/single_value)
prediction = #351: prediction(label) (binominal/single_value)
}
(created by Set Role)
but i want in prediction to have positive or negative not the word 'label'. How can i print the prediction of the process?
Regards
Find more posts tagged with
AI Studio
Java
Developer
Accepted answers
All comments
Marco_Boeck
Hi,
you're basically using ExampleSet.toString() here, which only gives you a summary. You either have to create your own method to visualize the results in a way you need, or you can have a look at the various visualizers that come with RapidMiner, and see if something there is of some help to you.
Moved to Development section.
Regards,
Marco
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups