Skip to content

Commit ee688fc

Browse files
authored
Merge pull request #65 from JuliaAI/dev
remove an incorrect statement in a docstring
2 parents ff95c89 + 011006f commit ee688fc

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

docs/src/accessor_functions.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# [Accessor Functions](@id accessor_functions)
22

3-
The sole argument of an accessor function is the output, `model`, of
4-
[`fit`](@ref). Learners are free to implement any number of these, or none of them. Only
5-
`LearnAPI.strip` has a fallback, namely the identity.
3+
The sole argument of an accessor function is the output, `model`, of [`fit`](@ref). The
4+
only accessor function that must be implemented for each new learner is
5+
[`LearnAPI.learner(model)`](@ref); [`LearnAPI.strip`](@ref) has a fallback, namely the
6+
identity.
67

78
- [`LearnAPI.learner(model)`](@ref)
89
- [`LearnAPI.extras(model)`](@ref)

src/predict_transform.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,7 @@ implementation must be added to the list returned by
9999
`LearnAPI.kinds_of_proxy()`.
100100
101101
When `predict` is implemented, it may be necessary to overload
102-
[`LearnAPI.features`](@ref). If `data` is not present in the implemented signature (eg.,
103-
for density estimators) then [`LearnAPI.features(learner, data)`](@ref) must always return
104-
`nothing`.
102+
[`LearnAPI.features`](@ref).
105103
106104
$(DOC_IMPLEMENTED_METHODS(":(LearnAPI.predict)"))
107105

0 commit comments

Comments
 (0)