Package weka.classifiers.functions

Examples of weka.classifiers.functions.MultilayerPerceptron.buildClassifier()


    // System.out.println(" Structure: " + structure);
     structure.setClassIndex(structure.numAttributes() - 1);
    
     // train NaiveBayes
     MultilayerPerceptron nn = new MultilayerPerceptron();
     nn.buildClassifier(structure);
    
     System.out.println(" Perceptron created1: " + nn);
    
     Attribute att;
     Instance newInstance = new DenseInstance(structure.numAttributes());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.