Hacker News new | past | comments | ask | show | jobs | submit login
Simple Statistics, a JS library for doing statistics (macwright.org)
78 points by shashashasha on June 16, 2013 | hide | past | favorite | 9 comments



The documentation for the classifier says:

"Create a bayesian classifier."

I think it should say

"Create a naive bayes classifier."

A "bayesian" classifier is a class of classifiers, not a particular algorithm. Naive bayes isn't (in most implementations) Bayesian! Finally you should specify what smoothing, if any, you use.

Hope that helps!


This looks great. For large datasets does it handle the long running request issues that cause browsers to display a warning? If anyone uses this for processing a decent size amount of data I'd be interested in your opinion.


It's a very nice idea, if you have time, you could aim to incorporate other modern tools: robust statistics (trimmed means etc.), effect sizes, confidence intervals


This is interesting, but for the linear regressions I'd much rather get the a and b parameters than a function to interpolate/extrapolate y values.


Sounds doable! Created https://github.com/tmcw/simple-statistics/issues/33 - I'll implement tomorrow.


thanks :)


Recommendation: have the demos use web workers if they're available, so you don't tie up the main thread when the numbers get really large.


Thank you. Great time saver for us all coding up these! Thanks again!


This may be really helpful :) Thanks a bunch! Keith




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: