Machine learning has played a very important role these days. A very common area related to daily life is auto chatbots, such as Apple Siri, Google Home, Mi Xiaoai, and others. These technologies all use deep learning as the foundation to achieve the goal of communicating with humans. Engineers and computer scientists put a massive amount of effort into trying to improve the quality of chatbots by improving the models that drive this feature. From previous research, KNN (K-nearest neighbors) and DNN (Deep Neural Network) are two widely used models in the machine learning area. To find out which is more efficient to manage auto-chat while understanding deeper how chatbots actually manage to recognize human language and quickly come up with corresponding answers, the two learning models were applied to a self-made chatbot. By comparing the effectiveness of applying K-nearest neighbors and Deep Neural Network, the paper finds that KNN runs faster and takes less space since it is a comparatively simpler algorithm. In terms of correctness, in this experiment, both algorithms turned out to have a similar percentage of correctness. This might be caused by a comparatively small dataset.
Access to the requested content is limited to institutions that have purchased or subscribe to SPIE eBooks.
You are receiving this notice because your organization may not have SPIE eBooks access.*
*Shibboleth/Open Athens users─please
sign in
to access your institution's subscriptions.
To obtain this item, you may purchase the complete book in print or electronic format on
SPIE.org.
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.