E0_377774
注册时间:2022-02-14 13:02:59
Ta的资源
smoothish:时序数据的稳健平滑
平滑-使用边界和缺失数据处理来平滑时间序列数据
Smoothish JavaScript库提供了居中移动平均函数的变体,这些变体对丢失数据具有鲁棒性,并且不会在起点和终点边界丢点。
安装和导入
安装:
npm install smoothish
导入(经典):
const smoothish = require ( 'smoothish' )
或(现代):
import smoothish from 'smoothish'
基本用法
请考虑以下十二个值的时间序列:
// Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dex
const daysPerMonth = [ 31 , 28 , 31 , 30 , 31 , 30 , 31 , 31 , 30 , 31 , 30 , 31 ]
这造成了一
开发工具:
大小:57.8KB
2022-06-15 08:10:12上传