{"repo":"mljs/matrix","free":true,"listed":false,"github":"https://github.com/mljs/matrix","clone":"git clone https://github.com/mljs/matrix.git","description":"Matrix manipulation and computation library","language":"JavaScript","stars":399,"topics":["matrix","javascript","ml","machine-learning"],"license":"MIT","category":"machine-learning","readme_excerpt":"ml-matrix Matrix manipulation and computation library. Maintained by Zakodium [![NPM version][npm-image]][npm-url] [![build status][ci-image]][ci-url] [![npm download][download-image]][download-url] Installation $ npm install ml-matrix Usage As an ES module As a CommonJS module API Documentation Examples Standard operations Operations Inplace Operations Math Operations Available Methods: Manipulation of the matrix Row and column wise reductions The callback receives each row or column as a plain array along with its index, so any reduction can be expressed with it. Instantiation of matrix Concatenation of matrices Concatenating by row needs the same number of columns on both sides, concatenating by column needs the same number of rows. The two operands are left untouched. Maths Inverse and Pseudo-inverse Least square Least square is the following problem: We search for x , such that A.x = B ( A , x and B are matrix or vectors). Below, how to solve least square with our function Decompositions QR Decomposition LU Decomposition Cholesky Decomposition Eigenvalues & eigenvectors Linear dependencies License MIT [npm-image]: https://img.shields.io/npm/v/ml-matrix.svg [npm-url]: https://npmjs.org/package/ml-matrix [ci-image]: https://github.com/mljs/matrix/workflows/Node.js%20CI/badge.svg?branch=main [ci-url]: https://github.com/mljs/matrix/actions?query=workflow%3A%22Node.js+CI%22 [download-image]: https://img.shields.io/npm/dm/ml-matrix.svg [download-url]: https://npmjs.org/packag","default_branch":null,"files":null,"tree":[],"storefront":"/r/mljs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mljs/matrix/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}