• 大小: 19.16MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-06-30
  • 语言: Matlab
  • 标签: adaboost  

资源简介

程序中主要包含了ModestAdaBoost,RealAdaBoost,GentleAdaBoost这三种adaboost的matlab程序代码。

资源截图

代码片段和文件信息

%   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

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

     文件   46935003  2010-07-07 15:37  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\1000Feadata5856andlabel.txt

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

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

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

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

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

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

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

     文件        439  2005-10-30 19:16  GML_AdaBoost_Matlab_Toolbox_0.3\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\GML_AdaBoost_Matlab_Toolbox_0.3\@stump_w\stump_w.m

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

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

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

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

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

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

     文件       3583  2010-06-28 14:20  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\train.asv

     文件       3583  2010-06-28 14:20  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\@tree_node_w\train.m

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

     文件       1831  2005-12-02 16:35  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\BoostedCommittee.cpp

     文件        840  2005-12-02 16:14  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\BoostedCommittee.h

     文件      68935  2010-05-11 09:15  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\Example\Debug\BoostedCommittee.obj

     文件     241799  2010-05-11 09:15  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\Example\Debug\Example.exe

     文件     251388  2010-05-11 09:15  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\Example\Debug\Example.ilk

     文件       7358  2010-05-11 09:15  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\Example\Debug\Example.obj

     文件     203808  2010-05-11 09:14  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\Example\Debug\Example.pch

     文件     459776  2010-05-11 09:15  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\Example\Debug\Example.pdb

     文件      45567  2010-05-11 09:15  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\Example\Debug\SPHypothesis.obj

     文件       2658  2010-05-11 09:14  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\Example\Debug\StdAfx.obj

     文件      66560  2010-05-11 09:15  GML_AdaBoost_Matlab_Toolbox_0.3\GML_AdaBoost_Matlab_Toolbox_0.3\C++\Example\Debug\vc60.idb

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

评论

共有 条评论