clear_model.m

来自「一个学习自然场景类别的贝叶斯模型、基于“词袋”模型的目标分类。来源于Feifei」· M 代码 · 共 32 行

M
32
字号
function clear_model(model_number)    %% little function to clear results so that   %% the testing routines will recompute things  %% rather than just plotting....    keyboard%%% load up model    load(['model_',prefZeros(model_number,4),'.mat']);  %%%% Efficient parts and structure modelif exist('bounding_box_efficient')  clear bounding_box_efficient;end%%%% Parts and structure modelif exist('best_hypothesis')  clear best_hypothesisend%%% plsaif exist('Pd_z_test')  clear Pd_z_testend  if exist('Pc_d_pos_test')  clear Pc_d_pos_testend%%% save model againsave(['model_',prefZeros(model_number,4),'.mat']);

⌨️ 快捷键说明

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