discrete attribute that indicates the age

heheehehee MemberPosts:4Newbie
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

Answers

  • VanlalVanlal MemberPosts:12Contributor II
    Hi

     
       
       
       
     
     
       
       
       
       
       
       
       
         
           
         
         
           
             
           
           
         
         
         
         
         
         
         
       
     

    The sample data i used is
    Name DOB
    Albert 11/8/1990
    约翰 11/4/1991
    Carin 12/3/1992
    Hulk 9/4/1992


  • Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:1,635Unicorn
    Use the "date_diff" function within Generate Attributes and that should give you what you need.

    Brian T.
    Lindon Ventures
    Data Science Consulting from Certified RapidMiner Experts
Sign InorRegisterto comment.