Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/predict_transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The above signatures apply in the case that [`LearnAPI.kind_of(learner)`](@ref)
returns [`LearnAPI.Generative()`](@ref), as in [density
estimation](@ref density_estimation).

## [Typical worklows](@id predict_workflow)
## [Typical workflows](@id predict_workflow)

Train some supervised `learner`:

Expand Down
6 changes: 4 additions & 2 deletions docs/src/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ generally requires overloading `Base.==` for the struct.
!!! important

No LearnAPI.jl method is permitted to mutate a learner. In particular, one should make
deep copies of RNG hyperparameters before using them in an implementation of
[`fit`](@ref).
copies of RNG hyperparameters before using them in an implementation of
[`fit`](@ref). (Do not make *deep* copies as this leads to wrong behavior in the case
of `Random.default_rng()`, which not an actual RNG but only a pointer to the task-local
default RNG.)


#### Kinds of learner
Expand Down
Loading