Giter Site home page Giter Site logo

alankrantas / sefr_multiclass_classifier Goto Github PK

View Code? Open in Web Editor NEW
24.0 7.0 7.0 354 KB

Implementations of multiclass version of SEFR linear-time fast classifier (TinyML)

License: MIT License

Python 60.26% C++ 20.82% Go 18.92%
machine-learning machine-learning-algorithms classification classifier arduino-sketch python3 micropython sefr-classifier avrs microcontrollers

sefr_multiclass_classifier's Introduction

profile

The chances of finding out what’s really going on in the universe are so remote, the only thing to do is hang the sense of it and keep yourself occupied.

--- The Hitchhiker's Guide to the Galaxy

Name's Alan Wang👋

A rare hybrid of a software engineer slash technical/marketing writer with translator background and have variuos knowledge in frontend/backend languages, embedded programming/Maker projects and machine learning. Currently based in Tapipei, Taiwan.

  • Visit my homepage or my résumé for more personal information.
  • Currently the writer, developer and maintainer of LOC Documentation, the official user guide for FST Network's serverless data product platform, Logic Operating Centre.

sefr_multiclass_classifier's People

Contributors

alankrantas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sefr_multiclass_classifier's Issues

Small mistake in bias calculation

Hey, in the Python code (sefr.py) the bias calculation does the following:

bias = -(neg_labels.size * pos_score_avg + # calculate weighted average of bias
         pos_indices.size * neg_score_avg) / (neg_labels.size + pos_indices.size)

However, I think you meant to do:

bias = -(neg_indices.size * pos_score_avg + # calculate weighted average of bias
         pos_indices.size * neg_score_avg) / (neg_indices.size + pos_indices.size)

Instead of neg_labels, use neg_indices. The reason is that neg_labels.size is the length of the entire dataset but neg_indices.size is the number of negative examples.

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.