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

An helper class for extending classification schemes to teams. More...

#include <lambda_f.h>

Inherits vita::basic_class_lambda_f< N >.

Public Member Functions

bool is_valid () const final
 
classification_result tag (const dataframe::example &) const final
 
template<class... Args>
 team_class_lambda_f (const team< T > &, dataframe &, Args &&...)
 
 team_class_lambda_f (std::istream &, const symbol_set &)
 
- 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, template< class, bool, bool > class L, team_composition C = team_composition::standard>
class vita::team_class_lambda_f< T, S, N, L, C >

An helper class for extending classification schemes to teams.

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
Lthe basic classificator that must be extended
Ccomposition method for team's member responses

Definition at line 352 of file lambda_f.h.

Member Function Documentation

◆ is_valid()

template<class T , bool S, bool N, template< class, bool, bool > class L, team_composition C = team_composition::standard>
bool vita::team_class_lambda_f< T, S, N, L, C >::is_valid ( ) const
finalvirtual

Implements vita::basic_lambda_f.

◆ tag()

template<class T , bool S, bool N, template< class, bool, bool > class L, team_composition C = team_composition::standard>
classification_result vita::team_class_lambda_f< T, S, N, L, C >::tag ( const dataframe::example ) const
finalvirtual

Member Data Documentation

◆ SERIALIZE_ID

template<class T , bool S, bool N, template< class, bool, bool > class L, team_composition C = team_composition::standard>
const std::string vita::team_class_lambda_f< T, S, N, L, C >::SERIALIZE_ID
static

Definition at line 363 of file lambda_f.h.


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