32 double loss(
const Eigen::MatrixXd& eta,
const Eigen::MatrixXd& y);
41 double dual(
const Eigen::MatrixXd& theta,
42 const Eigen::MatrixXd& y,
43 const Eigen::VectorXd& w);
67 Eigen::MatrixXd
link(
const Eigen::MatrixXd& mu);
82 Eigen::MatrixXd
predict(
const Eigen::MatrixXd& eta);
The Logistic class represents a logistic loss function.
Eigen::MatrixXd preprocessResponse(const Eigen::MatrixXd &y)
Preprocesses the response for the quadratic model.
double dual(const Eigen::MatrixXd &theta, const Eigen::MatrixXd &y, const Eigen::VectorXd &w)
Calculates the dual for the logistic loss function.
Eigen::MatrixXd inverseLink(const Eigen::MatrixXd &eta)
The inverse link function, also known as the mean function.
double loss(const Eigen::MatrixXd &eta, const Eigen::MatrixXd &y)
Calculates the loss for the logistic loss function.
Eigen::MatrixXd predict(const Eigen::MatrixXd &eta)
Return predicted response, that is 0 or 1 depending on the predicted probabilities.
Eigen::MatrixXd hessianDiagonal(const Eigen::MatrixXd &eta)
Calculates hessian diagonal.
Eigen::MatrixXd link(const Eigen::MatrixXd &mu)
The link function.
The declartion of the Objctive class and its subclasses, which represent the data-fitting part of the...
Namespace containing SLOPE regression implementation.