You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`LearnAPI.target_proxy`](@ref)`(model)`|`NamedTuple()`| details form of target proxy output |`(; predict=LearnAPI.Distribution()`|
14
+
|[`LearnAPI.target_proxies`](@ref)`(model)`|`NamedTuple()`| details form of target proxy output |`(; predict=LearnAPI.Distribution()`|
10
15
|[`LearnAPI.position_of_target`](@ref)`(model)`|`0`| † the positional index of the **target** in `data` in `fit(..., data...; metadata)` calls | 2 |
11
16
|[`LearnAPI.position_of_weights`](@ref)`(model)`|`0`| † the positional index of **observation weights** in `data` in `fit(..., data...; metadata)`| 3 |
12
17
|[`LearnAPI.descriptors`](@ref)`(model)`|`()`| lists one or more suggestive model descriptors from `LearnAPI.descriptors()`| (:classifier, :probabilistic) |
@@ -35,3 +40,10 @@ is understood to exclude the variable, but note that `fit` can have multiple sig
35
40
varying lengths, as in `fit(model, verbosity, X, y)` and `fit(model, verbosity, X, y,
36
41
w)`. A non-zero value is a promise that `fit` includes a signature of sufficient length to
[`LearnAPI.inverse_transform`](@ref) | no | none | `transform` |
25
25
26
-
> **† MLJ only.** MLJBase provides fallbacks for `predict_mode`, `predict_mean` and
27
-
> `predict_median` by broadcasting methods from `Statistics` and `StatsBase` over the
28
-
> results of `predict`.
29
26
30
27
## General requirements
31
28
32
29
- Only implement `predict_joint` for outputing a *single* multivariate probability
33
30
distribution for multiple target predictions, as described further at
34
31
[`LearnAPI.predict_joint`](@ref).
35
32
36
-
- Each operation explicitly implemented or overloaded must be included in the return value
33
+
- Each operation explicitly overloaded must be included in the return value
37
34
of [`LearnAPI.functions`](@ref).
38
35
39
36
## Predict or transform?
@@ -91,27 +88,33 @@ have no fields.
91
88
|`LearnAPI.SurvivalFunction`| survival function (possible requirement: observation is single-argument function mapping `Real` to `Real`) |
92
89
|`LearnAPI.SurvivalDistribution`| probability distribution for survival time (possible requirement: observation have type `Distributions.ContinuousUnivariateDistribution`) |
|`LearnAPI.Sampleable`| object that can be sampled to obtain a *vector* whose elements have the form of target observations; the vector length matches the number of observations in `data`. |
117
120
|`LearnAPI.Distribution`| explicit probability density/mass function whose sample space is vectors of target observations; the vector length matches the number of observations in `data`|
0 commit comments