Class for general weighted vector view.
More...
#include <yat/classifier/DataLookupWeighted1D.h>
Class for general weighted vector view.
- See also
- MatrixLookupWeighted
◆ const_reference
const_reference type is const DataWeight
- Since
- New in yat 0.5
◆ value_type
value_type is DataWeight
- Since
- New in yat 0.5
◆ DataLookupWeighted1D() [1/3]
theplu::yat::classifier::DataLookupWeighted1D::DataLookupWeighted1D |
( |
const MatrixLookupWeighted & |
m, |
|
|
const size_t |
index, |
|
|
const bool |
row_vector |
|
) |
| |
◆ DataLookupWeighted1D() [2/3]
theplu::yat::classifier::DataLookupWeighted1D::DataLookupWeighted1D |
( |
const DataLookupWeighted1D & |
| ) |
|
◆ DataLookupWeighted1D() [3/3]
theplu::yat::classifier::DataLookupWeighted1D::DataLookupWeighted1D |
( |
const size_t |
size, |
|
|
double |
value = 0 , |
|
|
double |
weight = 1 |
|
) |
| |
Construct DataLookup1D that owns its underlying matrix. Object has size size and all its element is equal to value.
◆ begin()
const_iterator theplu::yat::classifier::DataLookupWeighted1D::begin |
( |
| ) |
const |
◆ data()
double theplu::yat::classifier::DataLookupWeighted1D::data |
( |
const size_t |
i | ) |
const |
◆ end()
const_iterator theplu::yat::classifier::DataLookupWeighted1D::end |
( |
| ) |
const |
◆ size()
size_t theplu::yat::classifier::DataLookupWeighted1D::size |
( |
void |
| ) |
const |
- Returns
- number of elements
◆ weight()
double theplu::yat::classifier::DataLookupWeighted1D::weight |
( |
const size_t |
i | ) |
const |
◆ convert()
◆ sum_weight()
The documentation for this class was generated from the following files: