Package weka.classifiers.functions

Examples of weka.classifiers.functions.GaussianProcesses


        byte[] data=ramout.toByteArray();
        ByteArrayInputStream   ramStrem=new ByteArrayInputStream(data);
        Instances wine = new Instances(new InputStreamReader(ramStrem));
        WekaForecaster forecaster = new WekaForecaster();
        forecaster.setFieldsToForecast(numberfield.toString());
        forecaster.setBaseForecaster(new GaussianProcesses());
        forecaster.getTSLagMaker().setTimeStampField("thedate"); // date time stamp
        forecaster.getTSLagMaker().setMinLag(1);
        forecaster.getTSLagMaker().setMaxLag(12); // monthly data
        forecaster.getTSLagMaker().setAddMonthOfYear(true);
        forecaster.getTSLagMaker().setAddQuarterOfYear(true);
View Full Code Here

TOP

Related Classes of weka.classifiers.functions.GaussianProcesses

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.