%This is an examplar file on how the iMLCU program could be used (The main function is "iMLCU.m")
%
%Type 'help iMLCU' under Matlab prompt for more detailed information
%
%N.B.: Please ensure that libsvm package [1] (as attached) is put under the matlab path before envoking the iMLCU function.
%
%[1] C.-C. Chang and C.-J. Lin. LIBSVM: a library for support vector machines, Technical Report, 
%2001. [http://www.csie.ntu.edu.tw/~cjlin/libsvm]


% Loading the file containing the necessary inputs for calling the iMLCU function
load('sample_data.mat'); 

%Set the cost parameters used by iMLCU
C1=20;
C2=0.01;

% Calling the main function iMLCU
[ RankingLoss,OneError,Coverage,Average_Precision,Macro_AUC,trained_w,trained_b ] = iMLCU( label_train_data,label_train_target,unlabel_train_data,test_data,test_target,C1,C2 );