Skip to content

Commit 9885d58

Browse files
committed
doc tweak
1 parent 4541243 commit 9885d58

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/src/patterns/density_estimation.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Density Estimation
22

3-
In density estimators, `fit` is trained only on [target data](@ref proxy), and
4-
`predict(model, kind_of_proxy)` consumes no data at all, a pattern flagged by the
5-
identities [`LearnAPI.target(learner, y)`](@ref)` == y` and
6-
[`LearnAPI.kind_of(learner)`](@ref)` == `[`LearnAPI.Generative()`](@ref).
3+
In density estimators, `fit` is trained only on [target data](@ref proxy), and `predict`
4+
consumes no data at all, a pattern flagged by the identities [`LearnAPI.target(learner,
5+
y)`](@ref)` == y` and [`LearnAPI.kind_of(learner)`](@ref)` ==
6+
`[`LearnAPI.Generative()`](@ref), respetively.
77

88

99
Typically `predict` returns a single probability density/mass function. Here's a sample
1010
workflow:
1111

1212
```julia
1313
model = fit(learner, y) # no features
14-
predict(model) # shortcut for `predict(model, Distribution())`, or similar
14+
predict(model) # shortcut for `predict(model, Distribution())`, or similar
1515
```
1616

1717
A one-line convenience method will typically be implemented as well:

0 commit comments

Comments
 (0)