Skip to content

Commit d6cd610

Browse files
committed
tweak docs
1 parent 1647461 commit d6cd610

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/src/obs.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
The `obs` method takes data intended as input to `fit`, `predict` or `transform`, and
44
transforms it to a learner-specific form guaranteed to implement a form of observation
5-
access designated by the learner. The transformed data can then be resampled and passed
6-
on to the relevant method in place of the original input. Using `obs` may provide
7-
performance advantages over naive workflows in some cases (e.g., cross-validation).
5+
access designated by the learner. The transformed data can then passed on to the relevant
6+
method in place of the original input (after first resampling it, if the learner supports
7+
this). Using `obs` may provide performance advantages over naive workflows in some cases
8+
(e.g., cross-validation).
89

910
```julia
1011
obs(learner, data) # can be passed to `fit` instead of `data`
11-
obs(model, data) # can be passed to `predict` or `transform` instead of `data`
12+
obs(model, data) # can be passed to `predict` or `transform` instead of `data`
1213
```
1314

1415
## [Typical workflows](@id obs_workflows)

0 commit comments

Comments
 (0)