@@ -8,18 +8,18 @@ const ACCESSOR_FUNCTIONS = (
88"""
99 LearnAPI.feature_importances(model, fitted_params, report)
1010
11- Return the model-specific feature importances of `model`, given `fittted_params ` and
11+ Return the model-specific feature importances of `model`, given `fitted_params ` and
1212`report`, as returned by [`LearnAPI.fit`](@ref), [`LearnAPI.update!`](@ref) or
1313[`LearnAPI.ingest!`](@ref). The value returned has the form of an abstract vector of
14- `feature::Symbol => importance::Real` pairs (e.g `[:gender =>0.23, :height =>0.7, :weight
14+ `feature::Symbol => importance::Real` pairs (e.g `[:gender => 0.23, :height => 0.7, :weight
1515=> 0.1]`).
1616
1717The `model` supports feature importances if `:feature_importance in
1818LearnAPI.functions(model)`.
1919
2020If for some reason a model is sometimes unable to report feature importances, then
21- `feature_importances` will return all importances as 0.0, as in `[:gender =>0.0, :height
22- =>0.0, :weight => 0.0]`.
21+ `feature_importances` will return all importances as 0.0, as in `[:gender => 0.0, :height
22+ => 0.0, :weight => 0.0]`.
2323
2424# New model implementations
2525
@@ -36,7 +36,7 @@ function feature_importances end
3636"""
3737 training_losses(model, fitted_params, report)
3838
39- Return the training losses for `model`, given `fittted_params ` and
39+ Return the training losses for `model`, given `fitted_params ` and
4040`report`, as returned by [`LearnAPI.fit`](@ref), [`LearnAPI.update!`](@ref) or
4141[`LearnAPI.ingest!`](@ref).
4242
@@ -53,7 +53,7 @@ function training_losses end
5353"""
5454 training_scores(model, fitted_params, report)
5555
56- Return the training scores for `model`, given `fittted_params ` and
56+ Return the training scores for `model`, given `fitted_params ` and
5757`report`, as returned by [`LearnAPI.fit`](@ref), [`LearnAPI.update!`](@ref) or
5858[`LearnAPI.ingest!`](@ref).
5959
@@ -71,7 +71,7 @@ function training_scores end
7171"""
7272 training_labels(model, fitted_params, report)
7373
74- Return the training labels for `model`, given `fittted_params ` and
74+ Return the training labels for `model`, given `fitted_params ` and
7575`report`, as returned by [`LearnAPI.fit`](@ref), [`LearnAPI.update!`](@ref) or
7676[`LearnAPI.ingest!`](@ref).
7777
0 commit comments