Skip to content

Commit

Permalink
load models silently
Browse files Browse the repository at this point in the history
  • Loading branch information
tiemvanderdeure committed Nov 29, 2023
1 parent 73fb8f8 commit 5d1469b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/models.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Load in models and wrap them to hide @load

const lbc = MLJ.@load LinearBinaryClassifier pkg=GLM
const etc = MLJ.@load EvoTreeClassifier pkg=EvoTrees
const rf = MLJ.@load RandomForestClassifier pkg=DecisionTree
const lbc = MLJ.@load LinearBinaryClassifier pkg=GLM verbosity = 0
const etc = MLJ.@load EvoTreeClassifier pkg=EvoTrees verbosity = 0
const rf = MLJ.@load RandomForestClassifier pkg=DecisionTree verbosity = 0

linear_model(; kw...) = lbc(; kw...)
boosted_regression_tree(; kw...) = etc(; kw...)
Expand Down

0 comments on commit 5d1469b

Please sign in to comment.