Canopy  1.0
The header-only random forests library
Public Member Functions | Public Attributes | List of all members
canopy::randomForestBase< TDerived, TLabel, TNodeDist, TOutputDist, TNumParams >::scoreInternalIndexStruct Struct Reference

Structure for holding information about a data sample and its feature score. More...

#include <randomForestBase.hpp>

Public Member Functions

 scoreInternalIndexStruct (const float score, const int id)
 

Public Attributes

float score
 The score of this data point according to the feature extraction.
 
int id
 The internal traning index of this data point.
 

Detailed Description

template<class TDerived, class TLabel, class TNodeDist, class TOutputDist, unsigned TNumParams>
struct canopy::randomForestBase< TDerived, TLabel, TNodeDist, TOutputDist, TNumParams >::scoreInternalIndexStruct

Structure for holding information about a data sample and its feature score.

This is used internally during the traning process to sort IDs along with feature scores and pass the combination around between methods

Constructor & Destructor Documentation

template<class TDerived, class TLabel, class TNodeDist, class TOutputDist, unsigned TNumParams>
canopy::randomForestBase< TDerived, TLabel, TNodeDist, TOutputDist, TNumParams >::scoreInternalIndexStruct::scoreInternalIndexStruct ( const float  score,
const int  id 
)
inline

Simple constructor


The documentation for this struct was generated from the following file: