Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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