33 #ifndef GRT_LOGISTIC_REGRESSION_HEADER
34 #define GRT_LOGISTIC_REGRESSION_HEADER
36 #include "../../CoreModules/Regressifier.h"
129 inline Float sigmoid(
const Float x)
const;
139 #endif //GRT_LOGISTIC_REGRESSION_HEADER
UINT getMaxNumIterations() const
LogisticRegression(const bool useScaling=true)
virtual bool predict_(VectorFloat &inputVector)
LogisticRegression & operator=(const LogisticRegression &rhs)
virtual bool train_(RegressionData &trainingData)
virtual ~LogisticRegression(void)
virtual bool saveModelToFile(std::string filename) const
bool loadLegacyModelFromFile(std::fstream &file)
virtual bool loadModelFromFile(std::string filename)
VectorFloat w
The weights vector.
bool setMaxNumIterations(UINT maxNumIterations)
virtual bool deepCopyFrom(const Regressifier *regressifier)
virtual bool loadModelFromFile(std::fstream &file)
virtual bool saveModelToFile(std::fstream &file) const