update model from exampleset created operator appliermodel
nguyenxuanhau
New Altair Community Member
Hi!
i'm update a model from exampleset created operator appliermodel on the exampleset
Because, after using operator appliermodel on a exampleset then the exampleset had been added some attributes confidence(label ...), Prediction. So apdated the model from the the exampleset that had some attributes confidence(label ...), Prediction that had error.
How, To update model from exampleset that had predicted label ?
file configuration follow as
<operator name="Root" class="Process" expanded="yes">
<parameter key="logverbosity" value="status"/>
<operator name="TextInput" class="TextInput" expanded="yes">
<list key="texts">
<parameter key=" hóa đơn chứng từ" value="cau_hoi_sua/cat_tu_hd_chung_tu"/>
</list>
<parameter key="output_word_list" value="list.txt"/>
<parameter key="id_attribute_type" value="short"/>
<list key="namespaces">
</list>
<operator name="StringTokenizer" class="StringTokenizer">
</operator>
<operator name="TokenLengthFilter" class="TokenLengthFilter">
<parameter key="min_chars" value="2"/>
</operator>
</operator>
<operator name="KMeans" class="KMeans">
</operator>
<operator name="ClusterModel2ExampleSet" class="ClusterModel2ExampleSet">
<parameter key="add_as_label" value="true"/>
</operator>
<operator name="DecisionTree" class="DecisionTree">
</operator>
<operator name="ModelWriter" class="ModelWriter">
<parameter key="model_file" value="model_file"/>
</operator>
<operator name="TextInput (2)" class="TextInput" expanded="yes">
<list key="texts">
<parameter key=" hóa đơn chứng từ" value="cau_hoi_sua/cat_tu_hd_chung_tu_test"/>
</list>
<parameter key="use_given_word_list" value="true"/>
<parameter key="input_word_list" value="list.txt"/>
<parameter key="id_attribute_type" value="short"/>
<list key="namespaces">
</list>
<operator name="StringTokenizer (2)" class="StringTokenizer">
</operator>
<operator name="TokenLengthFilter (2)" class="TokenLengthFilter">
<parameter key="min_chars" value="2"/>
</operator>
</operator>
<operator name="ModelApplier" class="ModelApplier">
<list key="application_parameters">
</list>
</operator>
<operator name="ChangeAttributeRole" class="ChangeAttributeRole">
<parameter key="name" value="prediction"/>
<parameter key="target_role" value="label"/>
</operator>
<operator name="ModelLoader" class="ModelLoader">
<parameter key="model_file" value="model_file"/>
</operator>
<operator name="ModelUpdater" class="ModelUpdater">
</operator>
</operator>
i'm update a model from exampleset created operator appliermodel on the exampleset
Because, after using operator appliermodel on a exampleset then the exampleset had been added some attributes confidence(label ...), Prediction. So apdated the model from the the exampleset that had some attributes confidence(label ...), Prediction that had error.
How, To update model from exampleset that had predicted label ?
file configuration follow as
<operator name="Root" class="Process" expanded="yes">
<parameter key="logverbosity" value="status"/>
<operator name="TextInput" class="TextInput" expanded="yes">
<list key="texts">
<parameter key=" hóa đơn chứng từ" value="cau_hoi_sua/cat_tu_hd_chung_tu"/>
</list>
<parameter key="output_word_list" value="list.txt"/>
<parameter key="id_attribute_type" value="short"/>
<list key="namespaces">
</list>
<operator name="StringTokenizer" class="StringTokenizer">
</operator>
<operator name="TokenLengthFilter" class="TokenLengthFilter">
<parameter key="min_chars" value="2"/>
</operator>
</operator>
<operator name="KMeans" class="KMeans">
</operator>
<operator name="ClusterModel2ExampleSet" class="ClusterModel2ExampleSet">
<parameter key="add_as_label" value="true"/>
</operator>
<operator name="DecisionTree" class="DecisionTree">
</operator>
<operator name="ModelWriter" class="ModelWriter">
<parameter key="model_file" value="model_file"/>
</operator>
<operator name="TextInput (2)" class="TextInput" expanded="yes">
<list key="texts">
<parameter key=" hóa đơn chứng từ" value="cau_hoi_sua/cat_tu_hd_chung_tu_test"/>
</list>
<parameter key="use_given_word_list" value="true"/>
<parameter key="input_word_list" value="list.txt"/>
<parameter key="id_attribute_type" value="short"/>
<list key="namespaces">
</list>
<operator name="StringTokenizer (2)" class="StringTokenizer">
</operator>
<operator name="TokenLengthFilter (2)" class="TokenLengthFilter">
<parameter key="min_chars" value="2"/>
</operator>
</operator>
<operator name="ModelApplier" class="ModelApplier">
<list key="application_parameters">
</list>
</operator>
<operator name="ChangeAttributeRole" class="ChangeAttributeRole">
<parameter key="name" value="prediction"/>
<parameter key="target_role" value="label"/>
</operator>
<operator name="ModelLoader" class="ModelLoader">
<parameter key="model_file" value="model_file"/>
</operator>
<operator name="ModelUpdater" class="ModelUpdater">
</operator>
</operator>
Tagged:
0
Answers
-
Hi,
I would strongly recommend to update to the recent RapidMiner 5.0. Unfortunately we cannot maintain community support for the 4.x version.
Greetings,
Sebastian0