diff --git a/Project.toml b/Project.toml index d5e596b..619d2ae 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "FeatureSelection" uuid = "33837fe5-dbff-4c9e-8c2f-c5612fe2b8b6" authors = ["Anthony D. Blaom ", "Samuel Okon eval +end + diff --git a/test/models/rfe.jl b/test/models/rfe.jl index c257936..4c5e2d0 100644 --- a/test/models/rfe.jl +++ b/test/models/rfe.jl @@ -191,3 +191,11 @@ end @test predict(mach2, (; x1=rand(2), x2=rand(2))) == yhat end + +@testset "is_wrapper" begin + m = RecursiveFeatureElimination(DecisionTreeClassifier()) + @test is_wrapper(m) + @test is_wrapper(typeof(m)) +end + +true