File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 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
99Typically ` predict ` returns a single probability density/mass function. Here's a sample
1010workflow:
1111
1212``` julia
1313model = 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
1717A one-line convenience method will typically be implemented as well:
You can’t perform that action at this time.
0 commit comments