![]() |
KSquare Utilities
|
Used by routines that retrieve Class statistics from FeatureVectorList instances. More...
#include <ClassStatistic.h>
Public Member Functions | |
| ClassStatistic (const ClassStatistic &right) | |
| ClassStatistic (MLClassPtr _mlClass, kkuint32 _count) | |
| kkuint32 | Count () const |
| void | Increment () |
| MLClassPtr | MLClass () const |
| const KKStr & | Name () const |
| const ClassStatistic & | operator+= (const ClassStatistic &right) |
Used by routines that retrieve Class statistics from FeatureVectorList instances.
Definition at line 14 of file ClassStatistic.h.
| ClassStatistic::ClassStatistic | ( | const ClassStatistic & | right | ) |
Definition at line 22 of file ClassStatistic.cpp.
Referenced by KKMLL::ClassStatisticList::operator+=().
| ClassStatistic::ClassStatistic | ( | MLClassPtr | _mlClass, |
| kkuint32 | _count | ||
| ) |
Definition at line 29 of file ClassStatistic.cpp.
Referenced by KKMLL::FeatureVectorList::GetClassStatistics().
|
inline |
Definition at line 23 of file ClassStatistic.h.
Referenced by KKMLL::SVMparam::AvgNumOfFeatures(), KKMLL::FeatureVectorList::GetClassDistribution(), KKMLL::FeatureVectorList::MajorityClassFraction(), KKMLL::ClassStatisticList::ClassStatSortByCount::operator()(), and operator+=().
|
inline |
Definition at line 26 of file ClassStatistic.h.
Referenced by KKMLL::FeatureVectorList::GetClassStatistics().
|
inline |
Definition at line 24 of file ClassStatistic.h.
Referenced by KKMLL::SVMparam::AvgNumOfFeatures(), KKMLL::FeatureVectorList::GetClassDistribution(), KKMLL::ClassStatisticList::ClassStatisticSortComparrison::operator()(), KKMLL::ClassStatisticList::ClassStatSortByCount::operator()(), operator+=(), and KKMLL::ClassStatisticList::operator+=().
| const KKStr & ClassStatistic::Name | ( | ) | const |
Definition at line 38 of file ClassStatistic.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::EmptyStr(), and KKMLL::MLClass::Name().
| const ClassStatistic & ClassStatistic::operator+= | ( | const ClassStatistic & | right | ) |
Definition at line 48 of file ClassStatistic.cpp.
References Count(), and MLClass().
Referenced by KKMLL::ClassStatisticList::operator+=().