Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

Create new attribute

denhojerdenhojer Member Posts: 10 Contributor II
edited November 2018 in Help
In rapidminer i have a data set with an attribute called address which contain property address, what i need to do is create a new attribute which will only have the last 3 words contain in each property address. ie 231 new road County Dublin Ireland what i want to have is County Dublin Ireland in the new attribute. Could anybody help me with this process, I have tried to do it with the generate attribute process useing the function expression options but no success. Thanks for your time

Answers

  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    You can use the Replace operator and replace .* (\w+ \w+ \w+) by $1.
    For any kind of string replacement I suggest to get accustomed with regular expressions.

    Best regards,
    Marius
  • MariusHelfMariusHelf RapidMiner Certified Expert, Member Posts: 1,869 Unicorn
    Btw, there is no use of posting the question both here and on StackOverflow - that is considered cross-posting and usually considered to be against the netiquette :)
Sign In or Register to comment.