lindahua / Regression.jl

Algorithms for regression analysis (e.g. linear regression and logistic regression)
MIT License
64 stars 23 forks source link

Test errors: FloatingPoint not defined (julia 0.5.0) #16

Open dsweber2 opened 7 years ago

dsweber2 commented 7 years ago

I'm planning on using Regression to do multinomial least squares, but when I tried to load the command after using Regression, it wasn't found. Naturally, I tried to test the package, it returns:

ERROR: LoadError: LoadError: LoadError: LoadError: LoadError: UndefVarError: FloatingPoint not defined
 in include_from_node1(::String) at ./loading.jl:488 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:415
 in include_from_node1(::String) at ./loading.jl:488
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:415
 in include_from_node1(::String) at ./loading.jl:488
 in macro expansion; at /home/david/.julia/v0.5/Regression/test/runtests.jl:12 [inlined]
 in anonymous at ./<missing>:?
 in include_from_node1(::String) at ./loading.jl:488
 in process_options(::Base.JLOptions) at ./client.jl:262
 in _start() at ./client.jl:318
while loading /home/david/.julia/v0.5/EmpiricalRisks/src/common.jl, in expression starting on line 35
while loading /home/david/.julia/v0.5/EmpiricalRisks/src/EmpiricalRisks.jl, in expression starting on line 84
while loading /home/david/.julia/v0.5/Regression/src/Regression.jl, in expression starting on line 6

On a side note, I've tried GLM, GLMnet, and Lasso, and it looks to me like none of these had multinomial logistic regression implemented. Do you know if this is true?

juliohm commented 7 years ago

I second the issue on Julia v0.5.

Cody-G commented 7 years ago

I don't get this error anymore when on the master branches of Regression.jl and EmpiricalRisks.jl

Still more work was necessary to get tests passing, I have two open PRs now for that:

https://github.com/lindahua/EmpiricalRisks.jl/pull/19

18