Vita
Public Member Functions | Static Public Attributes | List of all members
vita::basic_gaussian_lambda_f< T, S, N > Class Template Reference

Lambda class for the Gaussian Distribution Classification. More...

#include <lambda_f.h>

Inherits vita::basic_class_lambda_f< N >.

Public Member Functions

 basic_gaussian_lambda_f (const T &, dataframe &)
 
 basic_gaussian_lambda_f (std::istream &, const symbol_set &)
 
bool is_valid () const final
 
bool save (std::ostream &) const final
 
classification_result tag (const dataframe::example &) const final
 
- Public Member Functions inherited from vita::basic_class_lambda_f< N >
 basic_class_lambda_f (const dataframe &)
 
double measure (const model_metric &, const dataframe &) const final
 
std::string name (const value_t &) const final
 
value_t operator() (const dataframe::example &) const final
 
virtual double measure (const model_metric &, const dataframe &) const =0
 
virtual std::string name (const value_t &) const =0
 
virtual classification_result tag (const dataframe::example &) const =0
 
virtual bool is_valid () const =0
 
virtual value_t operator() (const dataframe::example &) const =0
 

Static Public Attributes

static const std::string SERIALIZE_ID
 

Detailed Description

template<class T, bool S, bool N>
class vita::basic_gaussian_lambda_f< T, S, N >

Lambda class for the Gaussian Distribution Classification.

Template Parameters
Ttype of individual
Sstores the individual inside vs keep a reference only
Nstores the name of the classes vs doesn't store the names

This class transforms individuals into lambda functions which can be used for classification tasks.

See vita::gaussian_evaluator for further details.

Definition at line 276 of file lambda_f.h.

Member Function Documentation

◆ is_valid()

template<class T , bool S, bool N>
bool vita::basic_gaussian_lambda_f< T, S, N >::is_valid ( ) const
finalvirtual

Implements vita::basic_lambda_f.

◆ save()

template<class T , bool S, bool N>
bool vita::basic_gaussian_lambda_f< T, S, N >::save ( std::ostream &  ) const
finalvirtual

◆ tag()

template<class T , bool S, bool N>
classification_result vita::basic_gaussian_lambda_f< T, S, N >::tag ( const dataframe::example ) const
finalvirtual

Member Data Documentation

◆ SERIALIZE_ID

template<class T , bool S, bool N>
const std::string vita::basic_gaussian_lambda_f< T, S, N >::SERIALIZE_ID
static

Definition at line 287 of file lambda_f.h.


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