GitPedia

Backpropagation

Implementing multilayer neural networks through backpropagation using Java.

From Jasonnor·Updated June 6, 2026·View on GitHub·

Using Java Swing to implement backpropagation neural network. Learning algorithm can refer to [this](https://en.wikipedia.org/wiki/Backpropagation) Wikipedia page. The project is written primarily in Java, distributed under the MIT License license, first published in 2016. Key topics include: backpropagation, java, java-swing, machine-learning, neural-network.

Backpropagation

Using Java Swing to implement backpropagation neural network. Learning algorithm can refer to this Wikipedia page.

Input consists of several groups of multi-dimensional data set, The data were cut into three parts (each number roughly equal to the same group), 2/3 of the data given to training function, and the remaining 1/3 of the data given to testing function.

The purpose of program is training to cut a number of groups of hyperplanes and synaptic weights, and display the results in the graphical interface.

Getting Started

git clone https://github.com/Jasonnor/Backpropagation.git
cd Backpropagation
Backpropagation.jar

preview

  1. Menu (Files, Skins)
  2. Output
  3. Background rendering mode & zoom level
  4. Read the file
  5. File path
  6. Adjustable parameters
  7. Output parameters
  8. Generate new results
  9. List of training materials (2/3 of total data)
  10. List of test data (1/3 of total data)

Be careful to use background rendering mode, and notice that too small drawing size will delay the computer.

Input Data Format

InputA InputB OutputA
InputC InputD OutputB
...

You can use these data sets for testing.

Result

resultA

resultB

resultC with noise

Contributing

Please feel free to use it if you are interested in fixing issues and contributing directly to the code base.

License

Backpropagation is released under the MIT license. See the LICENSE file for details.

Contributors

Showing top 1 contributor by commit count.

View all contributors on GitHub →

This article is auto-generated from Jasonnor/Backpropagation via the GitHub API.Last fetched: 6/15/2026