.. _f-matrices: module ``ml.matrices`` ====================== Short summary +++++++++++++ module ``mlstatpy.ml.matrices`` Algorithms about matrices. :githublink:`%|py|6` Functions +++++++++ +--------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | function | truncated documentation | +================================================================================================================================+==========================================================================================================================================================================+ | :func:`gram_schmidt ` | Applies the `Gram–Schmidt process `_. Due to performance, ... | +--------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`linear_regression ` | Solves the linear regression problem, find :math:`\beta` which minimizes :math:`\norme{y - X\beta}`, based on the ... | +--------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`norm2 ` | Computes the square norm for all rows of a matrix. | +--------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`streaming_gram_schmidt ` | Solves the linear regression problem, find :math:`\beta` which minimizes :math:`\norme{y - X\beta}`, based on ... | +--------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`streaming_gram_schmidt_update ` | Updates matrix :math:`P_k` to produce :math:`P_{k+1}` which is the matrix *P* in algorithm :ref:`Streaming Linear Regression `. ... | +--------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`streaming_linear_regression ` | Streaming algorithm to solve a linear regression. See :ref:`l-piecewise-linear-regression`. | +--------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`streaming_linear_regression_gram_schmidt ` | Streaming algorithm to solve a linear regression with Gram-Schmidt algorithm. See :ref:`l-piecewise-linear-regression-gram_schmidt`. ... | +--------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`streaming_linear_regression_gram_schmidt_update ` | Updates coefficients :math:`\beta_k` to produce :math:`\beta_{k+1}` in :ref:`Streaming Linear Regression `. ... | +--------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`streaming_linear_regression_update ` | Updates coefficients :math:`\beta_k` to produce :math:`\beta_{k+1}` in :ref:`l-piecewise-linear-regression`. The ... | +--------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: mlstatpy.ml.matrices :members: :special-members: __init__ :show-inheritance: