🥳 RAPIDMINER 9.9 IS OUT!!! 🥳
The updates in 9.9 power advanced use cases and offer productivity enhancements for users who prefer to code.
How to use prediction() in formula?
How do you use the predictions of a model in a subsequent FeatureGeneration formula to transform the values?
I've developed a model that predicts the log-odds of an event, but I want to transform it back to a probability so I can plot it on a scale that is more familiar.
e.g. LinearRegression of y on x, then use Model Applier to get prediction(y)
I can use FeatureGenerator to convert the dependent to a probability:
prob_y = exp(y) / (1+exp(y))
... which in RM would be written as:
However, when I try to do the same thing with the predicted values, which are named by the ModelApplier node as "prediction(y)", the parentheses in the name cause errors:
I've tried it with single or double quotes, without success:
Is there a way to reference a feature name that contains a special character (like parens), or do you have to rename the feature to something "safer"?