K-fold-Cross-Validation-master

所属分类:Windows编程
开发工具:C/C++
文件大小:363KB
下载次数:13
上传日期:2018-05-05 09:48:44
上 传 者GarethWU
说明:  进行K折交叉验证,将数据分为K份,将1份作为TEST,剩下K-1份作为TRAINING,对TEST进行测试
(K folding cross validation)

文件列表:
Accuracy.m (442, 2016-11-02)
KFoldCrossValidation.m (888, 2016-11-02)
Knn.m (1233, 2016-11-02)
LinearRegression.m (1302, 2016-11-02)
centroid.m (1801, 2016-11-02)
face_400.txt (926388, 2016-11-02)
hand_26.txt (651651, 2016-11-02)
main.m (1470, 2016-11-02)

# K-fold-Cross-Validation K- fold cross validation for KNN , Linear Regression and Centroid classifiers The program performs k-fold cross validation for KNN , Linear Regression and Centroid classifiers. the data sets used here are face_400.txt and hand_26.txt. the files are loaded automatically in the 'main'. if new data file has to be added in to the program just change the file name in the 'main.m' program. the data file format should be a csv file where the rows are features of the vectors and colums are the no of vectors. the first row of the datafile consisits of the classlabels of the each vector.

近期下载者

相关文件


收藏者