Skip to content

Commit

Permalink
Final commit before submission to TA. Added an executable jar file and
Browse files Browse the repository at this point in the history
updated the README file.

Signed-off-by: NJC <[email protected]>
  • Loading branch information
nicholasjconn committed May 20, 2012
1 parent db6a138 commit 193eab8
Show file tree
Hide file tree
Showing 82 changed files with 183 additions and 146 deletions.
Binary file added Neocognitron.jar
Binary file not shown.
21 changes: 18 additions & 3 deletions README
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@

The purpose of this repository is to keep track of my work on recreating the Neocognitron for one of my graduate classes. The Neocognitron is an artificial neural network which can be used to recognize handwritten characters.
The Neocognitron is a neural network proposed by Fukushima; it is used for character recognition. This repository contains everything you need to experiment with a basic Neocognitron. This code was created for my final project in Pattern Recognition at RIT.

For now, the code is a work in progress and as such, is poorly commented and does not completely work. I make no promises that I will finish this code! If you are interested in implementing a Neocognitron, feel free to email me if you have any questions.

The organization of this project is as follows:

Created by Nicholas J. Conn
src Contains all the source code for the project
data Contains all the training files needed to run the Neocognitron. Also contains previously saved Neocognitrons.
doc Complete javadoc for the entire project. Start with doc/index.html


To run the project, use the executable jar file, Neocognitron.jar.

Use the following command to verify the saved Neocognitron.
java -jar Neocognitron.jar verify

Use the following command to generate your own Neocognitrons. To stop the program, press "ctrl-c".
java -jar Neocognitron.jar



Created by Nicholas J. Conn on 5-20-2012
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions doc/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>All Classes</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>All Classes</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:25 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>Constant Field Values</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>Deprecated List</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>API Help</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>A-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-10.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>O-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-11.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>P-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-12.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>Q-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-13.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>R-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-14.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>S-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-15.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>T-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
8 changes: 4 additions & 4 deletions doc/index-files/index-16.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>V-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down Expand Up @@ -75,11 +75,11 @@ <h2 class="title">V</h2>
<dd>
<div class="block">Initialize the vc-cell, with weight d.</div>
</dd>
<dt><span class="strong"><a href="../neocognitron/NeocognitronTrainer.html#verifyNeocognitron(neocognitron.Neocognitron)">verifyNeocognitron(Neocognitron)</a></span> - Method in class neocognitron.<a href="../neocognitron/NeocognitronTrainer.html" title="class in neocognitron">NeocognitronTrainer</a></dt>
<dt><span class="strong"><a href="../neocognitron/NeocognitronTrainer.html#verifyNeocognitron(neocognitron.Neocognitron, boolean)">verifyNeocognitron(Neocognitron, boolean)</a></span> - Method in class neocognitron.<a href="../neocognitron/NeocognitronTrainer.html" title="class in neocognitron">NeocognitronTrainer</a></dt>
<dd>
<div class="block">Calculate the error rate of a specific neocognitron.</div>
</dd>
<dt><span class="strong"><a href="../neocognitron/NeocognitronTrainer.html#verifyNeocognitron(neocognitron.Neocognitron, java.util.ArrayList)">verifyNeocognitron(Neocognitron, ArrayList&lt;double[][]&gt;)</a></span> - Method in class neocognitron.<a href="../neocognitron/NeocognitronTrainer.html" title="class in neocognitron">NeocognitronTrainer</a></dt>
<dt><span class="strong"><a href="../neocognitron/NeocognitronTrainer.html#verifyNeocognitron(neocognitron.Neocognitron, java.util.ArrayList, boolean)">verifyNeocognitron(Neocognitron, ArrayList&lt;double[][]&gt;, boolean)</a></span> - Method in class neocognitron.<a href="../neocognitron/NeocognitronTrainer.html" title="class in neocognitron">NeocognitronTrainer</a></dt>
<dd>
<div class="block">Calculate the error rate of a specific neocognitron using a specific
list of inputs.</div>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>C-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-3.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>D-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-4.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>E-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-5.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>G-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-6.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>I-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-7.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>L-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-8.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>M-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/index-files/index-9.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>N-Index</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc on Sat May 19 22:25:26 EDT 2012 -->
<!-- Generated by javadoc on Sun May 20 13:42:51 EDT 2012 -->
<title>Generated Documentation (Untitled)</title>
<script type="text/javascript">
targetPage = "" + window.location.search;
Expand Down
4 changes: 2 additions & 2 deletions doc/neocognitron/CCell.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:25 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>CCell</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/neocognitron/CLayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:25 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>CLayer</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/neocognitron/Location.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:25 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>Location</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/neocognitron/Neocognitron.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:25 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>Neocognitron</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions doc/neocognitron/NeocognitronStructure.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_04) on Sat May 19 22:25:25 EDT 2012 -->
<!-- Generated by javadoc (version 1.7.0_04) on Sun May 20 13:42:51 EDT 2012 -->
<title>NeocognitronStructure</title>
<meta name="date" content="2012-05-19">
<meta name="date" content="2012-05-20">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
Expand Down
Loading

0 comments on commit 193eab8

Please sign in to comment.