JSPM

  • Created
  • Published
  • Downloads 255
  • Score
    100M100P100Q76312F
  • License MIT

Machine learning tools

Package Exports

  • ml

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ml) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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/4.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 preprocessing

Utility

License

MIT