Interface DataCollector

All Known Implementing Classes:
AttributeSummarizer, BaseSimpleDataVisualizer, BoundaryPlotter, CostBenefitAnalysis, DataVisualizer, GraphViewer, ImageViewer, ModelPerformanceChart, ScatterPlotMatrix, TextViewer

public interface DataCollector
Auxiliary interface for steps that collect data results of some type - e.g. visualization steps that collect results.
Version:
$Revision: $
Author:
Mark Hall (mhall{[at]}pentaho{[dot]}com)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Set the data for this collector
    Get the data that this collector has collected
  • Method Details

    • retrieveData

      Object retrieveData()
      Get the data that this collector has collected
      Returns:
      the data collected by this collector
    • restoreData

      void restoreData(Object data) throws WekaException
      Set the data for this collector
      Parameters:
      data - the data to set
      Throws:
      WekaException - if there is a problem restoring data