|
X-Boost
2.3.8
|
#include <DataSet.h>
Inherits DataSetHandle< Aggregator >.
Inherited by SourceDataSet< TPreprocessorType, Aggregator >.
Public Types | |
| typedef DataSetHandle< Aggregator > | ViewType |
| typedef DataSet< Aggregator > | StoreType |
Public Types inherited from DataSetHandle< Aggregator > | |
| typedef DataSetHandle< Aggregator > | ViewType |
| a soft copy of the set | |
| typedef DataSet< Aggregator > | StoreType |
| an hard copy of the set | |
Additional Inherited Members | |
Public Member Functions inherited from DataSetHandle< Aggregator > | |
| template<class SrcAggregator > | |
| DataSetHandle (const DataSetHandle< SrcAggregator > &src) | |
| void | Clear () |
| Reset (but not release memory) | |
| unsigned int | Size () const |
| Return number of allocated samples (complete size of DataSet) | |
| void | SetParams (const ParamType &src) |
| const ParamType & | GetParams () const |
| void | Insert (const PatternType &p) |
| add a new pattern to the list | |
| void | Release () |
| Force, manually, to release memory in data. | |
| template<class SrcAggregator > | |
| void | operator= (const DataSetHandle< SrcAggregator > &src) |
| void | Import (const DataType &data, int category) |
Public Attributes inherited from DataSetHandle< Aggregator > | |
|
DECLARE_AGGREGATOR typedef std::vector< PatternType > | ListType |
| unsigned int | n_patternP |
| unsigned int | n_patternN |
| ListType | templates |
| a collection of Pattern used in this dataset | |
an auto release DataSetHandle. DataSetHandle can be freely copied, splitted, merged and modified inside the training process. The DataSet object instead contains the original set that will be freed at the end of training.
1.8.7