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 @@ -440,16 +440,17 @@ fit_observation_scitype(::Any) = Union{}
440
440
LearnAPI.target_observation_scitype(learner)
441
441
442
442
Return an upper bound `S` on the scitype of each observation of an applicable target
443
- variable. Specifically:
443
+ variable. Specifically, both of the following is always true :
444
444
445
445
- If `:(LearnAPI.target) in LearnAPI.functions(learner)` (i.e., `fit` consumes target
446
- variables) then "target" means anything returned by `LearnAPI.target(learner, data)`,
447
- where `data` is an admissible argument in the call `fit(learner, data)`.
446
+ variables) then "target" means anything returned by [`LearnAPI.target(learner,
447
+ observations)`](@ref), where `observations = `[`LearnAPI.obs(learner, data)`](@ref) and
448
+ `data` is an admissible argument in the call [`fit(learner, data)`](@ref).
448
449
449
450
- `S` will always be an upper bound on the scitype of (point) observations that could be
450
451
conceivably extracted from the output of [`predict`](@ref).
451
452
452
- To illustate the second case , suppose we have
453
+ To illustate the second property , suppose we have
453
454
454
455
```julia
455
456
model = fit(learner, data)
You can’t perform that action at this time.
0 commit comments