⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changeruledisplay.m

📁 这是MATLAB实现的数据挖掘方面的关于关联规则的一个算法
💻 M
字号:
%-------------------------------------------------------------------------------------
%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----------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -