Getting started with Neural Networks
In this section, we will begin our journey by understanding the basics of Neural Networks.
Why Neural Networks?
Before we go deep into NNs, it is important to answer a simple question: Why do we even need a new classification algorithm when there are so many existing classification algorithms, such as decision trees? The simple answer is that there are some classification problems that decision trees would never be able to solve. As you might be aware, decision trees work by finding a set of objects in one class and then creating splits in the set to continue to create a pure class. This works well when there is a clear distinction between different classes in the dataset, but it fails when they are mixed. One such very basic problem that decision trees cannot ever solve is the XOR
problem.
About the XOR operator
The XOR
gate/operator is also known as exclusive OR
. It is a digital logic in electronics. An XOR
gate is a digital logic...