1
1
# [ Accessor Functions] (@id accessor_functions)
2
2
3
3
The sole argument of an accessor function is the output, ` model ` , of
4
- [ ` fit ` ] ( @ref ) . Algorithms are free to implement any number of these, or none of them. Only
4
+ [ ` fit ` ] ( @ref ) . Learners are free to implement any number of these, or none of them. Only
5
5
` LearnAPI.strip ` has a fallback, namely the identity.
6
6
7
- - [ ` LearnAPI.algorithm (model) ` ] ( @ref )
7
+ - [ ` LearnAPI.learner (model) ` ] ( @ref )
8
8
- [ ` LearnAPI.extras(model) ` ] ( @ref )
9
9
- [ ` LearnAPI.strip(model) ` ] ( @ref )
10
10
- [ ` LearnAPI.coefficients(model) ` ] ( @ref )
@@ -18,20 +18,20 @@ The sole argument of an accessor function is the output, `model`, of
18
18
- [ ` LearnAPI.training_scores(model) ` ] ( @ref )
19
19
- [ ` LearnAPI.components(model) ` ] ( @ref )
20
20
21
- Algorithm -specific accessor functions may also be implemented. The names of all accessor
22
- functions are included in the list returned by [ ` LearnAPI.functions(algorithm ) ` ] ( @ref ) .
21
+ Learner -specific accessor functions may also be implemented. The names of all accessor
22
+ functions are included in the list returned by [ ` LearnAPI.functions(learner ) ` ] ( @ref ) .
23
23
24
24
## Implementation guide
25
25
26
- All new implementations must implement [ ` LearnAPI.algorithm ` ] ( @ref ) . While, all others are
26
+ All new implementations must implement [ ` LearnAPI.learner ` ] ( @ref ) . While, all others are
27
27
optional, any implemented accessor functions must be added to the list returned by
28
28
[ ` LearnAPI.functions ` ] ( @ref ) .
29
29
30
30
31
31
## Reference
32
32
33
33
``` @docs
34
- LearnAPI.algorithm
34
+ LearnAPI.learner
35
35
LearnAPI.extras
36
36
LearnAPI.strip
37
37
LearnAPI.coefficients
0 commit comments