@stdlib/stats-incr-mae 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
|
# incrmae
|
|
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 error][mean-absolute-error] (MAE) incrementally.
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ The [mean absolute error][mean-absolute-error] is defined as
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:mean_absolute_error" align="center" raw="\operatorname{MAE} = \frac{\sum_{i=0}^{n-1} |y_i - x_i|}{n}" alt="Equation for the mean absolute error."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="\operatorname{MAE} = \frac{\sum_{i=0}^{n-1} |y_i - x_i|}{n}" data-equation="eq:mean_absolute_error">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@49d8cabda84033d55d7b8069f19ee3dd8b8d1496/lib/node_modules/@stdlib/stats/incr/mae/docs/img/equation_mean_absolute_error.svg" alt="Equation for the mean absolute error.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -133,6 +133,25 @@ console.log( accumulator() );
|
|
|
133
133
|
|
|
134
134
|
<!-- /.examples -->
|
|
135
135
|
|
|
136
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
137
|
+
|
|
138
|
+
<section class="related">
|
|
139
|
+
|
|
140
|
+
* * *
|
|
141
|
+
|
|
142
|
+
## See Also
|
|
143
|
+
|
|
144
|
+
- <span class="package-name">[`@stdlib/stats/incr/mape`][@stdlib/stats/incr/mape]</span><span class="delimiter">: </span><span class="description">compute the mean absolute percentage error (MAPE) incrementally.</span>
|
|
145
|
+
- <span class="package-name">[`@stdlib/stats/incr/me`][@stdlib/stats/incr/me]</span><span class="delimiter">: </span><span class="description">compute the mean error (ME) incrementally.</span>
|
|
146
|
+
- <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>
|
|
147
|
+
- <span class="package-name">[`@stdlib/stats/incr/mmae`][@stdlib/stats/incr/mmae]</span><span class="delimiter">: </span><span class="description">compute a moving mean absolute error (MAE) incrementally.</span>
|
|
148
|
+
|
|
149
|
+
</section>
|
|
150
|
+
|
|
151
|
+
<!-- /.related -->
|
|
152
|
+
|
|
153
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
154
|
+
|
|
136
155
|
|
|
137
156
|
<section class="main-repo" >
|
|
138
157
|
|
|
@@ -144,6 +163,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
144
163
|
|
|
145
164
|
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].
|
|
146
165
|
|
|
166
|
+
#### Community
|
|
167
|
+
|
|
168
|
+
[![Chat][chat-image]][chat-url]
|
|
169
|
+
|
|
147
170
|
---
|
|
148
171
|
|
|
149
172
|
## License
|
|
@@ -153,7 +176,7 @@ See [LICENSE][stdlib-license].
|
|
|
153
176
|
|
|
154
177
|
## Copyright
|
|
155
178
|
|
|
156
|
-
Copyright © 2016-
|
|
179
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
157
180
|
|
|
158
181
|
</section>
|
|
159
182
|
|
|
@@ -172,9 +195,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
172
195
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-incr-mae/main.svg
|
|
173
196
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-incr-mae?branch=main
|
|
174
197
|
|
|
175
|
-
|
|
198
|
+
<!--
|
|
199
|
+
|
|
200
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-incr-mae.svg
|
|
176
201
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-incr-mae/main
|
|
177
202
|
|
|
203
|
+
-->
|
|
204
|
+
|
|
205
|
+
[umd]: https://github.com/umdjs/umd
|
|
206
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
207
|
+
|
|
208
|
+
[deno-url]: https://github.com/stdlib-js/stats-incr-mae/tree/deno
|
|
209
|
+
[umd-url]: https://github.com/stdlib-js/stats-incr-mae/tree/umd
|
|
210
|
+
[esm-url]: https://github.com/stdlib-js/stats-incr-mae/tree/esm
|
|
211
|
+
|
|
212
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
213
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
214
|
+
|
|
178
215
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
179
216
|
|
|
180
217
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -183,6 +220,18 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
183
220
|
|
|
184
221
|
[mean-absolute-error]: https://en.wikipedia.org/wiki/Mean_absolute_error
|
|
185
222
|
|
|
223
|
+
<!-- <related-links> -->
|
|
224
|
+
|
|
225
|
+
[@stdlib/stats/incr/mape]: https://www.npmjs.com/package/@stdlib/stats-incr-mape
|
|
226
|
+
|
|
227
|
+
[@stdlib/stats/incr/me]: https://www.npmjs.com/package/@stdlib/stats-incr-me
|
|
228
|
+
|
|
229
|
+
[@stdlib/stats/incr/mean]: https://www.npmjs.com/package/@stdlib/stats-incr-mean
|
|
230
|
+
|
|
231
|
+
[@stdlib/stats/incr/mmae]: https://www.npmjs.com/package/@stdlib/stats-incr-mmae
|
|
232
|
+
|
|
233
|
+
<!-- </related-links> -->
|
|
234
|
+
|
|
186
235
|
</section>
|
|
187
236
|
|
|
188
237
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-incr-mae",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Compute the mean absolute error (MAE) 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-mae.git"
|