• 大小: 101KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-01
  • 语言: Matlab
  • 标签: AdaBoost  

资源简介

AdaBoost工具箱,实现Real AdaBoost, Gentle AdaBoost和Modest AdaBoost

资源截图

代码片段和文件信息

%   The algorithms implemented by Alexander Vezhnevets aka Vezhnick
%   href=“mailto:vezhnick@gmail.com“>vezhnick@gmail.com
%
%   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.
%
%   Classify Implements classification data samples by already built
%   boosted commitee
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%
%    Result = Classify(Learners Weights Data)
%    ---------------------------------------------------------------------------------
%    Arguments:
%           Learners - cell array of weak learners
%           Weights  - vector of learners weights
%           Data      - Data to be classified. Should be DxN matrix 
%                       where D is the dimensionality of data and N 
%                       is the number of data samples.
%    Return:
%           Result   - vector of real valued commitee outputs for Data. 

function Result = Classify(Learners Weights Data)

Result = zeros(1 size(Data 2));

for i = 1 : length(Weights)
  lrn_out = calc_output(Learners{i} Data);
  Result = Result + lrn_out * Weights(i);
end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2346  2006-07-22 10:55  GML_AdaBoost_Matlab_Toolbox_0.3\Example_2.m

     文件       3352  2006-07-22 10:58  GML_AdaBoost_Matlab_Toolbox_0.3\Example_3.m

     文件       2943  2006-07-22 10:42  GML_AdaBoost_Matlab_Toolbox_0.3\GentleAdaBoost.m

     文件       2752  2005-10-30 21:16  GML_AdaBoost_Matlab_Toolbox_0.3\License.txt

     文件       3257  2006-07-22 10:48  GML_AdaBoost_Matlab_Toolbox_0.3\ModestAdaBoost.m

     文件        208  2005-10-30 20:28  GML_AdaBoost_Matlab_Toolbox_0.3\ReadMe.txt

     文件       2926  2006-07-22 10:48  GML_AdaBoost_Matlab_Toolbox_0.3\RealAdaBoost.m

     文件        606  2006-06-01 15:29  GML_AdaBoost_Matlab_Toolbox_0.3\TrainAndSave.m

     文件       1381  2006-05-29 12:25  GML_AdaBoost_Matlab_Toolbox_0.3\TranslateToC.m

     文件        996  2006-06-01 15:42  GML_AdaBoost_Matlab_Toolbox_0.3\@crossvalidation\crossvalidation.m

     文件       2400  2006-05-29 13:13  GML_AdaBoost_Matlab_Toolbox_0.3\@crossvalidation\Initialize.m

     文件       1008  2006-05-29 13:11  GML_AdaBoost_Matlab_Toolbox_0.3\@crossvalidation\GetFold.m

     文件       1162  2006-05-29 13:01  GML_AdaBoost_Matlab_Toolbox_0.3\@crossvalidation\CatFold.m

     文件       2403  2006-05-29 13:13  GML_AdaBoost_Matlab_Toolbox_0.3\@crossvalidation\Initialize.asv

     文件        511  2005-10-30 19:16  GML_AdaBoost_Matlab_Toolbox_0.3\@stump_w\calc_output.m

     文件       2785  2005-10-30 19:16  GML_AdaBoost_Matlab_Toolbox_0.3\@stump_w\do_learn_nu.m

     文件        439  2005-10-30 19:16  GML_AdaBoost_Matlab_Toolbox_0.3\@stump_w\get_threshold_and_dim.m

     文件        529  2005-10-30 19:16  GML_AdaBoost_Matlab_Toolbox_0.3\@stump_w\stump_w.m

     文件       1269  2006-05-29 12:29  GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\calc_output.m

     文件       4456  2006-05-29 12:35  GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\do_learn_nu.m

     文件       1068  2006-05-29 12:48  GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\tree_node_w.m

     文件       3583  2006-05-29 12:44  GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\train.m

     文件       1964  2006-05-29 12:42  GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\get_dim_and_tr.m

     文件       1220  2006-05-29 12:28  GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\calc_output.asv

     文件       4350  2006-05-29 12:33  GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\do_learn_nu.asv

     文件       1744  2006-05-29 12:38  GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\get_dim_and_tr.asv

     文件       3722  2006-05-29 12:43  GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\train.asv

     文件       3583  2006-05-29 12:44  GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\复件 train.txt

     文件        711  2005-12-02 12:17  GML_AdaBoost_Matlab_Toolbox_0.3\C++\IWeakHypothesis.h

     文件        966  2005-12-02 16:07  GML_AdaBoost_Matlab_Toolbox_0.3\C++\SPHypothesis.h

............此处省略24个文件信息

评论

共有 条评论