@@ -6,13 +6,6 @@ const DOC_UNKNOWN =
6
6
" not overloaded the trait. "
7
7
const DOC_ON_TYPE = " The value of the trait must depend only on the type of `algorithm`. "
8
8
9
- DOC_ONLY_ONE (func) =
10
- " Ordinarily, at most one of the following should be overloaded for given " *
11
- " algorithm " *
12
- " `LearnAPI.$(func) _scitype`, `LearnAPI.$(func) _type`, " *
13
- " `LearnAPI.$(func) _observation_scitype`, " *
14
- " `LearnAPI.$(func) _observation_type`."
15
-
16
9
const DOC_EXPLAIN_EACHOBS =
17
10
"""
18
11
@@ -82,7 +75,7 @@ value is non-empty.
82
75
83
76
# New implementations
84
77
85
- All new implementations must overload this trait. Here's a checklist for elements in the
78
+ All new implementations must implement this trait. Here's a checklist for elements in the
86
79
return value:
87
80
88
81
| expression | implementation compulsory? | include in returned tuple? |
@@ -107,7 +100,6 @@ algorithm-specific ones. The LearnAPI.jl accessor functions are: $ACCESSOR_FUNCT
107
100
(`LearnAPI.strip` is always included).
108
101
109
102
"""
110
- functions (:: Any ) = ()
111
103
functions () = (
112
104
:(LearnAPI. fit),
113
105
:(LearnAPI. algorithm),
@@ -196,8 +188,6 @@ tags() = [
196
188
" meta-algorithms"
197
189
]
198
190
199
- const DOC_TAGS_LIST = join (map (d -> " `\" $d \" `" , tags ()), " , " )
200
-
201
191
"""
202
192
LearnAPI.tags(algorithm)
203
193
@@ -403,7 +393,7 @@ See also [`LearnAPI.target_observation_scitype`](@ref).
403
393
404
394
# New implementations
405
395
406
- Optional. The fallback return value is `Union{}`. $( DOC_ONLY_ONE ( :fit ))
396
+ Optional. The fallback return value is `Union{}`.
407
397
408
398
"""
409
399
fit_observation_scitype (:: Any ) = Union{}
0 commit comments