ML functions
 
Loading...
Searching...
No Matches
ml::VeloxTreePredictionSimpleFunction< T > Struct Template Reference

A simple function for making predictions using tree models. More...

#include <VeloxDecisionTree.h>

Public Member Functions

 VELOX_DEFINE_FUNCTION_TYPES (T)
 
void call (out_type< float > &result, const arg_type< Array< float > > &a, const arg_type< TheTree > &b)
 Call the function to make predictions.
 

Detailed Description

template<typename T>
struct ml::VeloxTreePredictionSimpleFunction< T >

A simple function for making predictions using tree models.

Template Parameters
TThe template parameter for the function.

Member Function Documentation

◆ call()

template<typename T>
void ml::VeloxTreePredictionSimpleFunction< T >::call ( out_type< float > & result,
const arg_type< Array< float > > & a,
const arg_type< TheTree > & b )
inline

Call the function to make predictions.

Parameters
resultThe output result.
aThe input array of features.
bThe input tree model.

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