ml.js

编程之家收集整理的这个编程导航主要介绍了ml.js编程之家,现在分享给大家,也给大家做个参考。

ml.js

ml.js 介绍

一组存储库,为mljs组织开发的JavaScript提供机器学习工具,包括监督和无监督学习,人工神经网络,回归算法和统计,数学等支持库。  基本涵盖数组运算、矩阵运算、各种线性回归及非线性回归。现在来逐一解释每个包的功能,以后逐一进行实践。

ml-array

ml-array-max 求得数组中最大元素。

import max from 'ml-array-max';

const result = max([1,5,3,2,4]);

//result = 5

ml-array-min 求得数组中最小元素。

import min from 'ml-array-min';

const result = min([1,4]);

//result = 1

ml-array-rescale 进行数组乘除变化。

import rescale from 'ml-array-rescale';

const result = rescale([0,1,4]);

// [0,0.25,0.5,0.75,1]

ml-distance-euclidean 求两向量的欧式距离

euclidean(p,q)

//Returns the Euclidean distance between vectors p and q.

euclidean.squared(p,q)

//Returns the squared Euclidean distance between vectors p and q.

ml-kernel

ml-kernel 核函数计算相关包。

网站地址:https://github.com/mljs

GitHub:https://github.com/mljs/ml

网站描述:很多库的一个集合存储库

ml.js官方网站

官方网站:https://github.com/mljs

如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。

相关文章

johnny-five,Bocoup 的 JavaScript 机器和物联网编程框架
WePY,一款让小程序支持组件化开发的框架
Deep playground,神经网络的交互式可视化,使用d3.js和TypeS...
ShareDB,用于并发编辑系统的前端数据库
RxJS,RxJS 是使用 Observables 的响应式编程的库
egg-react-ssr,最小而美的Egg + React + SSR 服务端渲染应用...