@@ -33,6 +33,7 @@ bar(::P1) = nothing
33
33
M. package_name (:: Type{<:S1} ) = " Sibelius"
34
34
M. package_url (:: Type{<:S1} ) = " www.find_the_eighth.org"
35
35
M. human_name (:: Type{<:S1} ) = " silly model"
36
+ M. tags (:: Type{<:S1} ) = [" regression" , " gradient descent" ]
36
37
37
38
M. package_name (:: Type{<:U1} ) = " Bach"
38
39
M. package_url (:: Type{<:U1} ) = " www.did_he_write_565.com"
@@ -103,6 +104,7 @@ M.input_scitype(::Type{<:SupervisedTransformer}) = Finite
103
104
104
105
@test name (ms) == " S1"
105
106
@test human_name (ms) == " silly model"
107
+ @test tags (ms) == [" regression" , " gradient descent" ]
106
108
107
109
108
110
@test is_supervised (ms)
@@ -117,18 +119,14 @@ M.input_scitype(::Type{<:SupervisedTransformer}) = Finite
117
119
@test hyperparameters (md) == (:a ,)
118
120
@test hyperparameter_types (md) == (" Int64" ,)
119
121
120
- # implemented methods is deferred
121
- setlight ()
122
- @test_throws M. InterfaceError implemented_methods (mp)
123
-
124
- setfull ()
122
+ @test implemented_methods (ms) == [:clean! ,]
125
123
126
124
@test Set (implemented_methods (mp)) == Set ([:clean! ,:bar ,:foo ])
127
125
128
- @test fit_data_scitype (mu) == Tuple{Unknown};;;
126
+ @test fit_data_scitype (mu) == Tuple{Unknown}
129
127
@test fit_data_scitype (mu) == Tuple{Unknown}
130
128
@test fit_data_scitype (supervised_transformer) == Tuple{Finite,Continuous}
131
-
129
+
132
130
end
133
131
134
132
@testset " `_density` - helper for predict_scitype fallback" begin
0 commit comments