https://github.com/mzusin/mz-ml
A collection of TypeScript-based machine learning helpers.
https://github.com/mzusin/mz-ml
linear-regression machine-learning mean-squared-error ml multiple-linear-regression
Last synced: over 1 year ago
JSON representation
A collection of TypeScript-based machine learning helpers.
- Host: GitHub
- URL: https://github.com/mzusin/mz-ml
- Owner: mzusin
- Created: 2023-10-16T19:28:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-22T16:54:47.000Z (over 2 years ago)
- Last Synced: 2025-01-30T01:18:22.445Z (over 1 year ago)
- Topics: linear-regression, machine-learning, mean-squared-error, ml, multiple-linear-regression
- Language: TypeScript
- Homepage: https://ml.mzsoft.org/
- Size: 1.54 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mz-ml - a collection of TypeScript-based machine learning helpers 🚀
This project is a collection of TypeScript machine learning helpers and utilities for the browser and Node.js environment. The modular approach allows to select only the required functions. It works well with all modern bundlers and supports **tree shaking** 🌲. The library is built using immutable/pure functions.
## Linear Regression Features ⭐
- Train simple and multiple linear regression model with gradient descent.
- Evaluate model performance using statistical data (R-squared, mean squared error, pearson correlation coefficient).
- Batch size support.
- Shuffle support.
- Split data to training set, test set, and optional validation set.
## Documentation 🔖
### Main
- [Linear Regression](https://ml.mzsoft.org/pages/linear-regression.html)
- [Simple Linear Regression](https://ml.mzsoft.org/pages/simple-linear-regression.html)
- [Interfaces](https://ml.mzsoft.org/pages/interfaces.html)
### Utilities
- [Split Data](https://ml.mzsoft.org/pages/split-data.html)
------------------------------
```
███ ███ ███████ ███ ███ ██
████ ████ ███ ████ ████ ██
██ ████ ██ ███ █████ ██ ████ ██ ██
██ ██ ██ ███ ██ ██ ██ ██
██ ██ ███████ ██ ██ ███████
```