/** * Elastic net regularization for logistic regression using FISTA optimizer */ /** * @brief Logistic regression (incremental gradient): Transition function */ DECLARE_UDF(elastic_net, binomial_fista_transition) /** * @brief Logistic regression (incremental gradient): State merge function */ DECLARE_UDF(elastic_net, binomial_fista_merge) /** * @brief Logistic regression (incremental gradient): Final function */ DECLARE_UDF(elastic_net, binomial_fista_final) /** * @brief Logistic regression (incremental gradient): measure the difference * between two consecutive states */ DECLARE_UDF(elastic_net, __binomial_fista_state_diff) /** * @brief Logistic regression (incremental gradient): Convert * transition state to result tuple */ DECLARE_UDF(elastic_net, __binomial_fista_result)