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

📄 k-means.cpp

📁 经典的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 + -