diff --git a/src/links.jl b/src/links.jl index 515b8c1..7649d95 100644 --- a/src/links.jl +++ b/src/links.jl @@ -41,10 +41,11 @@ Base.inv(l::Link) = Link(InverseFunctions.inverse(l.f)) Wrapper to preprocess the inputs by adding a `0` at the end before passing it to the link `link`. This is a necessary step to work with simplices. -For example with the [`SoftMaxLink`](@ref), to obtain a `n`-simplex leading to -`n+1` categories for the [`CategoricalLikelihood`](@ref), -one needs to pass `n+1` latent GP. -However, by wrapping the link into a `BijectiveSimplexLink`, only `n` latent are needed. +For example with the [`SoftMaxLink`](@ref), to obtain a `n-1`-simplex leading to +`n` categories for the [`CategoricalLikelihood`](@ref), +one needs to pass `n` latent GP. +However, by wrapping the link into a `BijectiveSimplexLink`, only `n-1` latent GPs are needed +as a `0` is concatenated at the end. """ struct BijectiveSimplexLink{L} <: AbstractLink link::L