MCPcopy Index your code
hub / github.com/Jasonnor/Perceptron

github.com/Jasonnor/Perceptron @v1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0 ↗ · + Follow
26 symbols 64 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Single-Layer Perceptron

Using Java Swing to implement single-layer perceptron 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/Perceptron.git
cd Perceptron
Perceptron.jar

preview

  1. Operation menu (Files, Skins)
  2. Output the result screen
  3. Read the file
  4. File path
  5. Adjustable parameters
  6. Output the result
  7. Generate new results
  8. Adjust the output image screen zoom level
  9. List of training materials (2/3 of total data)
  10. List of test data (1/3 of total data)

You can use these data sets for testing.

Demo

demo

resultA

resultB

Contributing

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

License

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

Core symbols most depended-on inside this repo

alertBackground
called by 12
src/Perceptron.java
convertCoordinate
called by 9
src/Perceptron.java
startTrain
called by 8
src/Perceptron.java
changeLAF
called by 7
src/Perceptron.java
changeRate
called by 3
src/Perceptron.java
changeThreshold
called by 3
src/Perceptron.java
changeMaxTimes
called by 3
src/Perceptron.java
changeMinRange
called by 3
src/Perceptron.java

Shape

Method 24
Class 2

Languages

Java100%

Modules by API surface

src/Perceptron.java26 symbols

For agents

$ claude mcp add Perceptron \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact