Options

Value for attribute must be numerical!

greggreg Member Posts: 23 Contributor II
edited November 2018 in Help
Hello

I'm trying to filter a set based on a field having a value or not.

I tried "Filter Examples" with "attribute_value_filter" being "user_id=\?" but I got this strange error:

com.rapidminer.example.set.AttributeValueFilter: cannot invoke condition (Value for attribute 'user_id' must be numerical!).

The field is in fact an integer (which I assume to be numerical). What am I doing wrong??

  <operator activated="true" class="filter_examples" compatibility="5.2.006" expanded="true" height="76" name="nouveaux" width="90" x="648" y="390">
        <parameter key="condition_class" value="attribute_value_filter"/>
        <parameter key="parameter_string" value="user_id=\?"/>
      </operator>

TIA

greg

Answers

  • Options
    [Deleted User][Deleted User] Posts: 0 Learner II
    Hi Greg,

    try filtering by "NaN", which is the internal representation for missing values, instead of "\?".

    Best,
    Edin
Sign In or Register to comment.