Python Execution in RapidMiner

manojthangaraj92
manojthangaraj92 New Altair Community Member
edited November 2024 in Community Q&A
I was trying to build a decision tree model in python and execute it in python operator in RapidMiner, where is got the problem 'string cannot be converted into floats'. Some of my data are string type. please suggest me a way to convert those categorical values to numerical ones. Thanks a million.

Answers

  • jacobcybulski
    jacobcybulski New Altair Community Member
    Check the Help associated with the Execute Python operator, see the tutorial on "Meta Data Handling", which shows you to pass different types of attributes in and out of Python.