weka.classifiers.meta.generators
Interface InstanceHandler

All Superinterfaces:
CapabilitiesHandler
All Known Implementing Classes:
DiscreteGenerator, DiscreteUniformGenerator, EMGenerator

public interface InstanceHandler
extends CapabilitiesHandler

Whether the generator can handle instances directly for setting the parameters.

Version:
$Revision: 5793 $
Author:
Kathryn Hempstalk (kah18 at cs.waikato.ac.nz)

Method Summary
 void buildGenerator(Instances someinstances)
          Builds the generator with a given set of instances.
 
Methods inherited from interface weka.core.CapabilitiesHandler
getCapabilities
 

Method Detail

buildGenerator

void buildGenerator(Instances someinstances)
                    throws java.lang.Exception
Builds the generator with a given set of instances.

Parameters:
someinstances - The instances that will be used to build up the probabilities for this generator.
Throws:
java.lang.Exception - if data cannot be handled