org.neuroph.util.benchmark
Class MyBenchmarkTask
- java.lang.Object
-
- org.neuroph.util.benchmark.BenchmarkTask
-
- org.neuroph.util.benchmark.MyBenchmarkTask
-
public class MyBenchmarkTask extends BenchmarkTask
This class is example of custom benchmarking task for Multi Layer Perceptorn network Note that this benchmark only measures the speed at implementation level - the speed of data flow forward and backward through network
-
-
Constructor Summary
Constructors Constructor and Description MyBenchmarkTask(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidprepareTest()Benchmrk preparation consists of training set and neural networ creatiion.voidrunTest()This method should hold the code to benchmark-
Methods inherited from class org.neuroph.util.benchmark.BenchmarkTask
getName, getTestIterations, getWarmupIterations, setName, setTestIterations, setWarmupIterations
-
-
-
-
Method Detail
-
prepareTest
public void prepareTest()
Benchmrk preparation consists of training set and neural networ creatiion. This method generates training set with 100 rows, where every row has 10 input and 5 output elements Neural network has two hiddden layers with 8 and 7 neurons, and runs learning rule for 2000 iterations- Specified by:
prepareTestin classBenchmarkTask
-
runTest
public void runTest()
Description copied from class:BenchmarkTaskThis method should hold the code to benchmark- Specified by:
runTestin classBenchmarkTask
-
-
DMelt 3.0 © DataMelt by jWork.ORG