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

📄 catfold.m

📁 该文件里面包含了三个AdaBoost算法
💻 M
字号:
%   The algorithms implemented by Alexander Vezhnevets aka Vezhnick
%   <a>href="mailto:vezhnick@gmail.com">vezhnick@gmail.com</a>
%
%   Copyright (C) 2005, Vezhnevets Alexander
%   vezhnick@gmail.com
%   
%   This file is part of GML Matlab Toolbox
%   For conditions of distribution and use, see the accompanying License.txt file.
%
%   CatFold cancatinates cross-validation fold N to passed Data and Labels
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%
%    [Data, Labels] = CatFold(this, Data, Labels, N)
%    ---------------------------------------------------------------------------------
%    Arguments:
%           this     - crossvalidation object
%           Data     - Data matrix
%           Labels   - Labels matrix
%           N        - number of fold
%    Return:
%           Data     - Data with fold N concatinated
%           Labels   - Labels with fold N concatinated

function [Data, Labels] = CatFold(this, Data, Labels, N)

if(N > this.folds)
  error('N > total folds');
end

Data   = cat(2, Data, this.CrossDataSets{N}{1,1});
Labels = cat(2, Labels, this.CrossLabelsSets{N}{1,1});

⌨️ 快捷键说明

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