?? rezult.txt
字號:
Pattern:0.0 0.0
Pattern:1.0 0.0
Pattern:0.0 1.0
Pattern:2.0 1.0
Pattern:1.0 2.0
Pattern:2.0 2.0
Pattern:2.0 0.0
Pattern:0.0 2.0
Pattern:7.0 6.0
Pattern:7.0 7.0
Pattern:7.0 8.0
Pattern:9.0 6.0
Pattern:8.0 7.0
Pattern:8.0 8.0
Pattern:8.0 9.0
Pattern:9.0 7.0
Pattern:9.0 8.0
Pattern:9.0 9.0
Initial cluster centers:
ClusterCenter[0]=0.0 0.0
ClusterCenter[1]=1.0 0.0
PASS= 1
Now calculate pattern 0 to the cluster[0['s distance:
pattern 0 to the cluster [0]'s distance is 0.0 !
Now calculate pattern 0 to the cluster[1['s distance:
pattern 0 to the cluster [1]'s distance is 1.0 !
pattern 0 belong to cluster[0]
Now calculate pattern 1 to the cluster[0['s distance:
pattern 1 to the cluster [0]'s distance is 1.0 !
Now calculate pattern 1 to the cluster[1['s distance:
pattern 1 to the cluster [1]'s distance is 0.0 !
pattern 1 belong to cluster[1]
Now calculate pattern 2 to the cluster[0['s distance:
pattern 2 to the cluster [0]'s distance is 1.0 !
Now calculate pattern 2 to the cluster[1['s distance:
pattern 2 to the cluster [1]'s distance is 1.4142135623730951 !
pattern 2 belong to cluster[0]
Now calculate pattern 3 to the cluster[0['s distance:
pattern 3 to the cluster [0]'s distance is 2.23606797749979 !
Now calculate pattern 3 to the cluster[1['s distance:
pattern 3 to the cluster [1]'s distance is 1.4142135623730951 !
pattern 3 belong to cluster[1]
Now calculate pattern 4 to the cluster[0['s distance:
pattern 4 to the cluster [0]'s distance is 2.23606797749979 !
Now calculate pattern 4 to the cluster[1['s distance:
pattern 4 to the cluster [1]'s distance is 2.0 !
pattern 4 belong to cluster[1]
Now calculate pattern 5 to the cluster[0['s distance:
pattern 5 to the cluster [0]'s distance is 2.8284271247461903 !
Now calculate pattern 5 to the cluster[1['s distance:
pattern 5 to the cluster [1]'s distance is 2.23606797749979 !
pattern 5 belong to cluster[1]
Now calculate pattern 6 to the cluster[0['s distance:
pattern 6 to the cluster [0]'s distance is 2.0 !
Now calculate pattern 6 to the cluster[1['s distance:
pattern 6 to the cluster [1]'s distance is 1.0 !
pattern 6 belong to cluster[1]
Now calculate pattern 7 to the cluster[0['s distance:
pattern 7 to the cluster [0]'s distance is 2.0 !
Now calculate pattern 7 to the cluster[1['s distance:
pattern 7 to the cluster [1]'s distance is 2.23606797749979 !
pattern 7 belong to cluster[0]
Now calculate pattern 8 to the cluster[0['s distance:
pattern 8 to the cluster [0]'s distance is 9.219544457292887 !
Now calculate pattern 8 to the cluster[1['s distance:
pattern 8 to the cluster [1]'s distance is 8.48528137423857 !
pattern 8 belong to cluster[1]
Now calculate pattern 9 to the cluster[0['s distance:
pattern 9 to the cluster [0]'s distance is 9.899494936611665 !
Now calculate pattern 9 to the cluster[1['s distance:
pattern 9 to the cluster [1]'s distance is 9.219544457292887 !
pattern 9 belong to cluster[1]
Now calculate pattern 10 to the cluster[0['s distance:
pattern 10 to the cluster [0]'s distance is 10.63014581273465 !
Now calculate pattern 10 to the cluster[1['s distance:
pattern 10 to the cluster [1]'s distance is 10.0 !
pattern 10 belong to cluster[1]
Now calculate pattern 11 to the cluster[0['s distance:
pattern 11 to the cluster [0]'s distance is 10.816653826391969 !
Now calculate pattern 11 to the cluster[1['s distance:
pattern 11 to the cluster [1]'s distance is 10.0 !
pattern 11 belong to cluster[1]
Now calculate pattern 12 to the cluster[0['s distance:
pattern 12 to the cluster [0]'s distance is 10.63014581273465 !
Now calculate pattern 12 to the cluster[1['s distance:
pattern 12 to the cluster [1]'s distance is 9.899494936611665 !
pattern 12 belong to cluster[1]
Now calculate pattern 13 to the cluster[0['s distance:
pattern 13 to the cluster [0]'s distance is 11.313708498984761 !
Now calculate pattern 13 to the cluster[1['s distance:
pattern 13 to the cluster [1]'s distance is 10.63014581273465 !
pattern 13 belong to cluster[1]
Now calculate pattern 14 to the cluster[0['s distance:
pattern 14 to the cluster [0]'s distance is 12.041594578792296 !
Now calculate pattern 14 to the cluster[1['s distance:
pattern 14 to the cluster [1]'s distance is 11.40175425099138 !
pattern 14 belong to cluster[1]
Now calculate pattern 15 to the cluster[0['s distance:
pattern 15 to the cluster [0]'s distance is 11.40175425099138 !
Now calculate pattern 15 to the cluster[1['s distance:
pattern 15 to the cluster [1]'s distance is 10.63014581273465 !
pattern 15 belong to cluster[1]
Now calculate pattern 16 to the cluster[0['s distance:
pattern 16 to the cluster [0]'s distance is 12.041594578792296 !
Now calculate pattern 16 to the cluster[1['s distance:
pattern 16 to the cluster [1]'s distance is 11.313708498984761 !
pattern 16 belong to cluster[1]
Now calculate pattern 17 to the cluster[0['s distance:
pattern 17 to the cluster [0]'s distance is 12.727922061357855 !
Now calculate pattern 17 to the cluster[1['s distance:
pattern 17 to the cluster [1]'s distance is 12.041594578792296 !
pattern 17 belong to cluster[1]
CLUSTER[0]: 0.0 1.0
the Patterns in the Cluster[0] are: 0.0 0.0
the Patterns in the Cluster[0] are: 0.0 1.0
the Patterns in the Cluster[0] are: 0.0 2.0
CLUSTER[1]: 5.933333333333334 5.4
the Patterns in the Cluster[1] are: 1.0 0.0
the Patterns in the Cluster[1] are: 2.0 1.0
the Patterns in the Cluster[1] are: 1.0 2.0
the Patterns in the Cluster[1] are: 2.0 2.0
the Patterns in the Cluster[1] are: 2.0 0.0
the Patterns in the Cluster[1] are: 7.0 6.0
the Patterns in the Cluster[1] are: 7.0 7.0
the Patterns in the Cluster[1] are: 7.0 8.0
the Patterns in the Cluster[1] are: 9.0 6.0
the Patterns in the Cluster[1] are: 8.0 7.0
the Patterns in the Cluster[1] are: 8.0 8.0
the Patterns in the Cluster[1] are: 8.0 9.0
the Patterns in the Cluster[1] are: 9.0 7.0
the Patterns in the Cluster[1] are: 9.0 8.0
the Patterns in the Cluster[1] are: 9.0 9.0
PASS= 2
Now calculate pattern 0 to the cluster[0['s distance:
pattern 0 to the cluster [0]'s distance is 1.0 !
Now calculate pattern 0 to the cluster[1['s distance:
pattern 0 to the cluster [1]'s distance is 8.022745443078975 !
pattern 0 belong to cluster[0]
Now calculate pattern 1 to the cluster[0['s distance:
pattern 1 to the cluster [0]'s distance is 1.4142135623730951 !
Now calculate pattern 1 to the cluster[1['s distance:
pattern 1 to the cluster [1]'s distance is 7.314217509602636 !
pattern 1 belong to cluster[0]
Now calculate pattern 2 to the cluster[0['s distance:
pattern 2 to the cluster [0]'s distance is 0.0 !
Now calculate pattern 2 to the cluster[1['s distance:
pattern 2 to the cluster [1]'s distance is 7.386774969121805 !
pattern 2 belong to cluster[0]
Now calculate pattern 3 to the cluster[0['s distance:
pattern 3 to the cluster [0]'s distance is 2.0 !
Now calculate pattern 3 to the cluster[1['s distance:
pattern 3 to the cluster [1]'s distance is 5.901788806041022 !
pattern 3 belong to cluster[0]
Now calculate pattern 4 to the cluster[0['s distance:
pattern 4 to the cluster [0]'s distance is 1.4142135623730951 !
Now calculate pattern 4 to the cluster[1['s distance:
pattern 4 to the cluster [1]'s distance is 5.991475425784352 !
pattern 4 belong to cluster[0]
Now calculate pattern 5 to the cluster[0['s distance:
pattern 5 to the cluster [0]'s distance is 2.23606797749979 !
Now calculate pattern 5 to the cluster[1['s distance:
pattern 5 to the cluster [1]'s distance is 5.199145228892064 !
pattern 5 belong to cluster[0]
Now calculate pattern 6 to the cluster[0['s distance:
pattern 6 to the cluster [0]'s distance is 2.23606797749979 !
Now calculate pattern 6 to the cluster[1['s distance:
pattern 6 to the cluster [1]'s distance is 6.680651997455871 !
pattern 6 belong to cluster[0]
Now calculate pattern 7 to the cluster[0['s distance:
pattern 7 to the cluster [0]'s distance is 1.0 !
Now calculate pattern 7 to the cluster[1['s distance:
pattern 7 to the cluster [1]'s distance is 6.8384533664012395 !
pattern 7 belong to cluster[0]
Now calculate pattern 8 to the cluster[0['s distance:
pattern 8 to the cluster [0]'s distance is 8.602325267042627 !
Now calculate pattern 8 to the cluster[1['s distance:
pattern 8 to the cluster [1]'s distance is 1.2238373167123877 !
pattern 8 belong to cluster[1]
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -