BA-DC

所属分类:matlab编程
开发工具:matlab
文件大小:6KB
下载次数:0
上传日期:2018-05-22 11:53:48
上 传 者Achrafchen
说明:  code matlab of bat algorithm proposed by Xin she yang

文件列表:
Data_Clustering_Bat_Algorithm\Bat_Algorithm.m (5086, 2016-04-03)
Data_Clustering_Bat_Algorithm\Main.m (5767, 2016-04-03)
license.txt (1562, 2016-04-02)

The two matlab files, namely, Main.m and Bat_Algorithm.m are used to perform data clustering using Bat Algorithm. The proposed novel partitional clustering approach extracts information in the form of optimal cluster centers from training samples. The extracted cluster centers are then validated on test samples. Main.m is the file which needs to be executed. This loads the dataset and extract the cluster centers using training dataset. Post the training phase, clustering is carried out on test dataset and results are displayed. Bat_Algorithm.m is the file called from Main.m for extracting the optimal cluster centers from training dataset using Bat Algorithm. The file takes in training dataset with the upper & lower limits from each attributes as the input to the algorithm. The file returns the optimal cluster center to the Main.m In this illustration, a synthetic data is generated with predefined mean and standard deviation. The users can vary these parameters. If the users want to test on there own datasets, then the dataset have to be segregated into the corresponding training and testing portion. The lines 20 to 53 needs to be modified accordingly by assigning related dataset to the variables xdata (complete dataset), ftrain (traning dataset) and ftest (testing dataset) in the file Main.m The result of clustering can be visualized in the command prompt through the confusion matrix.

近期下载者

相关文件


收藏者