proper.engine
Class BagArffer

java.lang.Object
  extended by proper.core.ProperObject
      extended by proper.engine.Engine
          extended by proper.engine.DatabaseEngine
              extended by proper.engine.BagArffer
All Implemented Interfaces:
ProperInterface

public class BagArffer
extends DatabaseEngine

This class exports the data from a table to an ARFF-file that can be used for MILK (multi instance learning kit, based on Weka).
If the bag is not provided the first index is taken in the target table.

Version:
$Revision: 1.2 $
Author:
FracPete
See Also:
Instancer

Field Summary
 
Fields inherited from interface proper.core.ProperInterface
VERSION
 
Constructor Summary
BagArffer()
          initializes the object
 
Method Summary
 boolean execute()
          creates the instances directly from the table
 java.lang.String toString()
          returns the instances in a string representation
 
Methods inherited from class proper.engine.Engine
clear, copyParameter, exists, getParameter, getParameters, getStringParameter, setParameter, setParameters, valueEquals
 
Methods inherited from class proper.core.ProperObject
addListener, addOutput, classInVerbose, debugprint, debugprint, debugprint, debugprint, debugprintln, debugprintln, debugprintln, debugprintln, debugprintln, getListeners, getRuntime, getVerbose, getVerboseLevel, getVerboseLevelForClass, getVerboseString, getVerboseStringForClass, notifyListener, notifyListeners, print, print, print, print, println, println, println, println, println, printMemory, removeListener, setOutput, setVerbose, setVerboseLevel, setVerboseString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BagArffer

public BagArffer()
initializes the object

Method Detail

execute

public boolean execute()
creates the instances directly from the table

Overrides:
execute in class Engine

toString

public java.lang.String toString()
returns the instances in a string representation

Overrides:
toString in class Engine