資源簡(jiǎn)介
劃分聚類K均值挖掘,本程序用MFC強(qiáng)力打造經(jīng)典算法,程序附有要處理的數(shù)據(jù)集,程序源代碼有很詳細(xì)的注釋,功能基本實(shí)現(xiàn)。
數(shù)據(jù)集為4177行記錄,8維屬性元組。
本程序?yàn)镸FC做成,界面友好。
廣大用戶完全可以根據(jù)已知的數(shù)據(jù)集,對(duì)程序進(jìn)行相應(yīng)的修改 。

代碼片段和文件信息
//?SHELL.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“SHELL.h“
#include?“SHELLDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CSHELLApp
BEGIN_MESSAGE_MAP(CSHELLApp?CWinApp)
//{{AFX_MSG_MAP(CSHELLApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CSHELLApp?construction
CSHELLApp::CSHELLApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CSHELLApp?object
CSHELLApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CSHELLApp?initialization
BOOL?CSHELLApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CSHELLDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????766??2009-12-23?11:24??劃分聚類\icon1.ico
?????文件???????3561??2009-12-23?11:16??劃分聚類\ReadMe.txt
?????文件???????1078??2009-12-23?11:16??劃分聚類\res\SHELL.ico
?????文件????????397??2009-12-23?11:16??劃分聚類\res\SHELL.rc2
?????文件????????913??2009-12-28?10:01??劃分聚類\resource.h
?????文件??????36204??2010-01-05?15:55??劃分聚類\SHELL.APS
?????文件???????1520??2010-01-05?15:56??劃分聚類\SHELL.clw
?????文件???????2049??2009-12-23?11:16??劃分聚類\SHELL.cpp
?????文件???????4204??2009-12-28?16:26??劃分聚類\SHELL.dsp
?????文件????????518??2009-12-23?11:16??劃分聚類\SHELL.dsw
?????文件???????1313??2009-12-23?11:16??劃分聚類\SHELL.h
?????文件??????82944??2010-01-05?15:56??劃分聚類\SHELL.ncb
?????文件??????51712??2010-01-05?15:56??劃分聚類\SHELL.opt
?????文件????????246??2010-01-05?15:56??劃分聚類\SHELL.plg
?????文件???????6825??2010-01-05?15:55??劃分聚類\SHELL.rc
?????文件??????16166??2009-12-30?22:07??劃分聚類\SHELLDlg.cpp
?????文件???????5215??2009-12-31?14:59??劃分聚類\SHELLDlg.h
?????文件????????207??2009-12-23?11:16??劃分聚類\StdAfx.cpp
?????文件???????1054??2009-12-23?11:16??劃分聚類\StdAfx.h
?????文件?????191873??2008-10-23?08:24??abalone.data
?????目錄??????????0??2010-01-05?15:56??劃分聚類\Release
?????目錄??????????0??2009-12-31?16:44??劃分聚類\res
?????目錄??????????0??2010-01-05?15:56??劃分聚類
-----------?---------??----------?-----??----
???????????????408765????????????????????23
評(píng)論
共有 條評(píng)論