Skip to content

Commit cb45f87

Browse files
committed
add OutlierScore, Continuous <: IID
tweak
1 parent 718cea8 commit cb45f87

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

docs/src/index.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,15 @@ by the clustering algorithm can can be paired with human labels using, say, the
105105
index. In survival analysis, predicted survival functions or probability distributions are
106106
compared with censored ground truth survival times.
107107

108-
More generally, whenever we have predicted variable (e.g., a class label) paired with
108+
More generally, whenever we have a predicted variable (e.g., a class label) paired with
109109
itself or some proxy (such as a class probability) we call the variable a *target*
110110
variable, and the predicted output a *target proxy*. It is immaterial whether or not the
111111
target appears in training (is supervised) or whether the model generalizes to new
112-
observations (learns) or not. The target and the kind of predicted proxy are crucial
113-
features of ML/statistics performance measures and LearnAPI.jl provides a detailed list of
114-
proxy dispatch types (see [Target proxies](@ref)), as well as algorithm traits to
115-
articulate target type /scitype and a preferred kind of target proxy.
112+
observations (learns) or not.
113+
114+
The target and the kind of predicted proxy are crucial features of ML/statistics
115+
performance measures and LearnAPI.jl provides a detailed list of proxy dispatch types (see
116+
[Target proxies](@ref)), as well as algorithm traits to articulate target type /scitype.
116117

117118

118119
## Optional data interface

docs/src/operations.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ LearnAPI.IID
8585
| `LearnAPI.ProbabilisticSet` | as for `Set` but labeled with probabilities (not necessarily summing to one) |
8686
| `LearnAPI.SurvivalFunction` | survival function (possible requirement: observation is single-argument function mapping `Real` to `Real`) |
8787
| `LearnAPI.SurvivalDistribution` | probability distribution for survival time |
88+
| `LearnAPI.OutlierScore` | numerical score reflecting degree of outlierness (not necessarily normalized) |
89+
| `LearnAPI.Continuous` | real-valued approximation/interpolation of a discrete-valued target, such as a count (e.g., number of phone calls) |
8890

8991
† Provided for completeness but discouraged to avoid [ambiguities in
9092
representation](https://github.com/alan-turing-institute/MLJ.jl/blob/dev/paper/paper.md#a-unified-approach-to-probabilistic-predictions-and-their-evaluation).

src/operations.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ struct Set <: IID end
172172
struct ProbabilisticSet <: IID end
173173
struct SurvivalFunction <: IID end
174174
struct SurvivalDistribution <: IID end
175+
struct OutlierScore <: IID end
176+
struct Continuous <: IID end
175177

176178
struct JointSampleable <: KindOfProxy end
177179
struct JointDistribution <: KindOfProxy end

0 commit comments

Comments
 (0)