Code Monkey home page Code Monkey logo

mbti-type-detector's Introduction

Introduction

This is ML model trained to detect people's MBTI type based what they write down in their post. There is also a demo that you can put in your daily life setence to detect which type you may be and see which word sells you out.

MBTI dataset

kaggle dataset: https://www.kaggle.com/datasnaek/mbti-type/kernels The Myers-Briggs Type Indicator (MBTI) is a widely-used personality assessment tool. It has four pairs of preferences:

  • Introversion/Extraversion
  • Intuition/Sensing
  • Feeling/Thinking
  • Perception/Judging

Run Demo

make demo

You need demo_cnn.h5, tokenizer.p to run the demo

Training model

Add your model in models, then run

python end2end.py -m your_model_name [-e|-s|-c]

You need MBTI.csv, glove.6B.50d.txt to train the demo


Model Infomation

CNN info:

[ 2019-01-17 07:05:59,126][end2end]
Accuracy(Total) on test set(10%) = 0.5362232779097387
Accuracy(One by one) on test set(10%) = 0.813687648456057
[I] precision: 0.544, recall: 0.919, f1: 0.684
[E] precision: 0.970, recall: 0.774, f1: 0.861
[N] precision: 0.509, recall: 0.987, f1: 0.672
[S] precision: 0.998, recall: 0.853, f1: 0.920
[T] precision: 0.890, recall: 0.763, f1: 0.821
[P] precision: 0.767, recall: 0.892, f1: 0.825
[J] precision: 0.808, recall: 0.787, f1: 0.797
[F] precision: 0.673, recall: 0.701, f1: 0.686

mbti-type-detector's People

Contributors

chenxiaoyu233 avatar jianx312035 avatar zhengzangw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mbti-type-detector's Issues

Bias series

8674
IE: 1->6676
2: 1->7478
3: 1->3981
4: 1->3434

Innovation Point

1.对每个词做classification,为文字加上颜色
2.给定性格,生成文字
3.PCA降低维度-分析四个维度的合理性/新标准
4.社交网站分析
5.Demo-你说我猜

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.