Giter Site home page Giter Site logo

malisipi / mcm Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 247 KB

A basic classifier

Home Page: https://malisipi.github.io/mcm/

License: Apache License 2.0

JavaScript 43.10% HTML 32.67% Python 24.23%
ai class classification classifier classifier-model javascript javascript-library python python-library python3

mcm's Introduction

mcm - malisipi's Classifier Model

mcm is a classifier based on my language hypothesis. Except conjunction, preposition, stop words the language will be affected by the topic. And it can be used to detect the topic. It will work more accurately as the similarities of the topics decrease. Also it could be used to make a assistan or chat-bot that does pre-selected works. And mcm was developed to test the idea!

What is mcm not?

  • A better classifier than any ai
  • A spyware like a lot of ai
  • A classifier require nasa-computer and heavy resources

What is mcm?

  • A basic, fast and portable classifier
  • It's embeddable and it works without internet and calling home
  • It can be trained without any CPU and GPU requirenment
  • Mini sized models (The example model is about 50KB)

Support & TO-DO

  • Make NodeJS/JavaScript version
    • init
    • create_resources_from_files
    • create_weights
    • save_model
    • save_model_uncompressed
    • load_model
    • load_model_uncompressed
    • make_predict
    • analyse_prediction
  • Make Browser/JavaScript version
    • init
    • load_model
    • load_model_uncompressed
    • make_predict
    • analyse_prediction
  • Make Python version
    • init
    • create_resources_from_files
    • create_weights
    • save_model
    • save_model_uncompressed
    • load_model
    • load_model_uncompressed
    • make_predict
    • analyse_prediction
  • Make V version
    • init
    • create_resources_from_files
    • create_weights
    • save_model
    • save_model_uncompressed
    • load_model
    • load_model_uncompressed
    • make_predict
    • analyse_prediction

Usage

You can train mcm models with only NodeJS now. You can use ./model_helper.js file to train it.

๐Ÿ“‚๏ธ source
\ ๐Ÿ“‚๏ธ category-1
  \ ๐Ÿ“œ๏ธ source-1.txt
  \ ๐Ÿ“œ๏ธ source-2.txt
  . ๐Ÿ“œ๏ธ 
  . ๐Ÿ“œ๏ธ 
  \ ๐Ÿ“œ๏ธ source-n.txt
. ๐Ÿ“๏ธ
. ๐Ÿ“๏ธ
\ ๐Ÿ“๏ธ category-n

Used Libraries

Articles & Model

Wikipedia articles (./source) licensed by CC-BY-SA 3.0. Also the model (./model.mcm) trained with those articles is licensed CC-BY-SA 3.0.

License

mcm licensed with Apache 2.0 License

Disclaimer

mcm is unstable software. It can predict very wrong the class. And updates can break the backward compability. Before using this software, you should aware that.

mcm's People

Contributors

malisipi avatar

Stargazers

 avatar  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.