ECOCPAK v0.9
Public Member Functions | Static Public Attributes | Private Attributes
ClassData Class Reference

#include <ClassData.hpp>

Public Member Functions

 ClassData (const ClassData &)
 ClassData (const mat &, const u32)
 ClassData (const mat &, const u32, bool, int)
 ~ClassData ()
mat Data () const
u32 ClassLabel () const
u32 ClassIndex () const
u32 Samples () const
u32 Attributes () const
ClassDatasetData (const mat &)
ClassDatasetClassLabel (const u32)
ClassDatasetClassIndex (const u32)

Static Public Attributes

static unsigned int globalIndex = 0
 Static counter to count how many ClassData objects have been created. This counter is increased only if the ClassData object created contains more samples than the number specified in the threshold by user.

Private Attributes

mat data
u32 classLabel
 An integer which holds the label of the data class.
u32 samples
 An integer which holds the number of samples of the data class.
u32 attributes
u32 classIndex

Detailed Description


Field Documentation

u32 ClassData::attributes [private]

An integer which holds the number of attributes each sample vector has

u32 ClassData::classIndex [private]

An integer which holds the index of the data class. If the class during the ECOC construction process doesn't split then this number is equal to the classLabel, otherwise it changes accordingly

u32 ClassData::classLabel [private]

An integer which holds the label of the data class.

mat ClassData::data [private]

An 2D armadillo matrix to hold the samples in the form of row vectors. Each row of the matrix represents a sample vector.

u32 ClassData::samples [private]

An integer which holds the number of samples of the data class.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerator Defines