org.neuroph.samples.forestCover
Class TrainNetwork
- java.lang.Object
-
- org.neuroph.samples.forestCover.TrainNetwork
-
- All Implemented Interfaces:
- java.util.EventListener, LearningEventListener
public class TrainNetwork extends java.lang.Object implements LearningEventListener
-
-
Constructor Summary
Constructors Constructor and Description TrainNetwork(Config config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcreateNeuralNetwork()voidhandleLearningEvent(LearningEvent event)This method gets executed when LearningRule fires LearningEvent which some class is listening to.voidtrain()
-
-
-
Constructor Detail
-
TrainNetwork
public TrainNetwork(Config config)
-
-
Method Detail
-
createNeuralNetwork
public void createNeuralNetwork()
-
train
public void train()
-
handleLearningEvent
public void handleLearningEvent(LearningEvent event)
Description copied from interface:LearningEventListenerThis method gets executed when LearningRule fires LearningEvent which some class is listening to. For example, if you want to print current iteration, error etc.- Specified by:
handleLearningEventin interfaceLearningEventListener- Parameters:
event- holds the information about event tha occured
-
-
DMelt 3.0 © DataMelt by jWork.ORG