An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Component folderView = new ExtendedJScrollPane(new ClusterTreeVisualization((FlatClusterModel) cm));
0- as it is now
<operator name="Root" class="Process" expanded="yes"> <operator name="ExampleSetGenerator" class="ExampleSetGenerator"> <parameter key="number_of_attributes" value="2"/> <parameter key="target_function" value="gaussian mixture clusters"/> </operator> <operator name="IdTagging" class="IdTagging"> </operator> <operator name="FeatureNameFilter" class="FeatureNameFilter"> <parameter key="filter_special_features" value="true"/> <parameter key="skip_features_with_name" value="label"/> </operator> <operator name="KMeans" class="KMeans"> <parameter key="k" value="4"/> </operator> <operator name="ClusterModel2ExampleSet" class="ClusterModel2ExampleSet"> <parameter key="keep_cluster_model" value="false"/> </operator> <operator name="ExampleSetWriter" class="ExampleSetWriter"> <parameter key="example_set_file" value="cm_out_complete.dat"/> </operator></operator>
1- place rec ID and cluster number at the beginning of the line and attributes after
<operator name="Root" class="Process" expanded="yes"> <operator name="ExampleSetGenerator" class="ExampleSetGenerator"> <parameter key="number_of_attributes" value="2"/> <parameter key="target_function" value="gaussian mixture clusters"/> </operator> <operator name="IdTagging" class="IdTagging"> </operator> <operator name="FeatureNameFilter" class="FeatureNameFilter"> <parameter key="filter_special_features" value="true"/> <parameter key="skip_features_with_name" value="label"/> </operator> <operator name="KMeans" class="KMeans"> <parameter key="k" value="4"/> </operator> <operator name="ClusterModel2ExampleSet" class="ClusterModel2ExampleSet"> <parameter key="keep_cluster_model" value="false"/> </operator> <operator name="ExampleSetWriter" class="ExampleSetWriter"> <parameter key="example_set_file" value="cm_out_complete.dat"/> <parameter key="format" value="special_format"/> <parameter key="special_format" value="$i $v[cluster] $a"/> </operator></operator>
2 - output only rec ID and cluster number, leave off cluster attributes
<operator name="Root" class="Process" expanded="yes"> <operator name="ExampleSetGenerator" class="ExampleSetGenerator"> <parameter key="number_of_attributes" value="2"/> <parameter key="target_function" value="gaussian mixture clusters"/> </operator> <operator name="IdTagging" class="IdTagging"> </operator> <operator name="FeatureNameFilter" class="FeatureNameFilter"> <parameter key="filter_special_features" value="true"/> <parameter key="skip_features_with_name" value="label"/> </operator> <operator name="KMeans" class="KMeans"> <parameter key="k" value="4"/> </operator> <operator name="ClusterModel2ExampleSet" class="ClusterModel2ExampleSet"> <parameter key="keep_cluster_model" value="false"/> </operator> <operator name="ExampleSetWriter" class="ExampleSetWriter"> <parameter key="example_set_file" value="cm_out_complete.dat"/> <parameter key="format" value="special_format"/> <parameter key="special_format" value="$i $v[cluster]"/> </operator></operator>