C++ Neural Networks and Fuzzy Logic
by Valluru B. Rao
MTBooks, IDG Books Worldwide, Inc.
ISBN: 1558515526 Pub Date: 06/01/95
Previous Table of Contents Next
Storing Data in Different Files
You need to place the first 200 lines in a training.dat file (provided for you in the accompanying diskette) and
the subsequent 40 lines of data in the another test.dat file for use in testing. You will read more about this
shortly. There is also more data than this provided on this diskette in raw form for you to do further
experiments.
Training and Testing
With the training data available, we set up a simulation. The number of inputs are 15, and the number of
outputs is 1. A total of three layers are used with a middle layer of size 5. This number should be made as
small as possible with acceptable results. The optimum sizes and number of layers can only be found by much
trial and error. After each run, you can look at the error from the training set and from the test set.
Do'stlaringiz bilan baham: |