Regression.jl icon indicating copy to clipboard operation
Regression.jl copied to clipboard

Test errors: FloatingPoint not defined (julia 0.5.0)

Open dsweber2 opened this issue 8 years ago • 2 comments

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?

dsweber2 avatar Nov 05 '16 22:11 dsweber2

I second the issue on Julia v0.5.

juliohm avatar Nov 07 '16 19:11 juliohm

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

Cody-G avatar Jan 23 '17 21:01 Cody-G