1 #ifndef MULTILOGISTICLIKELIHOOD_H
2 #define MULTILOGISTICLIKELIHOOD_H
60 virtual void GradientImpl(
unsigned int const outputDimWrt,
61 unsigned int const inputDimWrt,
63 Eigen::VectorXd
const& sensitivity)
override;
65 virtual void JacobianImpl(
unsigned int const outputDimWrt,
66 unsigned int const inputDimWrt,
70 unsigned int const inputDimWrt,
72 Eigen::VectorXd
const& vec)
override;
Provides an abstract interface for defining vector-valued model components.
Class that defines the likelihood function for multinomial logistic regression.
virtual void GradientImpl(unsigned int const outputDimWrt, unsigned int const inputDimWrt, ref_vector< Eigen::VectorXd > const &input, Eigen::VectorXd const &sensitivity) override
virtual void EvaluateImpl(muq::Modeling::ref_vector< Eigen::VectorXd > const &inputs) override
const unsigned int numClasses
MultiLogisticLikelihood(unsigned int numClasses, Eigen::VectorXi const &data)
virtual void JacobianImpl(unsigned int const outputDimWrt, unsigned int const inputDimWrt, ref_vector< Eigen::VectorXd > const &input) override
virtual void ApplyJacobianImpl(unsigned int const outputDimWrt, unsigned int const inputDimWrt, ref_vector< Eigen::VectorXd > const &input, Eigen::VectorXd const &vec) override
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...