The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

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

  • [Deleted User][Deleted User] Posts: 0 Newbie
    Hi Greg,

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

    Best,
    Edin
Sign In or Register to comment.