33 #ifndef GRT_SOFTMAX_HEADER
34 #define GRT_SOFTMAX_HEADER
36 #include "../../CoreModules/Classifier.h"
52 Softmax(
const bool useScaling=
false,
const Float learningRate = 0.1,
const Float minChange = 1.0e-10,
const UINT maxNumEpochs = 1000);
107 virtual bool clear();
149 #endif //GRT_SOFTMAX_HEADER
bool loadLegacyModelFromFile(std::fstream &file)
Vector< SoftmaxModel > getModels() const
virtual bool predict_(VectorFloat &inputVector)
Softmax(const bool useScaling=false, const Float learningRate=0.1, const Float minChange=1.0e-10, const UINT maxNumEpochs=1000)
Softmax & operator=(const Softmax &rhs)
virtual bool saveModelToFile(std::string filename) const
virtual bool loadModelFromFile(std::string filename)
virtual bool deepCopyFrom(const Classifier *classifier)
This file implements a container for a Softmax model.
virtual bool train_(ClassificationData &trainingData)
virtual bool loadModelFromFile(std::fstream &file)
virtual bool saveModelToFile(std::fstream &file) const