Description
@kahaaga I've merged main
(which is #168 ) into my branch that defines the encoding API and also implements it for histograms. Things remain unclear to me, mainly because discussions were spread across many different issues and PRs and I no longer remember where the information is supposed to be.
Is it correct that all main API functions start with the estimator types? This means that we have:
entropy(e::Entropy, p::ProbEst, x, ...)
probabilities(p::ProbEst, x, ...)
probabilities_and_outcomes(p::ProbEst, x, ...)
But as far as I can tell, these are the only two functions that follow this appraoch of having first the type. The following functions have the different approach of having first input x
, and then the probabilities type:
outcome_space
total_outcomes
missing_outcomes
outcomes
Can you please explain what is the overall plan? Should we make all functions follow the first or the second version in the order of arguments?