mlpack  master
Public Member Functions | Private Attributes | List of all members
mlpack::tree::NumericSplitInfo< ObservationType > Class Template Reference

Public Member Functions

 NumericSplitInfo ()
 
 NumericSplitInfo (const arma::Col< ObservationType > &splitPoints)
 
template<typename eT >
size_t CalculateDirection (const eT &value) const
 
template<typename Archive >
void Serialize (Archive &ar, const unsigned int)
 Serialize the split (save/load the split points). More...
 

Private Attributes

arma::Col< ObservationType > splitPoints
 

Detailed Description

template<typename ObservationType = double>
class mlpack::tree::NumericSplitInfo< ObservationType >

Definition at line 21 of file numeric_split_info.hpp.

Constructor & Destructor Documentation

template<typename ObservationType = double>
mlpack::tree::NumericSplitInfo< ObservationType >::NumericSplitInfo ( )
inline

Definition at line 24 of file numeric_split_info.hpp.

template<typename ObservationType = double>
mlpack::tree::NumericSplitInfo< ObservationType >::NumericSplitInfo ( const arma::Col< ObservationType > &  splitPoints)
inline

Definition at line 25 of file numeric_split_info.hpp.

Member Function Documentation

template<typename ObservationType = double>
template<typename eT >
size_t mlpack::tree::NumericSplitInfo< ObservationType >::CalculateDirection ( const eT &  value) const
inline
template<typename ObservationType = double>
template<typename Archive >
void mlpack::tree::NumericSplitInfo< ObservationType >::Serialize ( Archive &  ar,
const unsigned  int 
)
inline

Serialize the split (save/load the split points).

Definition at line 41 of file numeric_split_info.hpp.

References mlpack::data::CreateNVP(), and mlpack::tree::NumericSplitInfo< ObservationType >::splitPoints.

Member Data Documentation

template<typename ObservationType = double>
arma::Col<ObservationType> mlpack::tree::NumericSplitInfo< ObservationType >::splitPoints
private

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