90 double stdDev = 0.05,
bool bias =
true);
101 double stdDev = 0.01,
102 bool backprop =
true);
125 const std::string& compression,
double stdDev = 0.05,
223 const std::string& compression,
224 double stdDev = 0.05,
bool bias =
true);
281 void save(
const std::string& fileName);
286 void save(std::ostream& stream);
291 void load(
const std::string& fileName);
313 void load(std::istream& stream);
321 double maxSquaredWeightNorm = 0.0);
339 virtual Eigen::VectorXd
operator()(
const Eigen::VectorXd& x);
341 virtual Eigen::MatrixXd
operator()(
const Eigen::MatrixXd&
X);
348 virtual double error(
unsigned int n);
349 virtual double error();
351 virtual Eigen::VectorXd
gradient(
unsigned int n);
353 virtual void errorGradient(
int n,
double& value, Eigen::VectorXd& grad);
354 virtual void errorGradient(
double& value, Eigen::VectorXd& grad);
355 virtual void errorGradient(std::vector<int>::const_iterator startN,
356 std::vector<int>::const_iterator endN,
357 double& value, Eigen::VectorXd& grad);
369 #endif // OPENANN_NET_H