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 src/learners/gradient_descent.jl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ replacement for :epochs is specified, or `Δepochs` is negative, instead return
Return an updated model, with the weights and bias of the previously learned perceptron
used as the starting state in new gradient descent updates. Adopt any specified
hyperparameter `replacements` (properties of `LearnAPI.learner(model)`). Exactly `n` new
epochs are applied, where `n = model.epochs` unless this explictly changed in
epochs are applied, where `n = model.epochs` unless this explicitly changed in
`replacements`.

"""
Expand Down
2 changes: 1 addition & 1 deletion src/learners/static_algorithms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ rejected(model::FancySelectorFitted) = model.rejected
LearnAPI.fit(learner::FancySelector; verbosity=LearnAPI.default_verbosity()) =
FancySelectorFitted(learner)

# output the filtered table and add `rejected` field to model (mutatated!)
# output the filtered table and add `rejected` field to model (mutated!)
function LearnAPI.transform(model::FancySelectorFitted, X)
table = Tables.columntable(X)
names = Tables.columnnames(table)
Expand Down
2 changes: 1 addition & 1 deletion src/tools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ learner_get(learner, data, apply=identity) =
get(learner, data, LearnAPI.data_interface(learner), apply)

"""
model_get(model, data)
model_get(model, data; apply=identity)

*Private method.*

Expand Down
Loading