2016-05-17 4 views
0

私はRapid Minerを使用して、k-Medoidsアルゴリズムのいくつかの結果とパフォーマンスを見ています。私はスキームを作成して出力を見ることができましたが、各クラスタの内側に中心点(選択されたメドイド)が作成されていることを確認したいと思います。RapidMiner - k-Medoids。メドイドを特定する

IMG1:デザインenter image description here

IMG2:あなたは、クラスタ重心に対応する設定例を作成するためにExtract Cluster Prototypes演算子を使用することができますenter image description here

+0

私が正しく思い出すと、rapidminerのK-medoidsは欠陥のある実装です。私はそれが実際にk-medoidsを実装するのではなく、k-meansの非標準的な変形であると信じています。しかし、ELKIの方がはるかに好きなので、私はクラスタ化のためにrapidminerを見てからしばらくしています。 –

答えて

0

結果。 Append演算子を使用して元のデータに結合することができますが、サンプルセットを互換にする作業は少しあります。

は、ここでは、重心を見ることができるように

<?xml version="1.0" encoding="UTF-8" standalone="no"?> 
<process version="7.0.001"> 
    <context> 
    <input/> 
    <output/> 
    <macros/> 
    </context> 
    <operator activated="true" class="process" compatibility="7.0.001" expanded="true" name="Process"> 
    <process expanded="true"> 
     <operator activated="true" class="retrieve" compatibility="7.0.001" expanded="true" height="68" name="Retrieve Iris" width="90" x="45" y="34"> 
     <parameter key="repository_entry" value="//Samples/data/Iris"/> 
     </operator> 
     <operator activated="true" class="k_medoids" compatibility="7.0.001" expanded="true" height="82" name="Clustering" width="90" x="179" y="136"> 
     <parameter key="k" value="3"/> 
     </operator> 
     <operator activated="true" class="generate_attributes" compatibility="7.0.001" expanded="true" height="82" name="Generate Attributes" width="90" x="313" y="136"> 
     <list key="function_descriptions"> 
      <parameter key="type" value="&quot;data&quot;"/> 
     </list> 
     </operator> 
     <operator activated="true" class="select_attributes" compatibility="7.0.001" expanded="true" height="82" name="Select Attributes" width="90" x="447" y="136"> 
     <parameter key="attribute_filter_type" value="subset"/> 
     <parameter key="attributes" value="label|id"/> 
     <parameter key="invert_selection" value="true"/> 
     <parameter key="include_special_attributes" value="true"/> 
     </operator> 
     <operator activated="true" class="extract_prototypes" compatibility="7.0.001" expanded="true" height="82" name="Extract Cluster Prototypes" width="90" x="313" y="34"/> 
     <operator activated="true" class="generate_attributes" compatibility="7.0.001" expanded="true" height="82" name="Generate Attributes (2)" width="90" x="447" y="34"> 
     <list key="function_descriptions"> 
      <parameter key="type" value="&quot;centroid&quot;"/> 
     </list> 
     </operator> 
     <operator activated="true" breakpoints="before" class="append" compatibility="7.0.001" expanded="true" height="103" name="Append" width="90" x="581" y="85"/> 
     <connect from_op="Retrieve Iris" from_port="output" to_op="Clustering" to_port="example set"/> 
     <connect from_op="Clustering" from_port="cluster model" to_op="Extract Cluster Prototypes" to_port="model"/> 
     <connect from_op="Clustering" from_port="clustered set" to_op="Generate Attributes" to_port="example set input"/> 
     <connect from_op="Generate Attributes" from_port="example set output" to_op="Select Attributes" to_port="example set input"/> 
     <connect from_op="Select Attributes" from_port="example set output" to_op="Append" to_port="example set 2"/> 
     <connect from_op="Extract Cluster Prototypes" from_port="example set" to_op="Generate Attributes (2)" to_port="example set input"/> 
     <connect from_op="Generate Attributes (2)" from_port="example set output" to_op="Append" to_port="example set 1"/> 
     <connect from_op="Append" from_port="merged set" 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> 

type属性がプロットに色として使用することができます例です。

関連する問題