#ifndef _LOG_REG_H_ #define _LOG_REG_H_ #include #include "sparse_vector.h" #include "bin_class.h" struct LogisticRegression : public Objective { double ObjectiveAndGradient(const SparseVector& x, const std::vector& training_instances, SparseVector* g) const; }; #endif