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

discrete attribute that indicates the age

heheehehee Member Posts: 4 Learner I
Hello!

My query is ..
How can I get to the following:

"Generate a new discrete attribute that indicates the age of the
people as of August 8, 1934 "

The above, taking into account that:

DOB are represented in the table as:

August 18, 1990

Help pls

Best Answers

  • heheehehee Member Posts: 4 Learner I
    Solution Accepted
    BalazsBarany 

    Through where can I make the conversion? :cc

Answers

  • BalazsBaranyBalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 Unicorn
    Hi @hehee,

    the Generate Attributes operator can help you here. It allows you to create new attributes using formulas and functions (similar to programming languages or Excel).

    Check out the conversion and the date functions there.
    For converting other representations into dates, or generating the comparison date (1934-08-08) you could use the date_parse or date_parse_custom functions.
    For comparing dates and timestamps there is date_diff.

    Regards,
    Balázs
Sign In or Register to comment.