We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems the package doesn't accept Float32 or Float16, even though the code is meant to accept AbstractFloats.
I convert the inputs of the example to Array{Float32, 1}.
using Loess xs = 10 .* rand(100) ys = sin.(xs) .+ 0.5 * rand(100) xs = convert(Array{Float32,1}, xs) ys = convert(Array{Float32,1}, ys)
When I call the loess function, it gives an error.
model = loess(xs, ys)
ERROR: MethodError: no method matching build_kdtree(::Array{Float32,2}, ::Array{Int64,1}, ::Array{Float32,2}, ::Int64, ::Float64, ::Set{Array{Float32,1}})
If I convert the inputs back to Array{Float64, 1}, it works.
The text was updated successfully, but these errors were encountered:
fixes issue JuliaStats#48
90c9269
fix issue JuliaStats#48
1612583
ayushpatnaikgit Maybe you can help review and revive #53 to help fix this?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
It seems the package doesn't accept Float32 or Float16, even though the code is meant to accept AbstractFloats.
I convert the inputs of the example to Array{Float32, 1}.
When I call the loess function, it gives an error.
If I convert the inputs back to Array{Float64, 1}, it works.
The text was updated successfully, but these errors were encountered: