Operations with Data/Time Attribute

edusr
edusr New Altair Community Member
edited November 5 in Community Q&A
Hello,

I just started to explore RM functionalities while using commercial packages for business purpose. It is a great open-source package. Appreciate the efforts from those guys behind.

Does RM support any logic operations (e.g. attr1 > attr2?) among data/time attributes? Say, I wanted to select examples by defining a data_time attribute range through "Filter Examples," how do I write a constant of data_time type? Or can I generate such a value in any operators, and then make the comparison?

Thank you!

edusr
Tagged:

Answers

  • edusr wrote:

    Hello,

    I just started to explore RM functionalities while using commercial packages for business purpose. It is a great open-source package. Appreciate the efforts from those guys behind.

    Does RM support any logic operations (e.g. attr1 > attr2?) among data/time attributes? Say, I wanted to select examples by defining a data_time attribute range through "Filter Examples," how do I write a constant of data_time type? Or can I generate such a value in any operators, and then make the comparison?

    Thank you!

    edusr
    hi

    dunno if it helps but try with Generate attributes operator that allows you to make math expressions with attributes generating so a new one.
  • land
    land New Altair Community Member
    Hi,
    actually you pointed out one of the last very unconvenient parts of RapidMiner. The Filter Example operator will be changed completely in one of the next releases.
    But as already pointed out, you can use the Generate Attribute operator to evaluate any expression. You can later filter by the outcome of the expression using filter example again.

    Greetings,
    Sebastian
  • edusr
    edusr New Altair Community Member
    fritmore wrote:

    hi

    dunno if it helps but try with Generate attributes operator that allows you to make math expressions with attributes generating so a new one.

    I tried and it works! Thank you for the idea!
  • edusr
    edusr New Altair Community Member
    Sebastian Land wrote:

    Hi,
    actually you pointed out one of the last very unconvenient parts of RapidMiner. The Filter Example operator will be changed completely in one of the next releases.
    But as already pointed out, you can use the Generate Attribute operator to evaluate any expression. You can later filter by the outcome of the expression using filter example again.

    Greetings,
    Sebastian
    Sebastian, I tried the idea, and it works well. Thank you!

    One more area I would look forward to some improvements is on interactive data exploration.  What I mean is, giving an example, select/de-select examples through marking points in plots, which may need a system attribute to record the example/case status. The newly selected example/case set can then be saved in repositories or passed to operators in a process for more analysis. - just my 2 cents.
  • land
    land New Altair Community Member
    Hi,
    it's already on our todo for 6.0. But we can't do magic.

    Greetings,
    Sebastian