]> granicus.if.org Git - liblinear/commitdiff
Fix find_parameters function parameter struct type in linear.h
authorjohncreed <hsiajuiyang5174@gmail.com>
Wed, 20 Mar 2019 01:09:20 +0000 (09:09 +0800)
committerjohncreed <hsiajuiyang5174@gmail.com>
Wed, 20 Mar 2019 01:09:20 +0000 (09:09 +0800)
linear.h

index 724cf7623c6e212f60e34ba38acd5e0bfc7b8d11..7ad9606d9dc7a9c4a4ed35e099916d0e273c162a 100644 (file)
--- 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);