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 > | |
WeightedDataPair & | operator= (WeightedDataPair< DataT, WeightT > const &batch) |
WeightedDataPair & | operator= (WeightedDataPair const &batch) |
Public Attributes | |
DataType | data |
WeightType | weight |
Input-Label pair of data.
Definition at line 53 of file WeightedDataset.h.
|
inline |
Definition at line 57 of file WeightedDataset.h.
|
inline |
Definition at line 60 of file WeightedDataset.h.
|
inline |
Definition at line 66 of file WeightedDataset.h.
|
inline |
Definition at line 71 of file WeightedDataset.h.
References shark::WeightedDataPair< DataType, WeightType >::data, and shark::WeightedDataPair< DataType, WeightType >::weight.
|
inline |
Definition at line 76 of file WeightedDataset.h.
References shark::WeightedDataPair< DataType, WeightType >::data, and shark::WeightedDataPair< DataType, WeightType >::weight.
DataType shark::WeightedDataPair< DataType, WeightType >::data |
Definition at line 54 of file WeightedDataset.h.
Referenced by shark::WeightedUnlabeledData< DataT >::inputs(), shark::WeightedLabeledData< InputT, LabelT >::inputs(), shark::WeightedLabeledData< InputT, LabelT >::labels(), shark::WeightedDataPair< DataType, WeightType >::operator=(), shark::WeightedUnlabeledData< DataT >::shape(), shark::WeightedUnlabeledData< DataT >::splice(), shark::WeightedLabeledData< InputT, LabelT >::splice(), and shark::WeightedLabeledData< InputT, LabelT >::weightedInputs().
WeightType shark::WeightedDataPair< DataType, WeightType >::weight |
Definition at line 55 of file WeightedDataset.h.
Referenced by shark::WeightedDataPair< DataType, WeightType >::operator=().