Skip to content

Commit 5e60305

Browse files
committed
doc tweak
1 parent 63f2f0d commit 5e60305

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/target_weights_features.jl

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ Return, for each form of `data` supported in a call of the form [`fit(learner,
55
data)`](@ref), the target variable part of `data`. If `nothing` is returned, the
66
`learner` does not see a target variable in training (is unsupervised).
77
8-
Refer to LearnAPI.jl documentation for the precise meaning of "target".
8+
# Extended help
99
10-
# New implementations
10+
## What is a target variable?
11+
12+
Examples of target variables are house prices in realestate pricing estimates, the
13+
"spam"/"not spam" labels in an email spam filtering task, "outlier"/"inlier" labels in
14+
outlier detection, cluster labels in clustering problems, and censored survival times in
15+
survival analysis. For more on targets and target proxies, see the "Reference" section of
16+
the LearnAPI.jl documentation.
17+
18+
## New implementations
1119
1220
A fallback returns `nothing`. Must be implemented if `fit` consumes data including a
1321
target variable.

0 commit comments

Comments
 (0)