Public メソッド |
| threshold_classifier () |
| デフォルトのコンストラクタ
|
| threshold_classifier (const threshold_classifier &w) |
| コピーコンストラクタ
|
threshold_classifier & | operator= (const threshold_classifier &other) |
| 他の識別器と同じパラメータの識別器となるようにデータをコピーする
|
template<template< typename, typename > class FEATURE_LIST, template< typename, typename > class CATEGORY_LIST, class Allocator1 , class Allocator2 > |
bool | learn (const FEATURE_LIST< feature_type, Allocator1 > &features, const CATEGORY_LIST< bool, Allocator2 > &categories) |
| 教師データを用いて最適な弱識別器を構築する
|
template<class FEATURE > |
bool | operator() (const FEATURE &f) const |
| 学習済みの弱識別器を用いて特徴量を分類する
|
template<class FEATURE > |
bool | evaluate (const FEATURE &f) const |
| 学習済みの弱識別器を用いて特徴量を分類する
|
template<class FEATURE > |
bool | evaluate (const FEATURE &f, size_type indx, double sgn, double th) const |
| 学習済みの弱識別器を用いて特徴量を分類する
|
const std::string | serialize () const |
| 識別機のパラメータを文字列形式で記録する
|
void | deserialize (const std::string &data) |
| 識別機のパラメータを記録した文字列からパラメータを復元する
|
AdaBoost で利用するしきい値処理を用いた弱識別器