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
Which operator in the 9.3 version is analogous to the write model in the 5.3 version?
Ruchika_agarwal
Member Posts: 3 Learner I
in Help
I used the store operator but i am not getting results so i am not completely sure. Can someone please explain the working methodology? And also suggest another operator,if not the store operater that will help store my model as a mod file?
0
Answers
Earlier write model is used to store model in the form of .mod. I am not sure if its part of an extension as I don't see it in Rapidminer. You can use the store operator to store your model in rapidminer repository and then use retrieve operator to retrieve the stored model to apply on data.
Sample store model XML below.
<?xml version="1.0" encoding="UTF-8"?><process version="9.3.001">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="9.3.001" expanded="true" name="Process">
<parameter key="logverbosity" value="init"/>
<parameter key="random_seed" value="2001"/>
<parameter key="send_mail" value="never"/>
<parameter key="notification_email" value=""/>
<parameter key="process_duration_for_mail" value="30"/>
<parameter key="encoding" value="SYSTEM"/>
<process expanded="true">
<operator activated="true" class="retrieve" compatibility="9.3.001" expanded="true" height="68" name="Retrieve Titanic Training" width="90" x="45" y="85">
<parameter key="repository_entry" value="//Samples/data/Titanic Training"/>
</operator>
<operator activated="true" class="concurrency:parallel_decision_tree" compatibility="9.3.001" expanded="true" height="103" name="Decision Tree" width="90" x="246" y="85">
<parameter key="criterion" value="gain_ratio"/>
<parameter key="maximal_depth" value="10"/>
<parameter key="apply_pruning" value="true"/>
<parameter key="confidence" value="0.1"/>
<parameter key="apply_prepruning" value="true"/>
<parameter key="minimal_gain" value="0.01"/>
<parameter key="minimal_leaf_size" value="2"/>
<parameter key="minimal_size_for_split" value="4"/>
<parameter key="number_of_prepruning_alternatives" value="3"/>
</operator>
<operator activated="true" class="store" compatibility="9.3.001" expanded="true" height="68" name="Store" width="90" x="514" y="85">
<parameter key="repository_entry" value="//Local Repository/processes/test_process_store"/>
</operator>
<connect from_op="Retrieve Titanic Training" from_port="output" to_op="Decision Tree" to_port="training set"/>
<connect from_op="Decision Tree" from_port="model" to_op="Store" to_port="input"/>
<connect from_op="Store" from_port="through" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>
Hope this helps
Varun
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing
*can't think of an exception to this rule off the top of my head...
Scott
Yes, you just connect the mod output from your model to the Store operator and save your model as you would with your data. It has been reworked in RapidMiner 7, IIRC, so you don't need anything else. It just works.
All the best,
Rodrigo.