1
2
3
4 package yawn.nn.appart;
5
6 import yawn.config.NeuralNetworkConfig;
7 import yawn.nn.AbstractCircleInTheSquareNetworkTest;
8 import yawn.util.Pattern;
9
10 /***
11 * This is yawn.nn.AppArtTest part of the yawn project.
12 *
13 * <p>$Id: AppArtTest.java,v 1.5 2005/04/20 18:55:15 supermarti Exp $</p>
14 *
15 * @author Luis Martí (luis dot marti at uc3m dot es)
16 * @version $Revision: 1.5 $
17 */
18 public class AppArtTest extends AbstractCircleInTheSquareNetworkTest {
19
20
21
22
23
24
25 protected NeuralNetworkConfig createConfig() {
26 AppArtConfig conf = new AppArtConfig();
27
28 conf.setLearningRate(0.25);
29 conf.setMatchTrackingOneShot(true);
30 conf.setPredictionError(0.5);
31 conf.setTestMatchVigilance(0.995);
32 conf.setTrainMatchVigilance(0.3);
33 conf.setUseAbsoluteError(true);
34 conf.setPredictionLayerLearningRate(0.25);
35 conf.setMaxEpochs(40);
36 conf.setDesiredMeanSquaredError(TARGETED_PREDICTION_MSE);
37
38 double[] ini = { 0.05, 0.05 };
39 Pattern initDev = new Pattern(ini);
40
41 conf.setInitialDeviations(initDev);
42
43 return conf;
44 }
45
46 }