Class used to get the splitting score for a given feature and threshold. More...
#include <random_tree.h>
Public Member Functions | |
| SplitFunction (size_t featureId, const FeatureFunction &feature, float threshold, ScoreType score) | |
| creates a SplitFunction object using the feature and threshold used when splitting and the resulting score | |
| SplitFunction & | operator= (const SplitFunction &other) |
| uses another SplitFunction object to set the attributes | |
| SplitBranch | split (const Instance &instance, bool &flippedSameSplit) const |
| const FeatureFunction & | getFeature () const |
| float | getThreshold () const |
| ScoreType | getScore () const |
| size_t | getFeatureId () const |
Class used to get the splitting score for a given feature and threshold.
Definition at line 61 of file random_tree.h.
|
inline |
Definition at line 121 of file random_tree.h.
|
inline |
Definition at line 144 of file random_tree.h.
|
inline |
Definition at line 136 of file random_tree.h.
|
inline |
Definition at line 128 of file random_tree.h.
|
inline |
Definition at line 94 of file random_tree.h.
1.8.1.2