Giter Club home page Giter Club logo

classr's Introduction

Classr

Train microclassifiers in the cloud for spam detection, sentiment analysis and more.

Classr logo

Overview

Classr is a web app that allows users to create microclassifiers. A microclassifier is just a machine learning model (classifier) that is trained using a minimal (but still reasonable) amount of training data (4MB max).

Screenshot of app

Classr uses the bayes package at its core with custom additions for calculation of precision/recall/F1 score etc. and generation and rendering of confusion matrices.

Why this project?

I wanted to see what I couuld do working on something from scratch with the T3 stack while sharpening my frontend skills in the process.

Turns out, it's a super cool stack that you should definitely try out if you haven't already!

Limitations

Classr trains multinomial naive bayes classifiers behind the scenes on unigrams generated by splitting strings along space characters. Train/test split is 20/80 and Laplace smoothing is at 1.

Any ML engineer with tell you that this is a very simple classifier with a lot of caveats. Use appropriately, and wield responsibly.

Classr does not support any of the following features (yet!):

  • Training on n-grams.
  • Tokenization based on anything but splitting documents along spaces.
  • Stopword removal.
  • More advanced classifiers (SVMs, random forests etc.)

Deployment

This app is designed for deployment on Vercel but you might also be able to get it to work with Docker (I haven't tried this myself yet).

classr's People

Contributors

dependabot[bot] avatar lambdacasserole avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.