[mlpack-git] [mlpack] segmentation fault with LogisticRegression API (#428)
John Lees
notifications at github.com
Tue Mar 31 08:37:04 EDT 2015
I think I've narrowed it down slightly:
Breakpoint 3, mlpack::regression::LogisticRegression<mlpack::optimization::L_BFGS>::LogisticRegression (this=0x7fffffffd8a0, predictors=..., responses=..., lambda=0)
at /home/john/pangwas/code/mlpack/build_logit_debug/include/mlpack/methods/logistic_regression/logistic_regression_impl.hpp:32
32 LogisticRegressionFunction errorFunction(predictors, responses, lambda);
(gdb) p predictors.n_rows
$15 = 3069
(gdb) s
mlpack::regression::LogisticRegressionFunction::LogisticRegressionFunction (this=0x7fffffffcf00, predictors=..., responses=..., lambda=0)
at /home/john/pangwas/code/mlpack/src/mlpack/methods/logistic_regression/logistic_regression_function.cpp:25
25 lambda(lambda)
(gdb) p predictors.n_rows
$18 = 4294970365
i.e. in the passing of predictors at line 32 of logistic_regression_impl.hpp to LogisiticRegressionFunction (defined at line 19 of logistic_regression_function.cpp) something I don't understand is happening
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/428#issuecomment-88068041
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150331/5afd034e/attachment.html>
More information about the mlpack-git
mailing list