Skip to content

Commit 54a5f9b

Browse files
committed
fix whitespace
1 parent d6c320f commit 54a5f9b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/src/anatomy_of_an_implementation.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ For a transformer, implementations ordinarily implement `transform` instead of
1010

1111
!!! important
1212

13-
The core implementations of `fit`, `predict`, etc,
14-
always have a *single* `data` argument, as in `fit(algorithm, data; verbosity=1)`.
15-
Calls like `fit(algorithm, X, y)` are provided as additional convenience methods.
13+
The core implementations of `fit`, `predict`, etc,
14+
always have a *single* `data` argument, as in `fit(algorithm, data; verbosity=1)`.
15+
Calls like `fit(algorithm, X, y)` are provided as additional convenience methods.
1616

1717
!!! note
1818

19-
If the `data` object consumed by `fit`, `predict`, or `transform` is not
20-
not a suitable table¹, array³, tuple of tables and arrays, or some
21-
other object implementing
22-
the MLUtils.jl `getobs`/`numobs` interface,
23-
then an implementation must: (i) suitably overload the trait
24-
[`LearnAPI.data_interface`](@ref); and/or (ii) overload [`obs`](@ref), as
25-
illustrated below under [Providing an advanced data interface](@ref).
19+
If the `data` object consumed by `fit`, `predict`, or `transform` is not
20+
not a suitable table¹, array³, tuple of tables and arrays, or some
21+
other object implementing
22+
the MLUtils.jl `getobs`/`numobs` interface,
23+
then an implementation must: (i) suitably overload the trait
24+
[`LearnAPI.data_interface`](@ref); and/or (ii) overload [`obs`](@ref), as
25+
illustrated below under [Providing an advanced data interface](@ref).
2626

2727
The first line below imports the lightweight package LearnAPI.jl whose methods we will be
2828
extending. The second imports libraries needed for the core algorithm.

0 commit comments

Comments
 (0)