smeans

S-Means clustering in JavaScript

smeans.js

S-Means clustering in JavaScript

Install the module with: npm install s-means.js

var smeans = require('smeans.js');
smeans.cluster(...);

Download the production version or the development version.

In your web page:

<script src="smeans/dist/js/smeans.js"></script>
<script>
awesome(); // "awesome"
</script> 

In your code, you can attach s-means.js's methods to any object.

<script>
var exports = Bocoup.utils;
</script> 
<script src="dist/s-means.js.min.js"></script>
<script>
Bocoup.utils.awesome(); // "awesome"
</script> 

(Coming soon)

(Coming soon)

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Also, please don't edit files in the "dist" subdirectory as they are generated via Grunt. You'll find source code in the "lib" subdirectory!

(Nothing yet)

Copyright (c) 2014 Brian Hann
Licensed under the MIT license.