?? externalvalidity.h
字號(hào):
/* ExternalValidity.h Header file for the ExternalValidity class Copyright (c) 2005, 2006 by Hyuk Cho Copyright (c) 2003, 2004 by Hyuk Cho, Yuqiang Guan, and Suvrit Sra {hyukcho, yguan, suvrit}@cs.utexas.edu*/#if !defined(_EXTERNAL_VALIDITY_H_)#define _EXTERNAL_VALIDITY_H_using namespace std;extern long memoryUsed;class ExternalValidity{ protected: int **confusionMatrix, *classSize, *clusterSize; int numClass, numCluster, numPoint; int *classLabel, *clusterLabel; bool isSilent; // not used... public: ExternalValidity(int nClass, int nCluster, int nPoint, int *classLbl, int *clusterLbl); ~ExternalValidity(); void setSilent(bool s); // not used... void printCM(ostream &os); void purity_Entropy_MutInfo(bool isShowingEachCluster, ostream &os1, ostream &os2, ostream &os3); void F_measure(ostream &os1, ostream &os2, ostream &os3); void micro_avg_precision_recall(double &p_t, double &r_t, ostream &os1, ostream &os2, ostream &os3); void getAccuracy(double &accuracy, ostream &os1, ostream &os2, ostream &os3);}; #endif //!defined(_EXTERNAL_VALIDITY_H_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -