🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

[Solved] Error in Generate Attributes operator

User: "qwertz"
New Altair Community Member
Updated by Jocelyn
Dear community,

When using function "param()" of the type "process" in "generate attributes" operator I receive an error:
"unrecocnized symbol "param" encountered"

I also tried the example given in the parameter's help: "param("Read Excel", "file") --> same error


Does anyone encountered the same problem?


Cheers
Sachs

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "MariusHelf"
    New Altair Community Member
    Hi Sachs,

    just be a bit more courageous on hitting the play button, even if RapidMiner complains :) This is only a bug in the function editor, but if you run the process, it will work.
    I created a bug for this, where you can track the progress on this issue: http://bugs.rapid-i.com/show_bug.cgi?id=1192

    Best, Marius
    User: "qwertz"
    New Altair Community Member
    OP
    Hi Marius,

    thanks for sharing that information. It inspired me to fool around a little and after quite a long time I found out that

    - param() function is case sensitive (e.g. param("Generate Data", "datamanagement"))
    - parameters consisting of two words need to be written together with underscore (e.g. param("Windowing", "label_attribute"))


    Hope this helps a little.


    Regards
    Sachs
    User: "MariusHelf"
    New Altair Community Member
    Yeah, basically everything in RapidMiner is case sensitive: macro names, attribute names, and also operator names.
    The underscore thingy is admittedly a bit tricky if you don't know about it. The cause for that is that internally parameter names can't contain spaces and use underscores instead. On screen they are replaced with whitespace for readabilty.