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

Programming and running code with the Eclipse IDE


Tip

Make sure that you run the Eclipse IDE as an administrator.

After all the previous steps, you are now able to start Java programming. The next screenshot shows the structure of Eclipse:

The following are the four sections of Eclipse:

  • Package Explorer: This section is displayed on the left-hand side of the packages and classes that compose the Java project

  • Code: This is shown in the middle of the screen and brings the code that you should interact with

  • Run the code: There are many ways to run code. Perhaps, the easiest one is the play button indicated by arrow A

  • Debug the code: There are also many ways to debug code. The easiest one is the bug button appointed by arrow B.

When you click on the button to run the code, it runs in the Console tab, as shown in the following screenshot: