File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 11name = " LearnAPI"
22uuid = " 92ad9a40-7767-427a-9ee6-6e577f1266cb"
33authors = [" Anthony D. Blaom <anthony.blaom@gmail.com>" ]
4- version = " 1.0.0 "
4+ version = " 1.0.1 "
55
66[compat ]
77julia = " 1.10"
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