An LSTM Document Classifier in Javascript

Kieran Maher
Sep 4, 2018 · 2 min read
https://www.pexels.com/photo/abstract-art-blur-bright-373543/

UPDATE: Github Gists is currently experiencing some kind of issue and so you can find the complete code and all snippets in the following file on my Github: https://github.com/kmaher9/lstm-classifier/blob/master/classifier.js

I began this project with a simple goal in mind — you might have read my article on using Naive Bayes Classification, to predict what category a document falls in to.

Keep the story going. Sign up for an extra free read.

You've completed your member preview for this month, but when you sign up for a free Medium account, you get one more story.
Already have an account? Sign in

Kieran Maher

Written by

Software Developer & Analyst. General technology enthusiast.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade