Skip to content

Latest commit

 

History

History
110 lines (93 loc) · 4.36 KB

README.md

File metadata and controls

110 lines (93 loc) · 4.36 KB

ml

NPM version build status David deps npm download

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.

Installation

Node.JS

$ npm install ml

Bower

$ bower install ml

Using our CDN in a web page

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

Usage

Node.JS

var ML = require('ml');

Browser with AMD

require(['path/to/ml/dist/ml.min'], function (ML) {
    // ML.Math ...
});

Browser as global

<script src="path/to/ml/dist/ml.min.js" />
<script>
    // ML.Math ...
</script>

Tools

License

MIT