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
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MLJModelInterface"
uuid = "e80e1ace-859a-464e-9ed9-23947d8ae3ea"
authors = ["Thibaut Lienart and Anthony Blaom"]
version = "1.12.0"
version = "1.12.1"

[deps]
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
Expand All @@ -12,7 +12,7 @@ StatisticalTraits = "64bff920-2084-43da-a3e6-9bb72801c0c9"

[compat]
Aqua = "0.8"
CategoricalArrays = "0.10"
CategoricalArrays = "0.10, 1"
DataFrames = "1"
Distances = "0.10"
InteractiveUtils = "<0.0.1, 1"
Expand Down
11 changes: 6 additions & 5 deletions docs/src/fitting_distributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ and `X = nothing`.

The `predict` method should return a single distribution.

A working implementation of a model that fits a `UnivariateFinite`
distribution to some categorical data using [Laplace
smoothing](https://en.wikipedia.org/wiki/Additive_smoothing)
controlled by a hyperparameter `alpha` is given
[here](https://github.com/JuliaAI/MLJBase.jl/blob/d377bee1198ec179a4ade191c11fef583854af4a/test/interface/model_api.jl#L36).
A working implementation of a model that fits a `UnivariateFinite` distribution to some
categorical data using [Laplace
smoothing](https://en.wikipedia.org/wiki/Additive_smoothing) controlled by a
hyperparameter `alpha` is given in [MLJBase
tests](https://github.com/JuliaAI/MLJBase.jl/blob/dev/test/resampling.jl); try
[here](https://github.com/JuliaAI/MLJBase.jl/blob/203aae371f67ed639685aa4803e150ff69f0fa49/test/resampling.jl#L1050).


Loading