26 #ifndef GRT_SOFTMAX_HEADER 27 #define GRT_SOFTMAX_HEADER 29 #include "../../CoreModules/Classifier.h" 53 Softmax(
const bool useScaling=
false,
const Float learningRate = 0.1,
const Float minChange = 1.0e-10,
const UINT maxNumEpochs = 1000,
const UINT batchSize = 50);
108 virtual bool clear();
117 virtual bool save( std::fstream &file )
const;
126 virtual bool load( std::fstream &file );
141 static std::string
getId();
149 bool loadLegacyModelFromFile( std::fstream &file );
155 static const std::string id;
161 #endif //GRT_SOFTMAX_HEADER std::string getId() const
virtual bool predict_(VectorFloat &inputVector)
virtual bool save(const std::string &filename) const
virtual bool deepCopyFrom(const Classifier *classifier)
virtual bool train_(ClassificationData &trainingData)
virtual bool load(const std::string &filename)
This file implements a container for a Softmax model.
This is the main base class that all GRT Classification algorithms should inherit from...