Socket
Socket
Sign inDemoInstall

ml

Package Overview
Dependencies
82
Maintainers
5
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ml

Machine learning tools


Version published
Weekly downloads
142
decreased by-30.73%
Maintainers
5
Install size
8.31 MB
Created
Weekly downloads
 

Changelog

Source

6.0.0 (2021-06-10)

⚠ BREAKING CHANGES

  • remove num-sort package exportation
  • update all dependencies
  • Remove dist from git

Features

  • Remove dist from git (90392a5)
  • remove num-sort package exportation (4b8c47b)
  • update all dependencies (114d814)
  • update and improve GSD (7222a2c)

Bug Fixes

  • add missing ml-array-sum package (d471033)
  • correct link to lactame.com to v6.0.0 (65e9ca0)
  • update dependencies to fix nGMCA (9b040d0)

<a name="3.5.0"></a>

Readme

Source

ml.js - Machine learning tools in JavaScript

Introduction

This library is a compilation of the tools developed in the mljs organization.
It is mainly maintained for use in the browser. If you are working with Node.js, you might prefer to add to your dependencies only the libraries that you need, as they are usually published to npm more often.
We prefix all our npm package names with ml- (eg. ml-matrix) so they are easy to find.

To include the ml.js library in a web page:

<script src="https://www.lactame.com/lib/ml/6.0.0/ml.min.js"></script>

It will be available as the global ML variable. The package is in UMD format.

List of included libraries

Unsupervised learning

Supervised learning

Artificial neural networks (ANN)

  • Feedforward Neural Networks: ML.FNN
  • Self-organizing map / Kohonen networks: ML.SOM

Regression

Optimization

Math

ML.Array

ML.ArrayXY

Functions dealing with an object containing 2 properties x and y, both arrays.

Example:

let result = ML.ArrayXY.sortX({ x: [2, 3, 1], y: [4, 6, 2] });
// result = {x: [1,2,3], y: [2,4,6]}

Statistics

Data processing

Utility

License

MIT

Keywords

FAQs

Last updated on 10 Jun 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc