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

📄 extendabledata.h

📁 MultiBoost 是c++实现的多类adaboost酸法。与传统的adaboost算法主要解决二类分类问题不同
💻 H
字号:
/** This file is part of MultiBoost, a multi-class * AdaBoost learner/classifier** Copyright (C) 2005-2006 Norman Casagrande* For informations write to nova77@gmail.com** This library is free software; you can redistribute it and/or* modify it under the terms of the GNU Lesser General Public* License as published by the Free Software Foundation; either* version 2.1 of the License, or (at your option) any later version.** This library is distributed in the hope that it will be useful,* but WITHOUT ANY WARRANTY; without even the implied warranty of* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU* Lesser General Public License for more details.** You should have received a copy of the GNU Lesser General Public* License along with this library; if not, write to the Free Software* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA**//*** \file ExtendableData.h Input data with the possibility of adding* new features.*/#ifndef __EXTENDABLE_DATA_H#define __EXTENDABLE_DATA_H#include "IO/SortedData.h"#include <vector>using namespace std;namespace MultiBoost {/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*** Overloading of the SortedData class to support adding (and perhaps deleting)* features (columns in the data matrix). Experimental stage.* @date 15/02/2006*/class ExtendableData : public SortedData{public:   /**   * The destructor. Must be declared (virtual) for the proper destruction of    * the object.   */   virtual ~ExtendableData() {}   /**   * Add new column (feature) to the data matrix.   * @param newColumn The vector of the new feature values.   * @date 15/02/2006   */   virtual void addColumn(const vector<double>& newColumnVector);};} // end of namespace MultiBoost#endif // __EXTENDABLE_DATA_H

⌨️ 快捷键说明

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