'Filter Examples' does not update Metadata

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

I am using the Aylien API for Sentiment Analysis.  It classifies text as positive, negative or neutral.  For the sake of a training example, I am filtering out the neutral answers in order to leave just positive and negative, and then checking performance with the Performance operator.  The label has just two classes, positive and negative.

The Performance operator is giving me an error "the prediction values do not match the label attributes".  The label is positive and negative but the prediction still has three values, positive, negative and neutral, even though I have filtered out the neutral ones.  The metadata for the prediction still includes 3 values (but zero instances of neutral).

How can I correct this?

Many thanks!

 

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Andrew"
    New Altair Community Member
    Accepted Answer

    Hello dhampton

     

    The operator you want is "Remove Unused Values"

     

    regards

     

    Andrew