Skip to content

Commit f612b0b

Browse files
committed
Remove StatelessTableTransform
1 parent 14c5940 commit f612b0b

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/TableTransforms.jl

+1
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,5 @@ export
7777
ColTable,
7878
,
7979
80+
8081
end

src/transforms.jl

-10
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,6 @@ This function is intended for developers of new types.
5757
"""
5858
function revertmeta end
5959

60-
"""
61-
StatelessTableTransform
62-
63-
This trait is useful to signal that we can [`reapply`](@ref) a transform
64-
"fitted" with training data to "test" data without relying on the `cache`.
65-
"""
66-
abstract type StatelessTableTransform <: TableTransform end
67-
6860
"""
6961
StatelessFeatureTransform
7062
@@ -180,8 +172,6 @@ reapplymeta(::FeatureTransform, meta, mcache) = meta
180172
# STATELESS FALLBACKS
181173
# --------------------
182174

183-
reapply(transform::StatelessTableTransform, table, cache) = apply(transform, table) |> first
184-
185175
reapply(transform::StatelessFeatureTransform, table, cache) = apply(transform, table) |> first
186176

187177
# ------------------

0 commit comments

Comments
 (0)