Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

READ ME

The simplest chatbot ever. This first version of my chatbot is capable of answering questions about this web page. (PT-BR)


Requirements

$ sudo apt-get install python3-pip
$ pip3 install -r requirements.txt

The challenge

  • Build a chatbot that is campable of identifying a few possible intentions
  • Do this using a very short training data set.

Models

  • SVM (with sk-learn)
  • Logistic Regression (with sk-learn)
  • Naive Bayes from scratch! here

(It is also very simple to add different models)


Data

Traning data:

base_treino_secretaria.csv

Testing data:

base_teste_secretaria.csv

Answers:

respostas_bot.csv


Test it

$ python bot.py

Models evaluation

$ python metrics.py

About

I've built this chatbot from scratch. To build this, I've chosen three types of classification models: Naive Bayes, SVM and Logistic Regression.

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.