How to change the value of the attribute 'label' in text classification?
Hi,
I am doing text classification using modelapplier. The output contains the "prediction(label)" attribute and all the "confidence(x1)", "confidence(x2)", etc. attributes. The prediction(label) depends on whichever has the maximum confidence value.
What I want to do is to change the "label" attribute equal to the "prediction(label) attribute but only on those with confidence value greater than let say 0.5.
I'm sure it can be done in RM but I couldn't figure out which operator to use, or if there is other way of achieving my purpose. ???
thanks
Matthew
I am doing text classification using modelapplier. The output contains the "prediction(label)" attribute and all the "confidence(x1)", "confidence(x2)", etc. attributes. The prediction(label) depends on whichever has the maximum confidence value.
What I want to do is to change the "label" attribute equal to the "prediction(label) attribute but only on those with confidence value greater than let say 0.5.
I'm sure it can be done in RM but I couldn't figure out which operator to use, or if there is other way of achieving my purpose. ???
thanks
Matthew