File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -244,14 +244,10 @@ struct RandomAccess <: Finite end
244244"""
245245 LearnAPI.FiniteIterable
246246
247- A data interface type. We say that `data` implements the `FiniteIterable` interface if
248- it implements Julia's `iterate` interface, including `Base.length`, and if
249- `Base.IteratorSize(typeof(data)) == Base.HasLength()`. For example, this is true if:
250-
251- - `data` implements the [`LearnAPI.RandomAccess`](@ref) interface (arrays and most
252- tables); or
253-
254- - `data isa MLCore.DataLoader`, which includes output from `MLCore.eachobs`.
247+ A data interface type. We say that `data` implements the `FiniteIterable` interface if it
248+ implements Julia's `iterate` interface, including `Base.length`, and if
249+ `Base.IteratorSize(typeof(data)) == Base.HasLength()`. For example, this is true if `data
250+ isa MLCore.DataLoader`, which includes the output of `MLUtils.eachobs`.
255251
256252If [`LearnAPI.data_interface(learner)`](@ref) takes the value `FiniteIterable()`, then
257253[`obs`](@ref)`(learner, ...)` is guaranteed to return objects implementing the
You can’t perform that action at this time.
0 commit comments