Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.7%) to scientific vocabulary
Repository
Moving Average
Basic Info
- Host: GitHub
- Owner: pgte
- Language: JavaScript
- Default Branch: master
- Size: 110 KB
Statistics
- Stars: 62
- Watchers: 4
- Forks: 12
- Open Issues: 2
- Releases: 0
Metadata Files
README.md
moving-average
Online calculation of Exponential Moving Average for Node.js.
Also suports Moving Variance, Moving Deviation and Forecast.
The following online algorithm is implemented:
diff := x - mean
incr := alpha * diff
mean := mean + incr
variance := (1 - alpha) * (variance + diff * incr)
forecast := mean + alpha * diff
Install
bash
$ npm install moving-average
Use
```javascript var timeInterval = 5 * 60 * 1000; // 5 minutes
var MA = require('moving-average'); var ma = MA(timeInterval);
setInterval(function() { ma.push(Date.now(), Math.random() * 500); console.log('moving average now is', ma.movingAverage()); console.log('moving variance now is', ma.variance()); console.log('moving deviation now is', ma.deviation()); console.log('forecast is', ma.forecast()); }); ```
License
MIT
Owner
- Name: Pedro Teixeira
- Login: pgte
- Kind: user
- Location: Funchal, Portugal
- Company: @decipad
- Website: https://metaduck.com
- Twitter: pgte
- Repositories: 219
- Profile: https://github.com/pgte
👾 Software Engineer 🖋 Tech writer ☕️ Open-sourcerer 🎸 Wanna-be musician 🍼 Father 🚀 Curious
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Pedro Teixeira | i@p****e | 25 |
| Max Kutny | m****y@g****m | 4 |
| achingbrain | a****x@a****t | 3 |
| John Meisner | j****r@y****m | 3 |
| Vasco Santos | v****s@m****o | 1 |
| Philippe Modard | p****d@g****m | 1 |
| Irakli Gozalishvili | c****t@g****o | 1 |
| Philmod | p****d@s****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 4
- Total pull requests: 9
- Average time to close issues: over 1 year
- Average time to close pull requests: 4 months
- Total issue authors: 4
- Total pull request authors: 7
- Average comments per issue: 2.75
- Average comments per pull request: 1.44
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- chenbridge (1)
- vasco-santos (1)
- karlbohlmark (1)
- mkutny (1)
Pull Request Authors
- dependabot[bot] (2)
- johnmeisner (2)
- mkutny (1)
- achingbrain (1)
- vasco-santos (1)
- Gozala (1)
- Philmod (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- npm 29,923 last-month
- Total docker downloads: 202,696,572
-
Total dependent packages: 35
(may contain duplicates) -
Total dependent repositories: 3,478
(may contain duplicates) - Total versions: 11
- Total maintainers: 2
npmjs.org: moving-average
Exponential Moving Average
- Homepage: https://github.com/pgte/moving-average#readme
- License: MIT
-
Latest release: 1.0.1
published over 5 years ago
Rankings
Maintainers (1)
npmjs.org: @vascosantos/moving-average
Exponential Moving Average
- Homepage: https://github.com/pgte/moving-average#readme
- License: MIT
-
Latest release: 1.1.0
published about 5 years ago
Rankings
Maintainers (1)
Dependencies
- 413 dependencies
- standard ^10.0.3 development
- tap * development