资源简介

内含有大量多标签多类别分类算法和对应的代码,包括MIML_LPT,MIMLBoost,MIMLSVM,MIMLfast,KISAR,MIMLKNN,MLKNN,DMIMLSVM,MIMLMISVM等等,部分代码含有对应的文献,学习多类标分类的好资源。

资源截图

代码片段和文件信息

% This is an example to use KiSar method on the miml image data set ‘scene‘. 
% In particular 1800 bags are labeled while the rest are unlabeled. 

addpath(‘liblinear-1.8‘);
addpath(‘auxiliary‘);
%% example_data数据库
load(‘example_data.mat‘);
train_bags = cell(size(train_data1)1);
for i = 1:size(train_data1)
    train_bags{i1} = train_data{i1}‘;
end
test_bags = cell(size(test_data1)1);
for i = 1:size(test_data1)
    test_bags{i1} = test_data{i1}‘;
end
train_targets = train_targets‘;
test_targets = test_targets‘;

% %% scene数据库
% load(‘scene.mat‘);

%set the parameters
options = [];
options.C = 500; %parameter for liblinear
options.iteration = 20; %maximum optimization iteration
options.epsilon = 1e-3; %epsilon 
options.K = 1000; %maximum number of prototypes

%set the label relation NN_matrix
[Ttemp] = size(train_targets);
y = (train_targets+1)/2;
cor = y*y‘; % co-occurence
NN_matrix = (cor>=50);

%training
model = kisar_train(train_bags train_targets NN_matrix options);

%prediction
[prediction pre_label result] = kisar_predict(model test_bags test_targets);

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        649  2009-02-04 22:04  DMIMLSVM\Auxiliary\Average_f1.m

     文件       1910  2005-04-21 16:43  DMIMLSVM\Auxiliary\Average_precision.m

     文件        863  2009-02-04 22:01  DMIMLSVM\Auxiliary\Average_recall.m

     文件       1334  2005-01-23 22:10  DMIMLSVM\Auxiliary\coverage.m

     文件        539  2005-01-23 21:39  DMIMLSVM\Auxiliary\Hamming_loss.m

     文件       3262  2010-02-12 21:15  DMIMLSVM\Auxiliary\MIML_cluster.m

     文件       1727  2005-05-31 14:52  DMIMLSVM\Auxiliary\One_error.m

     文件       1681  2005-04-21 16:43  DMIMLSVM\Auxiliary\Ranking_loss.m

     文件        884  2006-12-30 11:03  DMIMLSVM\BootStrap.m

     文件        157  2009-03-06 22:23  DMIMLSVM\calibr.m

     文件       1190  2011-10-17 15:38  DMIMLSVM\CCCP.m

     文件       5322  2007-07-25 17:23  DMIMLSVM\CCCPStep.m

     文件       5166  2007-06-04 17:02  DMIMLSVM\CCCPStep2.m

     文件      12554  2007-11-13 21:35  DMIMLSVM\cutting_plane\301350_result.mat

     文件       1552  2007-10-15 16:25  DMIMLSVM\cutting_plane\cal_err.m

     文件        182  2007-11-13 14:56  DMIMLSVM\cutting_plane\cal_err_new.m

     文件      15199  2007-11-13 16:04  DMIMLSVM\cutting_plane\cutting_plane.m

     文件       6823  2008-03-30 21:36  DMIMLSVM\cutting_plane\cutting_plane_new.m

     文件       6825  2008-01-25 16:23  DMIMLSVM\cutting_plane\cutting_plane_new_old.m

     文件         35  2007-09-27 10:58  DMIMLSVM\cutting_plane\D.m

     文件        103  2007-09-30 19:19  DMIMLSVM\cutting_plane\d2i.m

     文件         42  2007-09-27 14:21  DMIMLSVM\cutting_plane\extra.m

     文件         46  2007-09-27 14:22  DMIMLSVM\cutting_plane\extra_h.m

     文件         58  2007-09-27 14:24  DMIMLSVM\cutting_plane\extra_st.m

     文件        356  2007-10-24 10:20  DMIMLSVM\cutting_plane\full_qpdantz.m

     文件        465  2007-11-13 15:51  DMIMLSVM\cutting_plane\full_quadprog.m

     文件        145  2007-11-01 13:34  DMIMLSVM\cutting_plane\make.m

     文件    5361567  2007-11-17 03:00  DMIMLSVM\cutting_plane\MIML.mat

     文件         32  2007-11-16 09:09  DMIMLSVM\cutting_plane\parameter_selection.m

     文件       1950  2007-10-15 13:17  DMIMLSVM\cutting_plane\prun.m

............此处省略69个文件信息

评论

共有 条评论