Package org.goai.classification.api

Examples of org.goai.classification.api.ClassificationProblem


    public ClassificationProblem createClassificationProblem(Instances wekaDataset) {
        try {
            // Convert Weka data set to HashMap
            HashMap<double[], String> classificationMap = makeMapOutOfInstances(wekaDataset);
           
            return new ClassificationProblem("Iris", classificationMap);
        } catch (Exception ex) {
            Logger.getLogger(WekaClassifierEvaluation.class.getName()).log(Level.SEVERE, null, ex);
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.goai.classification.api.ClassificationProblem

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.