🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

print the result in Java

User: "kersor"
New Altair Community Member
Updated by Jocelyn

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