Input argument "T" is undefined.
Ältere Kommentare anzeigen
function [FinalRules, Rules]=Apriori(T,MST,MCT)
% Create Items Set
Items=[];
for i=1:numel(T)
Items=union(Items,T{i});
end
Items=Items(:)';
% 1st level Candidates
C{1}=cell(1,numel(Items));
count{1}=zeros(size(C{1}));
for r=1:numel(Items)
C{1}{r}=Items(r);
*for i=1:numel(T)*
if IsContainedIn(C{1}{r},T{i})
count{1}(r)=count{1}(r)+1;
end
end
end
4 Kommentare
KSSV
am 2 Jan. 2017
where are the inputs? How you have called the function? I think you have called the function without T, that's why error popped.
Bhupesh Rawat
am 10 Jan. 2017
Stephen23
am 10 Jan. 2017
@Bhupesh Rawat: please show us the complete error message, which means all of the red text. Also show us or tell us exactly how you are calling this function.
Bhupesh Rawat
am 10 Jan. 2017
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Pattern Recognition and Classification finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!