-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Hi,
I noticed that R and Python have logmeanexp. I think this would be a simple, yet useful addition. I would be willing to make a PR. The basic function would be
function logmeanexp(X::AbstractArray{<:Number})
return logsumexp(X) - log(length(X))
end
Some additional logic would be needed to handled the dims keyword.
Metadata
Metadata
Assignees
Labels
No labels