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
IOMultiplier and IOSelector and other basic questions
Legacy User
Member Posts: 0 Newbie
hi all,
I am new to RapidMiner and have some basic questions now:
1) IOMultiplier and IOSelector
can somebody give me a full working example of how to use IOMultiplier? what I want to do is to duplicate a dataset to create two separate operator chains for preprocessing the data.
the following micky mouse example is working, but validating the process structure throws an error ([Error] Mapping_1: Mapping_1: Mapping_1: Missing input: ExampleSet).
2) change attribute type
how can I change the attribute type from integer to nominal without defining a mapping? what I would like to have is something like String.valueOf(int i) applied to each value of a column in my dataset. again, could someone give me a complete working example please?
thanks!
I am new to RapidMiner and have some basic questions now:
1) IOMultiplier and IOSelector
can somebody give me a full working example of how to use IOMultiplier? what I want to do is to duplicate a dataset to create two separate operator chains for preprocessing the data.
the following micky mouse example is working, but validating the process structure throws an error ([Error] Mapping_1: Mapping_1: Mapping_1: Missing input: ExampleSet).
is there a way to get a graphic representation of separate operator chains in the tree structure of the operator tree view? (with n child nodes for an IOMultiplier)
<operator name="Root" class="Process" expanded="yes">
<operator name="DatabaseExampleSource" class="DatabaseExampleSource">
<parameter key="database_system" value="PostgreSQL"/>
<!-- connection settings -->
</operator>
<operator name="IOMultiplier" class="IOMultiplier">
<parameter key="io_object" value="ExampleSet"/>
<parameter key="number_of_copies" value="2"/>
</operator>
<operator name="IOSelector_1" class="IOSelector">
<parameter key="io_object" value="ExampleSet"/>
<parameter key="select_which" value="1"/>
</operator>
<operator name="Mapping_1" class="Mapping">
<parameter key="add_default_mapping" value="true"/>
<parameter key="attributes" value="attribute_name"/>
<parameter key="default_value" value="17"/>
</operator>
<operator name="IOSelector_2" class="IOSelector">
<parameter key="io_object" value="ExampleSet"/>
<parameter key="select_which" value="2"/>
</operator>
<operator name="Mapping_2" class="Mapping">
<parameter key="add_default_mapping" value="true"/>
<parameter key="attributes" value="attribute_name"/>
<parameter key="default_value" value="4"/>
</operator>
</operator>
2) change attribute type
how can I change the attribute type from integer to nominal without defining a mapping? what I would like to have is something like String.valueOf(int i) applied to each value of a column in my dataset. again, could someone give me a complete working example please?
thanks!
0
Answers
regards,
Steffen
thanks for your reply! i would like to have a graphical representation like this (kind of what it is like in SPSS Clementine):
is this possible with RapidMiner? as far as i understand it Numerical2Polynominal is applied to every attribute, right?
i want the conversion to be applied to the values of only one attribute (one columnn in my dataset), how can i do this?
thanks!
regards,
Steffen