chemCast.weka
Class Subsets2Instances

java.lang.Object
  extended by chemCast.weka.Subsets2Instances

public class Subsets2Instances
extends java.lang.Object


Constructor Summary
Subsets2Instances()
           
Subsets2Instances(ChemCastDescriptorsList descriptors, java.lang.String classProperty, boolean fingerprints)
           
 
Method Summary
 Instance createInstance()
           
 Instances createInstances(java.lang.String name)
           
 FastVector getAttributes()
           
 java.lang.String getClassProperty()
           
 ChemCastDescriptorsList getDescriptors()
           
 InstanceProcessor getInstanceProcessor()
           
 boolean isEmptyClassProperty()
           
 boolean isFingerprints()
           
 boolean isUseClassProperty()
           
 FastVector properties2attributes(Subsets subsets)
           
 Instances properties2Instances(Subsets subsets)
           
 Instance property2Instance(IAtomContainersList data, int index, Instance instance, java.lang.String className)
           
 Instance property2Instance(Subset subset, int index, Instance instance)
           
 void setAttributes(FastVector attributes)
           
 void setClassProperty(java.lang.String classProperty)
           
 void setDescriptors(ChemCastDescriptorsList descriptors)
           
 void setEmptyClassProperty(boolean emptyClassProperty)
           
 void setFingerprints(boolean fingerprints)
           
 void setInstanceProcessor(InstanceProcessor instanceProcessor)
           
 void setUseClassProperty(boolean useClassProperty)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subsets2Instances

public Subsets2Instances()

Subsets2Instances

public Subsets2Instances(ChemCastDescriptorsList descriptors,
                         java.lang.String classProperty,
                         boolean fingerprints)
Method Detail

properties2attributes

public FastVector properties2attributes(Subsets subsets)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

createInstance

public Instance createInstance()
                        throws java.lang.Exception
Throws:
java.lang.Exception

property2Instance

public Instance property2Instance(Subset subset,
                                  int index,
                                  Instance instance)
                           throws java.lang.Exception
Throws:
java.lang.Exception

property2Instance

public Instance property2Instance(IAtomContainersList data,
                                  int index,
                                  Instance instance,
                                  java.lang.String className)
                           throws java.lang.Exception
Throws:
java.lang.Exception

createInstances

public Instances createInstances(java.lang.String name)
                          throws java.lang.Exception
Throws:
java.lang.Exception

properties2Instances

public Instances properties2Instances(Subsets subsets)
                               throws java.lang.Exception
Throws:
java.lang.Exception

isFingerprints

public boolean isFingerprints()

setFingerprints

public void setFingerprints(boolean fingerprints)

getClassProperty

public java.lang.String getClassProperty()

setClassProperty

public void setClassProperty(java.lang.String classProperty)

getDescriptors

public ChemCastDescriptorsList getDescriptors()

setDescriptors

public void setDescriptors(ChemCastDescriptorsList descriptors)

getInstanceProcessor

public InstanceProcessor getInstanceProcessor()

setInstanceProcessor

public void setInstanceProcessor(InstanceProcessor instanceProcessor)

getAttributes

public FastVector getAttributes()

setAttributes

public void setAttributes(FastVector attributes)

isUseClassProperty

public boolean isUseClassProperty()

setUseClassProperty

public void setUseClassProperty(boolean useClassProperty)

isEmptyClassProperty

public boolean isEmptyClassProperty()

setEmptyClassProperty

public void setEmptyClassProperty(boolean emptyClassProperty)