⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clustering.java

📁 上传试试看 不知道 是不是一定成功的
💻 JAVA
字号:
package k_means;

import java.io.IOException;
import java.util.LinkedList;
import java.util.Random;

/**
 * Clustering process
 * @author YU
 *
 */
public class Clustering
{
	private Cluster[] Clu; //a array of Cluster
	private int k; //the number of the cluster that the user wanted
	private DataInput DataInputFromFile;
	private Double[][] Data;
	private Double[][] Center,CenterOld;//the current and old centers of the clusters
	private LinkedList list;
    /**
     * constrcted function : initialize the attribute
     * @param k is the number of the clustering
     * @param FileName is the name of the file that stores the data
     * @param StrCut is the 鏁版嵁鍒嗛殧绗

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -