home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / lang / TRIX.lha / RunFile.doc next >
Encoding:
Text File  |  1992-04-19  |  690 b   |  23 lines

  1. /* Read line 1: (lines to read from run file) */
  2. fscanf(fpRun, "%d", &nRuns);
  3.  
  4. /* Beginning of work loop */
  5. for (r = 0;  r < nRuns;  r++ )
  6. {
  7.    /* read and parse run specification line; */
  8.    fscanf(fpRun, "%s %s %s %s %s %d %d %d %d %d %f %f",
  9.     szResults,    /* output results file */
  10.     szError,    /* error output file */
  11.     szPattern,    /* pattern input file */
  12.     szWeights,    /* initial weights file */
  13.     szWeightsOut,    /* final weights out file */
  14.     &nPatterns,    /* # patterns to learn */
  15.     &nIterations,    /* # its through date */
  16.     &nInputNodes,    /* # input nodes */
  17.     &nHiddenNodes,    /* # hidden nodes */
  18.     &nOutputNodes,    /* # output nodes */
  19.     &eta,        /* learning rate */
  20.     &alpha);    /* momentum factor */
  21.  
  22. ...
  23.