@@ -42,12 +42,6 @@ MLJBase.transform(::DummyStatic, _, x, y) = hcat(x, y)
42
42
MLJBase. package_name (:: Type{<:DummyStatic} ) = " DummyPackage"
43
43
MLJBase. load_path (:: Type{<:DummyStatic} ) = " DummyPackage.Some.Thing.Different"
44
44
45
- struct DummyStatic2 <: Static end
46
- MLJBase. transform (:: DummyStatic2 , _, x, y) = hcat (x, y)
47
- MLJBase. package_name (:: Type{<:DummyStatic2} ) = " DummyPackage"
48
- MLJBase. load_path (:: Type{<:DummyStatic2} ) = " DummyPackage.Some.Thing.Different"
49
- MLJBase. implemented_methods (:: Type{<:DummyStatic2} ) = Symbol[]
50
-
51
45
struct SupervisedTransformer <: Deterministic end
52
46
MLJBase. fit (:: SupervisedTransformer , verbosity, X, y) = (42 , nothing , nothing )
53
47
MLJBase. predict (:: SupervisedTransformer , _, Xnew) = fill (4.5 , length (Xnew))
@@ -69,11 +63,6 @@ MLJBase.load_path(::Type{<:SupervisedTransformer}) =
69
63
operations, outcome = MLJTestInterface. operations (smach, X, y)
70
64
@test operations == " transform"
71
65
@test outcome == " ✓"
72
-
73
- smach = machine (DummyStatic2 ())
74
- operations, outcome = MLJTestInterface. operations (smach, X, y)
75
- @test operations == " transform"
76
- @test outcome == " ✓"
77
66
end
78
67
79
68
true
0 commit comments