Skip to content

malisipi/mcm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.