Skip to content
/ mz-ml Public

A collection of TypeScript-based machine learning helpers.

Notifications You must be signed in to change notification settings

mzusin/mz-ml

Repository files navigation

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

Utilities



███    ███ ███████       ███    ███ ██      
████  ████    ███        ████  ████ ██      
██ ████ ██   ███   █████ ██ ████ ██ ██      
██  ██  ██  ███          ██  ██  ██ ██      
██      ██ ███████       ██      ██ ███████