Class Test

java.lang.Object
  extended byTest

public class Test
extends Object

The Test class is the main class. It creates, trains, tests and validates MLP, TDNN and RNN networks with the specified parameters

Author:
Raymond McBride

Constructor Summary
Test(String trainPath, String trainField, String testingPath, String testingField, String validatingPath, String validatingField)
          This constructor for the Test creates training, testing and validating data sets
 
Method Summary
 double[] getData(String path, String field)
          Gets the data from the Document
static void main(String[] args)
           
 void testMLP()
          Trains, tests and validates the MLP networks
 void testRNN()
          Trains, tests and validates the RNN networks
 void testTDNN()
          Trains, tests and validates the TDNN networks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test

public Test(String trainPath,
            String trainField,
            String testingPath,
            String testingField,
            String validatingPath,
            String validatingField)
This constructor for the Test creates training, testing and validating data sets

Parameters:
trainPath - The location of the training data
trainField - The XML node tag containing the training data
testingPath - The location of the testing
testingField - The XML node tag containing the testing data
validatingPath - The location of the validating data
validatingField - The XML node tag containing the validating data
Method Detail

getData

public double[] getData(String path,
                        String field)
Gets the data from the Document

Returns:
a double array containing the data

testMLP

public void testMLP()
Trains, tests and validates the MLP networks


testTDNN

public void testTDNN()
Trains, tests and validates the TDNN networks


testRNN

public void testRNN()
Trains, tests and validates the RNN networks


main

public static void main(String[] args)


Copyright © 2004 Raymond McBride. All Rights Reserved.