Package com.wiieditor.neuralnetwork

Examples of com.wiieditor.neuralnetwork.NeuralNetwork


        downSample();
        double [] output=DataInterpolator.convertCharToNeuronDoubleArr(c);
        NeuralData neuralData=gridPanel.getData().getConvertedNeuralData();
        neuralData.setOutputVector(output);
       
        NeuralNetwork n=NeuralNetwork.createNeuralNetwork();
        n.learn(neuralData);
        n.save();
       
        log.info("Entry: NeuralNetwork learnt for "+c);
       
    }
View Full Code Here


    }
   
    public char recognize(){
        downSample();
        NeuralData neuralData=gridPanel.getData().getConvertedNeuralData();
        NeuralNetwork n=NeuralNetwork.createNeuralNetwork();
        neuralData=n.calculateAndGetNormalizedOuput(neuralData);
       
        char c=DataInterpolator.convertNeuronDoubleArrToChar(neuralData.getOutputVector());
        log.info("Entry: NeuralNetwork recognized "+c);
        return c;
    }
View Full Code Here

TOP

Related Classes of com.wiieditor.neuralnetwork.NeuralNetwork

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.