Package org.goai.classification.impl

Examples of org.goai.classification.impl.NeurophClassifier


//        neuralNet.getOutputNeurons()[1].setLabel("Versicolor");
//        neuralNet.getOutputNeurons()[2].setLabel("Virginica");
//        neuralNet.save(nnFileName);
       
        // create GOAI classifier with loaded Neuroph neural network
        Classifier<double[], String> goaiClassifier = new NeurophClassifier(neuralNet);
                 
        // load dataset and create map here
        DataSet evaluationDataSet =  DataSet.createFromFile(IrisNeurophClassifierSample.class.getResource("iris_data_normalised.txt").getPath(), 4, 3, ",");
       
        ClassificationProblem<double[], String> classificationProblem = createClassificationProblem(evaluationDataSet);
View Full Code Here


     * @return
     */
    @Override
    protected Classifier<double[], String> createClassifier(NeuralNetwork neuralNet) {
        // create GOAI classifier with neural network
        Classifier<double[], String> goaiClassifier = new NeurophClassifier(neuralNet);       
        return goaiClassifier;
    }
View Full Code Here

TOP

Related Classes of org.goai.classification.impl.NeurophClassifier

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.