From 008063b13878842ecb15744b6f5e56998673bd2a Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Thu, 27 Oct 2022 15:59:59 +1300 Subject: [PATCH 1/2] rm descr from metadata_model declarations --- src/MLJ.jl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/MLJ.jl b/src/MLJ.jl index 72875d3d..dc405bd7 100644 --- a/src/MLJ.jl +++ b/src/MLJ.jl @@ -119,7 +119,6 @@ MMI.metadata_model( target_scitype = AbstractVector{<:MMI.Continuous}, weights = false, path = "EvoTrees.EvoTreeRegressor", - descr = EvoTreeRegressor_desc, ) MMI.metadata_model( @@ -131,7 +130,6 @@ MMI.metadata_model( target_scitype = AbstractVector{<:MMI.Finite}, weights = false, path = "EvoTrees.EvoTreeClassifier", - descr = EvoTreeClassifier_desc, ) MMI.metadata_model( @@ -143,7 +141,6 @@ MMI.metadata_model( target_scitype = AbstractVector{<:MMI.Count}, weights = false, path = "EvoTrees.EvoTreeCount", - descr = EvoTreeCount_desc, ) MMI.metadata_model( @@ -155,7 +152,6 @@ MMI.metadata_model( target_scitype = AbstractVector{<:MMI.Continuous}, weights = false, path = "EvoTrees.EvoTreeGaussian", - descr = EvoTreeGaussian_desc, ) MMI.metadata_model( @@ -167,7 +163,6 @@ MMI.metadata_model( target_scitype = AbstractVector{<:MMI.Continuous}, weights = false, path = "EvoTrees.EvoTreeMLE", - descr = EvoTreeMLE_desc, ) """ From fd4508440206090b6e50ceb89efee0e64a65b425 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 28 Oct 2022 11:30:13 +1300 Subject: [PATCH 2/2] rm redundant constants --- src/MLJ.jl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/MLJ.jl b/src/MLJ.jl index dc405bd7..19840c0c 100644 --- a/src/MLJ.jl +++ b/src/MLJ.jl @@ -94,11 +94,6 @@ end # Metadata -const EvoTreeRegressor_desc = "Regression models with various underlying methods: least square, quantile, logistic, gamma (deviance), tweedie (deviance)." -const EvoTreeClassifier_desc = "Multi-classification with softmax and cross-entropy loss." -const EvoTreeCount_desc = "Poisson regression fitting λ with deviance minimization." -const EvoTreeGaussian_desc = "Deprecated - Use EvoTreeMLE with `loss=:normal` instead. Gaussian maximum likelihood of μ and σ." -const EvoTreeMLE_desc = "Maximum likelihood methods supporting Normal/Gaussian and Logistic distributions." MMI.metadata_pkg.( (EvoTreeRegressor, EvoTreeClassifier, EvoTreeCount, EvoTreeGaussian),