MRMD: Maximum-Relevance-Maximum-Distance
  | 
    
  | 
    
  | 
    
  | 
     
 
(1) 单标记的arff文件格式
假设输入文件总共有5个实例,4个特征和1个类标:
@relation test
@attribute Fea1 numeric
                    @attribute Fea2 numeric
                    @attribute Fea3 numeric
                    @attribute Fea4 numeric                  
                  
@attribute label {1,0} 
                  
                  
@data
12,25,26,31,1
25,26,35,95,1
56,96,54,85,0
54,63,69,58,0
56,58,23,21,1
每一行是一个样本实例,前四个是特征,最后一个是类标。
(2) 多标记的mulan的arff文件格式
假设输入文件总共有5个实例,4个特征和3个类标:
@relation test
@attribute Fea1 numeric
                    @attribute Fea2 numeric
                    @attribute Fea3 numeric
                    @attribute Fea4 numeric                  
                  
@attribute label1 {1,0} 
                    @attribute label2 {1,0} 
                    @attribute label3 {1,0}
                  
@data
12,25,26,31,1,0,1
25,26,35,95,1,0,1
56,96,54,85,0,1,0
54,63,69,58,0,1,1
56,58,23,21,1,1,0
每一行是一个样本实例,前四个是特征,后三个是类标。
(3) MEKA的arff文件格式
假设输入文件总共有5个实例,4个特征和2个类标:
@relation test
@attribute label1 {1,0} 
                    @attribute label1 {1,0}
                    
                  
@attribute Fea1 numeric
                    @attribute Fea2 numeric
                    @attribute Fea3 numeric
                    @attribute Fea4 numeric
                  
@data
1,0,12,25,26,31
1,0,25,26,35,95
0,1,56,96,54,85
0,1,54,63,69,58
1,1,56,58,23,21
每一行是一个样本实例,前两个是类标,后四个是特征。
All Rights Reserved Copyright @ 2016|Dr. GuoJisheng
Last Modified in 2016/2/23