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

Public Member Functions

 BinaryNumericSplitInfo ()
 
 BinaryNumericSplitInfo (const ObservationType &splitPoint)
 
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

ObservationType splitPoint
 

Detailed Description

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

Definition at line 22 of file binary_numeric_split_info.hpp.

Constructor & Destructor Documentation

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

Definition at line 25 of file binary_numeric_split_info.hpp.

template<typename ObservationType = double>
mlpack::tree::BinaryNumericSplitInfo< ObservationType >::BinaryNumericSplitInfo ( const ObservationType &  splitPoint)
inline

Definition at line 26 of file binary_numeric_split_info.hpp.

Member Function Documentation

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

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

Definition at line 37 of file binary_numeric_split_info.hpp.

References mlpack::data::CreateNVP(), and mlpack::tree::BinaryNumericSplitInfo< ObservationType >::splitPoint.

Member Data Documentation

template<typename ObservationType = double>
ObservationType mlpack::tree::BinaryNumericSplitInfo< ObservationType >::splitPoint
private

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