Building a basic retrieval based chatbot - Ishika ( part 2)

OVERVIEW:

In this tutorial we would give a walkthrough of the code. The libraries that have been used are the scikit learn and numpy.

Full code present on github.

First we import the following libraries.

from sklearn.feature_extraction.text import CountVectorizer
from sklearn.metrics.pairwise import cosine_similarity
from sklearn.feature_extraction.text import TfidfVectorizer 

dsadad

Comments

Post a Comment

Popular posts from this blog

Building a Basic Retrieval Based Chatbot - Ishika (Part 1)