alterconfbox.m
来自「这是MATLAB实现的数据挖掘方面的关于关联规则的一个算法」· M 代码 · 共 29 行
M
29 行
%-------------------------------------------------------------------------------------
%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 alter confidence box according to value of confidence slider
function alterConfBox()
%Get value of confidence slider
conf_value = get(gcbo,'Value');
%If value is 0 make it 1 since 1% is lowest value for confidence box
if (conf_value == 0)
conf_value = 0.01;
end
%Set confidence box with value*100 to give percentage
conf_edit = findobj(gcbf,'Tag','conf_edit');
conf_value = fix(conf_value*100);
set(conf_edit,'String',conf_value);
%End Function------------------------------------------------------------
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?