文件名称:ndarray-normalize:将 ndarray 归一化为零均值和单位方差
文件大小:4KB
文件格式:ZIP
更新时间:2024-06-21 23:46:11
JavaScript
ndarray-归一化 对 ndarray 进行归一化,使均值为 0,标准差为 1。 例子 var moments = require ( "ndarray-moments" ) var lena = require ( "luminance" ) ( require ( "lena" ) ) console . log ( "Before normalization:" , moments ( 2 , lena ) ) require ( "ndarray-normalize" ) ( lena ) console . log ( "After normalization:" , moments ( 2 , lena ) ) 这打印出来: Before normalization: [ 124.04670674515125, 17677.59913617722 ] After n
【文件预览】:
ndarray-normalize-master
----normalize.js(643B)
----.npmignore(115B)
----example()
--------example.js(231B)
----LICENSE(1KB)
----test()
--------test.js(127B)
----README.md(850B)
----.gitignore(98B)
----package.json(889B)