How to use scikit-learn for Q&A chatbot : <p>I want to create a chatbot for question answering purposes. I have my set of questions and answers. I already got a bot that only uses nltk with keyword recognition, but it has its limits. I would like to use machine learning to have a better chatbot.
I know scikit-learn is the best available Python library for ML, but I just don't know how to use it. All the exemples on their website are more about data visualization and not for actual using. For example, <a href="http://scikit-learn.org/stable/auto_examples/classification/plot_digits_classification.html#sphx-glr-auto-examples-classification-plot-digits-classification-py" rel="nofollow noreferrer">this</a> example is "quite close" to mine, in the meaning that we have a dataset and want to classify.</p>

<p>What I want is to know ho to create my own model, like the iris one we can find in a lot of ML examples for noobs, but with my Q&amp;A set. For example, I could have a table referencing the category of the question, its length, number of keywords, which ones, etc, but I don't know to do it. Then, I'm not sure which algorithm to use (I thought of KNN) but more importantly how to train the model and then use it for questions from user input.</p>

<p>Thank you guys.</p>
