image thumbnail

ARMADA Data Mining Tool version 1.4

by

 

13 Feb 2003 (Updated )

An association rule data mining tool for experimentation and analysis.

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

%-------------------------------------------------------------------------

%Function to swap the rules being displayed between those ordered by LHS 
%size and those ordered by support & confidence, depending upon option chosen
function changeRuleDisplay

option = get(gcbo,'Value');
rule_box = findobj(gcbf,'Tag','rule_box');

%If option is 1 then rules displayed is ordered by support and confidence
if (option == 1)
    %change rules being displayed
   new_rules = get(gcbo,'UserData');
   set(rule_box,'String',new_rules{1});
%Else option is rules displayed ordered by LHS size
else
   %change rules being displayed
  	new_rules = get(gcbo,'UserData');
   set(rule_box,'String',new_rules{2});   
end
  
%End----------------------------------------------------------------------

Contact us