Skip to content

documentation #46

Open
Open
@tpapp

Description

@tpapp

I find this package extremely useful, and I think that it is sufficiently mature that it would benefit from documentation. I am opening this issue to discuss how to do this, and would be happy to contribute PRs.

What I am missing the most is details on computations, especially invariants that need to be satisfied, at least approximately. Eg

using WeightedOnlineStats
stat = WeightedMean()
fit!(stat, x, weights)
m = mean(stat)

then the expected invariant is

$$ m = \frac{\sum_i x_i w_i}{\sum_i w_i} $$

The example is deliberately trivial; for other moments I am not a 100% sure what the result is without looking at the code in detail. Formulas in docstrings would help. A lot of this is already used in tests.

It would also be great to have references to algorithms where applicable.

Setting up automatic docs generation using Documenter.jl would be a nice start, even if it is WIP. Ideally I would prefer to make small PRs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions