Preparing the Input of Chatbots with Restricted Boltzmann Machines (RBMs) and Principal Component Analysis (PCA)
In the following chapters, we will explore chatbot frameworks and build chatbots. You will find that creating a chatbot structure only takes a few clicks. However, no chatbot can be built without designing the input to prepare the desired dialog flow. The goal of this chapter is to demonstrate how to extract features from a dataset and then use them to gather the basic information to build a chatbot in Chapter 15, Setting up a Cognitive NLP UI/CUI Chatbot.
The input of a dialog requires in-depth research and designing. In this chapter, we will build a restricted Boltzmann machine (RBM) that will analyze a dataset. In Chapter 13, Visualizing Networks with TensorFlow 2.x and TensorBoard, we examined the layers of a convolutional neural network (CNN) and displayed their outputs. This time, we will explore the weights of the RBM. We will go further and use...