@stdlib/stats-incr-mape 0.0.2 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +53 -4
- package/package.json +3 -2
- package/CHANGELOG.md +0 -5
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# incrmape
|
|
22
22
|
|
|
23
|
-
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
|
|
23
|
+
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
24
24
|
|
|
25
25
|
> Compute the [mean absolute percentage error][mean-absolute-percentage-error] (MAPE) incrementally.
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ The [mean absolute percentage error][mean-absolute-percentage-error] is defined
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:mean_absolute_percentage_error" align="center" raw="\operatorname{MAPE} = \frac{100}{n} \sum_{i=0}^{n-1} \biggl| \frac{a_i - f_i}{a_i} \biggr|" alt="Equation for the mean absolute percentage error."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="\operatorname{MAPE} = \frac{100}{n} \sum_{i=0}^{n-1} \biggl| \frac{a_i - f_i}{a_i} \biggr|" data-equation="eq:mean_absolute_percentage_error">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@d4867162fd6445b10f93ca01f3f764bc646662d8/lib/node_modules/@stdlib/stats/incr/mape/docs/img/equation_mean_absolute_percentage_error.svg" alt="Equation for the mean absolute percentage error.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -140,6 +140,25 @@ console.log( accumulator() );
|
|
|
140
140
|
|
|
141
141
|
<!-- /.examples -->
|
|
142
142
|
|
|
143
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
144
|
+
|
|
145
|
+
<section class="related">
|
|
146
|
+
|
|
147
|
+
* * *
|
|
148
|
+
|
|
149
|
+
## See Also
|
|
150
|
+
|
|
151
|
+
- <span class="package-name">[`@stdlib/stats/incr/maape`][@stdlib/stats/incr/maape]</span><span class="delimiter">: </span><span class="description">compute the mean arctangent absolute percentage error (MAAPE) incrementally.</span>
|
|
152
|
+
- <span class="package-name">[`@stdlib/stats/incr/mae`][@stdlib/stats/incr/mae]</span><span class="delimiter">: </span><span class="description">compute the mean absolute error (MAE) incrementally.</span>
|
|
153
|
+
- <span class="package-name">[`@stdlib/stats/incr/mean`][@stdlib/stats/incr/mean]</span><span class="delimiter">: </span><span class="description">compute an arithmetic mean incrementally.</span>
|
|
154
|
+
- <span class="package-name">[`@stdlib/stats/incr/mmape`][@stdlib/stats/incr/mmape]</span><span class="delimiter">: </span><span class="description">compute a moving mean absolute percentage error (MAPE) incrementally.</span>
|
|
155
|
+
|
|
156
|
+
</section>
|
|
157
|
+
|
|
158
|
+
<!-- /.related -->
|
|
159
|
+
|
|
160
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
161
|
+
|
|
143
162
|
|
|
144
163
|
<section class="main-repo" >
|
|
145
164
|
|
|
@@ -151,6 +170,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
151
170
|
|
|
152
171
|
For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].
|
|
153
172
|
|
|
173
|
+
#### Community
|
|
174
|
+
|
|
175
|
+
[![Chat][chat-image]][chat-url]
|
|
176
|
+
|
|
154
177
|
---
|
|
155
178
|
|
|
156
179
|
## License
|
|
@@ -160,7 +183,7 @@ See [LICENSE][stdlib-license].
|
|
|
160
183
|
|
|
161
184
|
## Copyright
|
|
162
185
|
|
|
163
|
-
Copyright © 2016-
|
|
186
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
164
187
|
|
|
165
188
|
</section>
|
|
166
189
|
|
|
@@ -179,9 +202,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
179
202
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-incr-mape/main.svg
|
|
180
203
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-incr-mape?branch=main
|
|
181
204
|
|
|
182
|
-
|
|
205
|
+
<!--
|
|
206
|
+
|
|
207
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-incr-mape.svg
|
|
183
208
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-incr-mape/main
|
|
184
209
|
|
|
210
|
+
-->
|
|
211
|
+
|
|
212
|
+
[umd]: https://github.com/umdjs/umd
|
|
213
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
214
|
+
|
|
215
|
+
[deno-url]: https://github.com/stdlib-js/stats-incr-mape/tree/deno
|
|
216
|
+
[umd-url]: https://github.com/stdlib-js/stats-incr-mape/tree/umd
|
|
217
|
+
[esm-url]: https://github.com/stdlib-js/stats-incr-mape/tree/esm
|
|
218
|
+
|
|
219
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
220
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
221
|
+
|
|
185
222
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
186
223
|
|
|
187
224
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -190,6 +227,18 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
190
227
|
|
|
191
228
|
[mean-absolute-percentage-error]: https://en.wikipedia.org/wiki/Mean_absolute_percentage_error
|
|
192
229
|
|
|
230
|
+
<!-- <related-links> -->
|
|
231
|
+
|
|
232
|
+
[@stdlib/stats/incr/maape]: https://www.npmjs.com/package/@stdlib/stats-incr-maape
|
|
233
|
+
|
|
234
|
+
[@stdlib/stats/incr/mae]: https://www.npmjs.com/package/@stdlib/stats-incr-mae
|
|
235
|
+
|
|
236
|
+
[@stdlib/stats/incr/mean]: https://www.npmjs.com/package/@stdlib/stats-incr-mean
|
|
237
|
+
|
|
238
|
+
[@stdlib/stats/incr/mmape]: https://www.npmjs.com/package/@stdlib/stats-incr-mmape
|
|
239
|
+
|
|
240
|
+
<!-- </related-links> -->
|
|
241
|
+
|
|
193
242
|
</section>
|
|
194
243
|
|
|
195
244
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-incr-mape",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Compute the mean absolute percentage error (MAPE) incrementally.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"directories": {
|
|
18
|
+
"benchmark": "./benchmark",
|
|
18
19
|
"doc": "./docs",
|
|
19
20
|
"example": "./examples",
|
|
20
21
|
"lib": "./lib",
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
"examples": "make examples",
|
|
28
29
|
"benchmark": "make benchmark"
|
|
29
30
|
},
|
|
30
|
-
"homepage": "https://
|
|
31
|
+
"homepage": "https://stdlib.io",
|
|
31
32
|
"repository": {
|
|
32
33
|
"type": "git",
|
|
33
34
|
"url": "git://github.com/stdlib-js/stats-incr-mape.git"
|