Skip to content

Commit 3ed7301

Browse files
committed
fix a docstring
1 parent ec42302 commit 3ed7301

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ understood to have a valid implementation of the LearnAPI.jl interface.
116116

117117
#### Example
118118

119-
Any instance of `GradientRidgeRegressor` defined below is a valid learner.
119+
Below is an example of a learner type with a valid constructor:
120120

121121
```julia
122122
struct GradientRidgeRegressor{T<:Real}

src/target_weights_features.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ implemented, as in the following sample workflow:
7272
```julia
7373
model = fit(learner, data)
7474
X = LearnAPI.features(learner, data)
75-
ŷ = predict(learner, kind_of_proxy, X) # eg, `kind_of_proxy = Point()`
75+
ŷ = predict(model, kind_of_proxy, X) # eg, `kind_of_proxy = Point()`
7676
```
7777
7878
For supervised models (i.e., where `:(LearnAPI.target) in LearnAPI.functions(learner)`)

0 commit comments

Comments
 (0)