Skip to content

Commit

Permalink
add eval_metric argument (#41)
Browse files Browse the repository at this point in the history
* add eval_metric argument

* bump version
  • Loading branch information
ExpandingMan authored May 23, 2023
1 parent 4456438 commit e3c3b55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MLJXGBoostInterface"
uuid = "54119dfa-1dab-4055-a167-80440f4f7a91"
authors = ["Anthony D. Blaom <anthony.blaom@gmail.com>"]
version = "0.3.7"
version = "0.3.8"

[deps]
MLJModelInterface = "e80e1ace-859a-464e-9ed9-23947d8ae3ea"
Expand Down
1 change: 1 addition & 0 deletions src/MLJXGBoostInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function modelexpr(name::Symbol, absname::Symbol, obj::AbstractString, objvalida
# this should probably be fixed so that we don't pass invalid parameters,
# but in the meantime, let's just disable checking
validate_parameters::Bool = false
eval_metric::Vector{String} = String[]
end

end
Expand Down

0 comments on commit e3c3b55

Please sign in to comment.