8

Neural Networks and Deep Neural Networks

In Chapter 7, Support Vector Machines, we saw that support vector machines (SVMs) can be used to classify tweets for emotions based on the words that they contain. Is there anything else that we can use that simply looks at the words that are present? In this chapter, we will consider the use of neural networks for this purpose. Neural networks are a way of carrying out computations by assigning weights to a network of nodes and propagating an initial set of values through the network until the output nodes are reached. The values of the output nodes will then be a representation of the result of the computation. When neural networks were introduced in the 1940s, they were intended as a model of the ...

Get Machine Learning for Emotion Analysis in Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.