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 1
1
name = " LearnAPI"
2
2
uuid = " 92ad9a40-7767-427a-9ee6-6e577f1266cb"
3
3
authors = [
" Anthony D. Blaom <[email protected] >" ]
4
- version = " 1.0.0 "
4
+ version = " 1.0.1 "
5
5
6
6
[compat ]
7
7
julia = " 1.10"
Original file line number Diff line number Diff line change @@ -244,14 +244,10 @@ struct RandomAccess <: Finite end
244
244
"""
245
245
LearnAPI.FiniteIterable
246
246
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`.
255
251
256
252
If [`LearnAPI.data_interface(learner)`](@ref) takes the value `FiniteIterable()`, then
257
253
[`obs`](@ref)`(learner, ...)` is guaranteed to return objects implementing the
You can’t perform that action at this time.
0 commit comments