All Downloads are FREE. Search and download functionalities are using the official Maven repository.

weka.classifiers.timeseries.core.BaseModelSerializer Maven / Gradle / Ivy

Go to download

Provides a time series forecasting environment for Weka. Includes a wrapper for Weka regression schemes that automates the process of creating lagged variables and date-derived periodic variables and provides the ability to do closed-loop forecasting. New evaluation routines are provided by a special evaluation module and graphing of predictions/forecasts are provided via the JFreeChart library. Includes both command-line and GUI user interfaces. Sample time series data can be found in ${WEKA_HOME}/packages/timeseriesForecasting/sample-data.

The newest version!
/*
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see .
 */

/*
 *    BaseModelSerializer.java
 *    Copyright (C) 2016 University of Waikato, Hamilton, New Zealand
 */

package weka.classifiers.timeseries.core;

import weka.classifiers.Classifier;

/**
 * An interface for predictors which implement methods for serializing the base
 * model.
 *
 * Created by pedro on 25-08-2016.
 */
public interface BaseModelSerializer extends Classifier {

  /**
   * Serialize model
   *
   * @param path the path to the file to hold the serialized base learner
   * @throws Exception
   */
  void serializeModel(String path) throws Exception;

  /**
   * De-serialize model
   *
   * @param path the path to the file to load the serialized base learner from
   * @throws Exception
   */
  void loadSerializedModel(String path) throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy