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.
"Substring Error on [Generate Attributes] Operator"
I wanted to use [Generate Attributes] operator to create a new attribute which is part of an existing one. The function expression I made is "cut(Date,1,4)", 'Date' is an existing attribute of ExampleSet, a typical presentation of the attribute is like '2007.03.12' .
When I tried to run the process, an error happened. 'Error during evaluation: Invalid argument value: Start and length exceed given string'. Anyone can tell me what I did make this happens?
When I tried to run the process, an error happened. 'Error during evaluation: Invalid argument value: Start and length exceed given string'. Anyone can tell me what I did make this happens?
Tagged:
0
Answers
the error message you quoted should have been followed by the string (attribute value for Date) that could not be cut by your function. Are you sure that every example contains a string value for Date that is at least 5 characters long?
Regards,
Matthias
Thanks very much for your response.
I change the format of attribute "Date", removed dot inside of it.
Then, I used "Numerical to Polynominal" operator to convert the type before substring.
It seems to succeed this time.
Thanks & Best Regrads
ZHENG Bin