InputData::Example Struct Reference

Holds the data of the single example. More...

#include <InputData.h>

List of all members.

Public Member Functions

 Example (double *pValues, const int classIdx, const string &fileName="")
 The constructor that create the object example.

Public Attributes

double * pValues
 The values of the example (1..numColumns).
vector< double > weights
 The weights of the example.
int classIdx
 The index of the example.
string fileName
 The filename of the example.


Detailed Description

Holds the data of the single example.

Date:
11/11/2005

Definition at line 213 of file InputData.h.


Constructor & Destructor Documentation

Example double *  pValues,
const int  classIdx,
const string &  fileName = ""
[inline]
 

The constructor that create the object example.

Remarks:
I am using a pointer for pValues because I want to avoid the extra copying for a standard vector.
Parameters:
pValues The pointer to the data of the example.
classIdx The class of the example.
fileName The filename of the example, if it exists.
Date:
11/11/2005

Definition at line 224 of file InputData.h.


The documentation for this struct was generated from the following file:
Generated on Mon Nov 28 21:43:48 2005 for MultiBoost by  doxygen 1.4.5