-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
With no change in this repo since the last release, tests are failing locally for me.
An analysis suggests the culprit is LinearSVC:
using Pkg
Pkg.activate(temp=true)
Pkg.add("MLJBase")
Pkg.add("MLJLIBSVMInterface")
using MLJLIBSVMInterface, MLJBase
X, y = @load_iris
model = MLJLIBSVMInterface.LinearSVC()
mach = machine(model, X, y)
fit!(mach)
# [ Info: Training machine(LinearSVC(solver = L2R_L2LOSS_SVC_DUAL, …), …).
# ┌ Error: Problem fitting the machine machine(LinearSVC(solver = L2R_L2LOSS_SVC_DUAL, …), …).
# └ @ MLJBase ~/.julia/packages/MLJBase/xcS6N/src/machines.jl:683
# [ Info: Running type checks...
# [ Info: Type checks okay.
# ERROR: Please check your parameters: Initial-solution specification supported only for solvers L2R_LR, L2R_L2LOSS_SVC, and L2R_L2LOSS_SVR
# Stacktrace:
# [1] error(s::String)
# @ Base ./error.jl:35
# [2] linear_train(labels::Vector{…}, instances::LinearAlgebra.Adjoint{…}; weights::Nothing, solver_type::Int32, eps::Float64, C::Float64, p::Float64, init_sol::Ptr{…}, bias::Float64,
# verbose::Bool)
# @ LIBLINEAR ~/.julia/packages/LIBLINEAR/77yny/src/LIBLINEAR.jl:227Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done