MCPcopy Create free account
hub / github.com/abess-team/abess / loss_function

Method loss_function

src/Algorithm.h:618–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616 }
617
618 virtual double loss_function(T4 &X, T1 &y, Eigen::VectorXd &weights, T2 &beta, T3 &coef0, Eigen::VectorXi &A,
619 Eigen::VectorXi &g_index, Eigen::VectorXi &g_size, double lambda) {
620 return 0;
621 };
622
623 virtual void sacrifice(T4 &X, T4 &XA, T1 &y, T2 &beta, T2 &beta_A, T3 &coef0, Eigen::VectorXi &A,
624 Eigen::VectorXi &I, Eigen::VectorXd &weights, Eigen::VectorXi &g_index,

Callers 4

fitMethod · 0.95
splicingMethod · 0.95
final_fittingMethod · 0.95
test_lossMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_lossMethod · 0.36