The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
How to set parameter of class NominalToBinominal
mercyforever
Member Posts: 8 Learner III
Hi,
I have created a 'NominalToBinominal' operator using n2bOprt = OperatorService.createOperator(NominalToBinominal.class);
I wonder how I can set the attribute filter(all, single, subset, ...) of that operator.
Thanks.
I have created a 'NominalToBinominal' operator using n2bOprt = OperatorService.createOperator(NominalToBinominal.class);
I wonder how I can set the attribute filter(all, single, subset, ...) of that operator.
Thanks.
Tagged:
0
Answers
Hello, I'm just new here and I think I might know the answer to your question:
If you check the API, there are many methods provided that can be used to set the parameters:
To understand these methods, you should have an overall understanding on both the parameters in an operator, and the various types of parameter. This means you might need to check the API or the source code under the package: com.rapidminer.parameter, where you can find all the parameter types used in RM core, ( and btw you can build your own by extending the classes ParameterType and CombinedParameterType).
Moreover, you should know what parameters are used in the operator NominalToBinominal and what their types are.
You can find the parameters on the GUI, but a better suggestion is to check the method
in this class, as well as in all of its super classes and other components (such as AttributeSubsetSlector and RandomGenerator).
Here is a small example on AttributeSubsetSelector: