?? k-means.cpp
字號:
// K-means.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
/*********************************************************/
/* */
/* k-means.cpp */
/* ========= */
/* */
/* C++ programme to */
/* Non-Linking Topic-Independent */
/* Web Key-resource Page Selection */
/* Based on K-means Clustering k-means */
/* clustering on 3D data */
/* */
/* Written for Data Mining Project */
/* */
/* Version 1: ChenyuDong 01/05/09 */
/* */
/* ssdut of dlut ,Dalian,China */
/* e-mail: knifecyd@sina.com */
/* */
/* To compile under windows: */
/* */
/* */
/* */
/* */
/* */
/* */
/*********************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include "KMeans.h"
void main(int argc , char *argv [])
{
KMeans km;
// km.readInstance("IN333.txt");
// km.readInstance("tt.txt");
km.readInstance("IN--.txt"); ///已被記錄的實驗結果
km.run();
cout<<"hello world"<<endl;
//return(0);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -