image thumbnail

ARMADA Data Mining Tool version 1.4


James Malone (view profile)


13 Feb 2003 (Updated )

An association rule data mining tool for experimentation and analysis.

%ARMADA - Association Rule Mining And Deduction Analysis
%Desciprtion:	Data Mining Tool for extraction of association rules and analysis
%					of deduction methods.
%Copyright: 	James Malone
%Date:			14/04/03
%Version:		1.2


%Function to identify those candidates that match LHS goals specified
%Returns match = 1 if match is found, otherwise match = 0 if not a match
function match = checkIfLHSGoal(candidate,goal)

%Initiate variables
match = 0;
i = 1;

%while goal has not been matched and end of RHS_goal has not been reached 
while (match == 0 & i <= size(goal,2))

   %Convert string to number for comparison
   goal_as_num = str2num(goal{i});
   %If goal is a valid number then goal_as_num will not be empty
   if (~isempty(goal_as_num))
      %If goal is a member of rule set match to 1
      if ismember(goal_as_num,candidate)
         match = 1;
   i = i + 1;   


Contact us