Book Image

Neural Network Programming with Java

By : Alan M. F. Souza, Fabio M. Soares
Book Image

Neural Network Programming with Java

By: Alan M. F. Souza, Fabio M. Soares

Overview of this book

<p>Vast quantities of data are produced every second. In this context, neural networks become a powerful technique to extract useful knowledge from large amounts of raw, seemingly unrelated data. One of the most preferred languages for neural network programming is Java as it is easier to write code using it, and most of the most popular neural network packages around already exist for Java. This makes it a versatile programming language for neural networks.</p> <p>This book gives you a complete walkthrough of the process of developing basic to advanced practical examples based on neural networks with Java.</p> <p>You will first learn the basics of neural networks and their process of learning. We then focus on what Perceptrons are and their features. Next, you will implement self-organizing maps using the concepts you’ve learned. Furthermore, you will learn about some of the applications that are presented in this book such as weather forecasting, disease diagnosis, customer profiling, and characters recognition (OCR). Finally, you will learn methods to optimize and adapt neural networks in real time.</p> <p>All the examples generated in the book are provided in the form of illustrative source code, which merges object-oriented programming (OOP) concepts and neural network features to enhance your learning experience.</p>
Table of Contents (19 chapters)
Neural Network Programming with Java
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Input selection


One of the key tasks in designing a neural network application is to select appropriate inputs. For the unsupervised case, one wishes to use only relevant variables on which the neural network will find the patterns. For the supervised case, there is a need to map the outputs to the inputs, so one needs to choose only the input variables that somewhat influence the output.

Data correlation

One strategy that helps in selecting good inputs in the supervised case is the correlation between data series. A correlation between data series is a measure of how one data sequence reacts or influences the other. Suppose that we have one dataset containing a number of data series from which we choose one to be an output. Now, we need to select the inputs from the remaining variables.

We then evaluate the influence of one variable at a time on the output in order to decide whether to include it as an input or not. The Pearson coefficient is one of the most used variables:

Where Sx(k)y(k)...