From 1eb3e45efaf8ffeac8274fb3bc302d43a87b4063 Mon Sep 17 00:00:00 2001 From: johncreed Date: Wed, 20 Mar 2019 09:09:20 +0800 Subject: [PATCH] Fix find_parameters function parameter struct type in linear.h --- linear.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linear.h b/linear.h index 724cf76..7ad9606 100644 --- a/linear.h +++ b/linear.h @@ -51,7 +51,7 @@ struct model struct model* train(const struct problem *prob, const struct parameter *param); void cross_validation(const struct problem *prob, const struct parameter *param, int nr_fold, double *target); -void find_parameters(const problem *prob, const parameter *param, int nr_fold, double start_C, double start_p, double *best_C, double *best_p, double *best_score); +void find_parameters(const struct problem *prob, const struct parameter *param, int nr_fold, double start_C, double start_p, double *best_C, double *best_p, double *best_score); double predict_values(const struct model *model_, const struct feature_node *x, double* dec_values); double predict(const struct model *model_, const struct feature_node *x); -- 2.50.1