diff --git a/Project.toml b/Project.toml index 65fea1f..6b552d1 100644 --- a/Project.toml +++ b/Project.toml @@ -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" @@ -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" diff --git a/docs/src/fitting_distributions.md b/docs/src/fitting_distributions.md index 38bfcfe..863c126 100644 --- a/docs/src/fitting_distributions.md +++ b/docs/src/fitting_distributions.md @@ -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).