Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rauljordan/gaussiansmoothing.js
Implements gaussian kernel regression smoothing in pure javascript
https://github.com/rauljordan/gaussiansmoothing.js
Last synced: 8 days ago
JSON representation
Implements gaussian kernel regression smoothing in pure javascript
- Host: GitHub
- URL: https://github.com/rauljordan/gaussiansmoothing.js
- Owner: rauljordan
- License: other
- Created: 2015-07-10T01:15:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-10T16:29:22.000Z (over 9 years ago)
- Last Synced: 2024-10-12T19:55:39.243Z (about 1 month ago)
- Language: JavaScript
- Size: 2.35 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GaussianSmoothing.js
Implements gaussian kernel regression smoothing in pure javascript
[![Build Status](https://travis-ci.org/rauljordan/gaussiansmoothing.js.svg?branch=master)](https://travis-ci.org/rauljordan/gaussiansmoothing.js)
# Usage
function gaussiansmooth (xs, x, y, h)
- xs: a current x point being evaluated at
- x: the array holding all of the data in x
- y: the array holding all the data in y
- h: the hyperparameter controlling the width of the RBF kernel- return ys: returns a predicted point in y around the given x
```
> var gaussiansmooth = require('gaussiansmoothing');```
# Install
With [npm](http://npmjs.org) do:
```
npm install gaussiansmoothing
```# License - MIT