shark::WeightedDataPair< DataType, WeightType > Struct Template Reference

Input-Label pair of data. More...

#include <shark/Data/WeightedDataset.h>

Public Member Functions

 WeightedDataPair ()
 
template<class DataT , class WeightT >
 WeightedDataPair (DataT &&data, WeightT &&weight)
 
template<class DataT , class WeightT >
 WeightedDataPair (WeightedDataPair< DataT, WeightT > const &pair)
 
template<class DataT , class WeightT >
WeightedDataPairoperator= (WeightedDataPair< DataT, WeightT > const &batch)
 
WeightedDataPairoperator= (WeightedDataPair const &batch)
 

Public Attributes

DataType data
 
WeightType weight
 

Detailed Description

template<class DataType, class WeightType>
struct shark::WeightedDataPair< DataType, WeightType >

Input-Label pair of data.

Definition at line 53 of file WeightedDataset.h.

Constructor & Destructor Documentation

◆ WeightedDataPair() [1/3]

template<class DataType, class WeightType>
shark::WeightedDataPair< DataType, WeightType >::WeightedDataPair ( )
inline

Definition at line 57 of file WeightedDataset.h.

◆ WeightedDataPair() [2/3]

template<class DataType, class WeightType>
template<class DataT , class WeightT >
shark::WeightedDataPair< DataType, WeightType >::WeightedDataPair ( DataT &&  data,
WeightT &&  weight 
)
inline

Definition at line 60 of file WeightedDataset.h.

◆ WeightedDataPair() [3/3]

template<class DataType, class WeightType>
template<class DataT , class WeightT >
shark::WeightedDataPair< DataType, WeightType >::WeightedDataPair ( WeightedDataPair< DataT, WeightT > const &  pair)
inline

Definition at line 66 of file WeightedDataset.h.

Member Function Documentation

◆ operator=() [1/2]

template<class DataType, class WeightType>
template<class DataT , class WeightT >
WeightedDataPair& shark::WeightedDataPair< DataType, WeightType >::operator= ( WeightedDataPair< DataT, WeightT > const &  batch)
inline

◆ operator=() [2/2]

template<class DataType, class WeightType>
WeightedDataPair& shark::WeightedDataPair< DataType, WeightType >::operator= ( WeightedDataPair< DataType, WeightType > const &  batch)
inline

Member Data Documentation

◆ data

◆ weight

template<class DataType, class WeightType>
WeightType shark::WeightedDataPair< DataType, WeightType >::weight

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