convert text to number
maryamshirzad
MemberPosts:11Learner I
嗨
i have one column that its type is text. but shows in rapidminer as polynominal. i want this column convert to numeric.
for example, value of this column is "A","B","C" now i want convert to 1,2,3.How is this done?
i have one column that its type is text. but shows in rapidminer as polynominal. i want this column convert to numeric.
for example, value of this column is "A","B","C" now i want convert to 1,2,3.How is this done?
Tagged:
0
Best Answer
-
Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:1,635UnicornNominal to Numerical operator will do that for you if you select "unique integers" in the parameters as the conversion method under "coding type." See the help description of that operator for more details.
5
Answers
Or you can use Nominal to Numerical to allow it to recode automatically.
In either case, be careful what you do with the resulting numerical data! It is not often the case that a strict numerical substitution like this is suitable for use in ML algorithms.
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts