File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
The ` obs ` method takes data intended as input to ` fit ` , ` predict ` or ` transform ` , and
4
4
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).
8
9
9
10
``` julia
10
11
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`
12
13
```
13
14
14
15
## [ Typical workflows] (@id obs_workflows)
You can’t perform that action at this time.
0 commit comments