summaryrefslogtreecommitdiff
path: root/neural.c
diff options
context:
space:
mode:
Diffstat (limited to 'neural.c')
-rw-r--r--neural.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/neural.c b/neural.c
index 1c6deb3..817bb50 100644
--- a/neural.c
+++ b/neural.c
@@ -84,7 +84,6 @@ int learned; /* flag--if true, network has learned all patterns */
static clock_t DoNNetIteration(unsigned long nloops);
static void do_mid_forward(int patt);
static void do_out_forward();
-void display_output(int patt);
static void do_forward_pass(int patt);
static void do_out_error(int patt);
static void worst_pass_error();
@@ -265,53 +264,15 @@ for (neurode=0; neurode<OUT_SIZE; neurode++)
}
}
-/*************************
-** display_output(patt) **
-**************************
-** Display the actual output vs. the desired output of the
-** network.
-** Once the training is complete, and the "learned" flag set
-** to true, then display_output sends its output to both
-** the screen and to a text output file.
-**
-** NOTE: This routine has been disabled in the benchmark
-** version. -- RG
-**/
-/*
-void display_output(int patt)
-{
-int i;
-
- fprintf(outfile,"\n Iteration # %d",iteration_count);
- fprintf(outfile,"\n Desired Output: ");
-
- for (i=0; i<OUT_SIZE; i++)
- {
- fprintf(outfile,"%6.3f ",out_pats[patt][i]);
- }
- fprintf(outfile,"\n Actual Output: ");
-
- for (i=0; i<OUT_SIZE; i++)
- {
- fprintf(outfile,"%6.3f ",out_out[i]);
- }
- fprintf(outfile,"\n");
- return;
-}
-*/
-
/**********************
** do_forward_pass() **
***********************
** control function for the forward pass through the network
-** NOTE: I have disabled the call to display_output() in
-** the benchmark version -- RG.
**/
static void do_forward_pass(int patt)
{
do_mid_forward(patt); /* process forward pass, middle layer */
do_out_forward(); /* process forward pass, output layer */
-/* display_output(patt); ** display results of forward pass */
}
/***********************