Skip to content

Commit bce74cf

Browse files
committed
doc tweaks
1 parent 43a1ef5 commit bce74cf

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/src/anatomy_of_an_implementation.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -461,11 +461,9 @@ argument, overloading `obs` is optional. This is provided data in publicized
461461
`fit`/`predict` signatures consists only of objects implement the
462462
[`LearnAPI.RandomAccess`](@ref) interface (most tables¹, arrays³, and tuples thereof).
463463

464-
To buy out of supporting the MLUtils.jl interface altogether, an implementation must
465-
overload the trait, [`LearnAPI.data_interface(algorithm)`](@ref).
466-
467-
For more on data interfaces, see [`obs`](@ref) and
468-
[`LearnAPI.data_interface(algorithm)`](@ref).
464+
To opt out of supporting the MLUtils.jl interface altogether, an implementation must
465+
overload the trait, [`LearnAPI.data_interface(algorithm)`](@ref). See [Data
466+
interfaces](@ref data_interfaces) for details.
469467

470468

471469
## Demonstration of an advanced `obs` workflow

docs/src/obs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ A sample implementation is given in [Providing an advanced data interface](@ref)
9191
obs
9292
```
9393

94-
### Data interfaces
94+
### [Data interfaces](@id data_interfaces)
9595

9696
New implementations must overload [`LearnAPI.data_interface(algorithm)`](@ref) if the
9797
output of [`obs`](@ref) does not implement [`LearnAPI.RandomAccess`](@ref). (Arrays, most

0 commit comments

Comments
 (0)