Train a model to normalize the components of a dataset to fit into the unit inverval. More...
#include <shark/Algorithms/Trainers/NormalizeComponentsUnitInterval.h>
Inheritance diagram for shark::NormalizeComponentsUnitInterval< DataType >:Public Member Functions | |
| NormalizeComponentsUnitInterval () | |
| std::string | name () const |
| From INameable: return the class name. More... | |
| void | train (Normalizer< DataType > &model, UnlabeledData< DataType > const &input) |
Public Member Functions inherited from shark::AbstractUnsupervisedTrainer< Normalizer< DataType > > | |
| virtual void | train (ModelType &model, const UnlabeledData< InputType > &inputset)=0 |
| Core of the Trainer interface. More... | |
Public Member Functions inherited from shark::INameable | |
| virtual | ~INameable () |
Public Member Functions inherited from shark::ISerializable | |
| virtual | ~ISerializable () |
| Virtual d'tor. More... | |
| virtual void | read (InArchive &archive) |
| Read the component from the supplied archive. More... | |
| virtual void | write (OutArchive &archive) const |
| Write the component to the supplied archive. More... | |
| void | load (InArchive &archive, unsigned int version) |
| Versioned loading of components, calls read(...). More... | |
| void | save (OutArchive &archive, unsigned int version) const |
| Versioned storing of components, calls write(...). More... | |
| BOOST_SERIALIZATION_SPLIT_MEMBER () | |
Additional Inherited Members | |
Public Types inherited from shark::AbstractUnsupervisedTrainer< Normalizer< DataType > > | |
| typedef Normalizer< DataType > | ModelType |
| typedef Normalizer< DataType > ::InputType | InputType |
Train a model to normalize the components of a dataset to fit into the unit inverval.
Definition at line 72 of file NormalizeComponentsUnitInterval.h.
|
inline |
Definition at line 77 of file NormalizeComponentsUnitInterval.h.
|
inlinevirtual |
From INameable: return the class name.
Reimplemented from shark::INameable.
Definition at line 81 of file NormalizeComponentsUnitInterval.h.
|
inline |
Definition at line 84 of file NormalizeComponentsUnitInterval.h.
References shark::dataDimension(), shark::Data< InputT >::element(), shark::blas::max(), shark::blas::min(), shark::Data< InputT >::numberOfElements(), shark::Normalizer< DataType >::setStructure(), and SHARK_CHECK.