From e3c3b5520df427d3b62edc61b3acb14549a6b362 Mon Sep 17 00:00:00 2001 From: ExpandingMan Date: Tue, 23 May 2023 12:33:09 -0400 Subject: [PATCH] add eval_metric argument (#41) * add eval_metric argument * bump version --- Project.toml | 2 +- src/MLJXGBoostInterface.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index dffd492..87c6dfc 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MLJXGBoostInterface" uuid = "54119dfa-1dab-4055-a167-80440f4f7a91" authors = ["Anthony D. Blaom "] -version = "0.3.7" +version = "0.3.8" [deps] MLJModelInterface = "e80e1ace-859a-464e-9ed9-23947d8ae3ea" diff --git a/src/MLJXGBoostInterface.jl b/src/MLJXGBoostInterface.jl index 3c88725..afc9d2b 100644 --- a/src/MLJXGBoostInterface.jl +++ b/src/MLJXGBoostInterface.jl @@ -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