madsjulia / svr.jl Goto Github PK
View Code? Open in Web Editor NEWSupport Vector Regression for Unsupervised Machine Learning
Home Page: http://mads.gitlab.io
License: GNU General Public License v3.0
Support Vector Regression for Unsupervised Machine Learning
Home Page: http://mads.gitlab.io
License: GNU General Public License v3.0
Hi and thanks for this package!
Have you considered porting it's features to the interface MLJ.jl?
Here is the equivalent code: https://github.com/alan-turing-institute/MLJModels.jl/blob/master/src/LIBSVM.jl
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
When I try to build SVR I am facing the following error
┌ Error: Error building
SVR
:
│ ERROR: LoadError: IOError: could not spawnmake clean
: no such file or directory (ENOENT)
│ Stacktrace:
│ [1] _spawn_primitive(::String, ::Cmd, ::Array{Any,1}) at .\process.jl:99
│ [2] #550 at .\process.jl:112 [inlined]
│ [3] setup_stdios(::Base.var"#550#551"{Cmd}, ::Array{Any,1}) at .\process.jl:196
│ [4] _spawn at .\process.jl:111 [inlined]
│ [5] run(::Cmd; wait::Bool) at .\process.jl:439
│ [6] run(::Cmd) at .\process.jl:438
│ [7] top-level scope at C:\Users\gi_di.julia\packages\SVR\SbDa4\deps\build.jl:2
│ [8] include(::String) at .\client.jl:439
│ [9] top-level scope at none:5
│ in expression starting at C:\Users\gi_di.julia\packages\SVR\SbDa4\deps\build.jl:2
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\Operations.jl:892
I tried to build it as with administration privileges, but the problem persists.
I am using Julia 1.4 on a Win10 64bit machine
in cjlin1/libsvm, svmtrain has an extra option -v n: n-fold cross validation mode
is it possible to add this option to SVR?
Is this what readlibsvmfile
is for?
julia> x, y = SVR.readlibsvmfile("rcv1subset_topics_train_1.svm")
ERROR: BoundsError: attempt to access 1-element Vector{SubString{String}} at index [2]
Stacktrace:
[1] getindex(A::Vector{SubString{String}}, i1::Int64)
@ Base ./array.jl:861
[2] (::SVR.var"#30#31"{Matrix{Any}, Int64})(j::Int64)
@ SVR ~/.julia/packages/SVR/xQWBO/src/SVRfunctions.jl:381
[3] iterate
@ ./generator.jl:47 [inlined]
[4] collect_to!
@ ./array.jl:782 [inlined]
[5] collect_to_with_first!
@ ./array.jl:760 [inlined]
[6] _collect(c::Vector{Int64}, itr::Base.Generator{Vector{Int64}, SVR.var"#30#31"{Matrix{Any}, Int64}}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{1})
@ Base ./array.jl:754
[7] collect_similar(cont::Vector{Int64}, itr::Base.Generator{Vector{Int64}, SVR.var"#30#31"{Matrix{Any}, Int64}})
@ Base ./array.jl:653
[8] map(f::Function, A::Vector{Int64})
@ Base ./abstractarray.jl:2849
[9] readlibsvmfile(file::String)
@ SVR ~/.julia/packages/SVR/xQWBO/src/SVRfunctions.jl:381
[10] top-level scope
@ REPL[4]:1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.