rheon ===== This is the API reference of rheon, built from its docstrings, for a reader who has met the library in the `README `_ and wants one call's parameters, output and refusals. Install it with ``pip install "rheon[polars]"``, and import it as ``from rheon import polars as rp``. rheon fits models online for `Polars `_: linear models, streaming moments, clustering and regime detection, for data too large to hold in memory at once. The Rust core runs three ways: inside a Polars query (``lf.rheon.fit_predict(specs)``), fed chunks by a ``ModelBank``, and from the ``rheon`` command line. Every row is predicted before it is learned from, and the numbers are the same whichever way the bank runs. Each module's page lists its functions and classes by family, and each function and class has a page of its own. The guides, which the README's map leads to, show each call at work: the models, which calls stream, the state-file workflow, and performance. The `feature index `_ lists every function and class with a line each. The `highlights page `_ runs four use cases end to end. Each model's update equations are in its builder's docstring. .. list-table:: :header-rows: 1 :widths: 24 76 * - page - what it documents * - :doc:`rheon` - ``ModelBank``, the package's own functions (``fit_predict``, ``predict``, ``unnest``, ``target``), its errors, its warnings and its versions * - :doc:`spec` - the model builders by family (regressions, robust regressions, covariance and regimes, changepoints and sequential tests, clustering and classification), the parameters every spec shares, and the fields each model writes * - :doc:`namespaces` - ``lf.rheon`` and ``df.rheon``: a bank run inside a query, or on a frame in memory * - :doc:`stream` - transforms of a stream before a bank: windows as columns, targets whose values arrive late, and series that tick at their own times * - :doc:`ops` - the window operators, Polars expressions over a stream's clock that look back or ahead * - :doc:`eval` - scores of a bank's output, over a frame or one chunk at a time, and tests of one spec's residuals against another's * - :doc:`gram` - the Grams a bank exports: pooled, narrowed, solved, and given standard errors * - :doc:`corr` - correlation matrices: read, repaired, summarized, told from noise and scored * - :doc:`sim` - a seeded simulator of correlation regimes, its truth beside the data .. toctree:: :maxdepth: 2 :hidden: rheon spec namespaces stream ops eval gram corr sim