That's totally exciting! Thanks to the author for enriching the ML ecosystem in JavaScript :)
I didn't explore the full API yet, but already seeing the plotting functionality for functions is a tremendous win for ML in JavaScript.
In case anyone is interested in doing ML in JS in 2018, there exists a larger article which I wrote a couple of weeks ago that tries to convey the state of the art of Machine Learning in JavaScript. [0]
- [0] https://www.robinwieruch.de/machine-learning-javascript-web-...