toxTree.qsar
Class LinearPreprocessor
java.lang.Object
toxTree.qsar.LinearPreprocessor
- All Implemented Interfaces:
- java.io.Serializable, IDescriptorPreprocessor
public class LinearPreprocessor
- extends java.lang.Object
- implements IDescriptorPreprocessor
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
scale
protected double[] scale
translation
protected double[] translation
explanation
protected java.lang.String explanation
dimension
protected int dimension
LinearPreprocessor
public LinearPreprocessor(double[] scale,
double[] translation)
throws java.lang.Exception
- Throws:
java.lang.Exception
process
public double[] process(double[] values)
throws java.lang.Exception
- Specified by:
process
in interface IDescriptorPreprocessor
- Throws:
java.lang.Exception
getScale
public double[] getScale()
setScale
public void setScale(double[] scale)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTranslation
public double[] getTranslation()
setTranslation
public void setTranslation(double[] translation)
throws java.lang.Exception
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getExplanation
public java.lang.String getExplanation()
- Specified by:
getExplanation
in interface IDescriptorPreprocessor
setExplanation
public void setExplanation(java.lang.String explanation)
- Specified by:
setExplanation
in interface IDescriptorPreprocessor
getDimension
public int getDimension()
- Specified by:
getDimension
in interface IDescriptorPreprocessor
setDimension
public void setDimension(int dimension)
- Specified by:
setDimension
in interface IDescriptorPreprocessor
Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.