nz.ac.waikato.mcennis.rat.graph.algorithm.reusablecores.instanceFactories
Interface InstanceFactory

All Known Implementing Classes:
DefaultInstanceFactory, DoubleArrayInstanceFactory, DoubleInstanceFactory, InstanceInstanceFactory, IntegerInstanceFactory, LongInstanceFactory, StringInstanceFactory

public interface InstanceFactory

Interface for transforming Properties into Instance Objects.


Method Summary
 weka.core.Instance transform(java.lang.Object value, java.lang.String name)
          Transform an object into an Instance where the name of the dataset and the names of the attributes are derived from the name provided.
 

Method Detail

transform

weka.core.Instance transform(java.lang.Object value,
                             java.lang.String name)
Transform an object into an Instance where the name of the dataset and the names of the attributes are derived from the name provided.

Parameters:
value - Property value to be transformed
name - string utilized to derive a dataset name and attribute names.
Returns:
Instance representing this object