|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.AbstractIOObject
edu.udo.cs.yale.operator.ResultObjectAdapter
edu.udo.cs.yale.operator.AbstractModel
edu.udo.cs.yale.operator.IOModel
edu.udo.cs.yale.operator.preprocessing.normalization.ZTransformationModel
public class ZTransformationModel
This model performs a z-Transformation on the given example set.
| Nested Class Summary | |
|---|---|
private class |
ZTransformationModel.MeanVariance
This helper class stores the information about the mean and variance for an attribute. |
| Field Summary | |
|---|---|
private java.util.Map<java.lang.String,ZTransformationModel.MeanVariance> |
meanVarianceMap
This map contains all information about the mean and variance values for all attributes. |
| Constructor Summary | |
|---|---|
ZTransformationModel()
Creates a new model. |
|
| Method Summary | |
|---|---|
void |
addMeanVariance(java.lang.String name,
double mean,
double variance)
Adds the mean and variance information for an attribute with the given name. |
void |
apply(ExampleSet exampleSet)
Performs the transformation. |
java.lang.String |
getName()
Returns a nicer name. |
void |
readData(java.io.ObjectInputStream in)
Reads the model data from the given stream. |
java.lang.String |
toString()
Returns a string representation of this model. |
void |
writeData(java.io.ObjectOutputStream out)
Writes the model data into the given stream. |
| Methods inherited from class edu.udo.cs.yale.operator.AbstractModel |
|---|
equals, getExtension, getFileDescription, readModel, readModel, save, setParameter, writeModel, writeModel |
| Methods inherited from class edu.udo.cs.yale.operator.ResultObjectAdapter |
|---|
addAction, getActions, getVisualisationComponent, toHTML, toResultString |
| Methods inherited from class edu.udo.cs.yale.operator.AbstractIOObject |
|---|
copy, read, read, read, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.udo.cs.yale.operator.ResultObject |
|---|
getActions, getVisualisationComponent, toResultString |
| Methods inherited from interface edu.udo.cs.yale.operator.IOObject |
|---|
copy, write, write |
| Field Detail |
|---|
private java.util.Map<java.lang.String,ZTransformationModel.MeanVariance> meanVarianceMap
| Constructor Detail |
|---|
public ZTransformationModel()
| Method Detail |
|---|
public void addMeanVariance(java.lang.String name,
double mean,
double variance)
public void apply(ExampleSet exampleSet)
throws OperatorException
OperatorException
public void writeData(java.io.ObjectOutputStream out)
throws java.io.IOException
writeData in class AbstractModeljava.io.IOException
public void readData(java.io.ObjectInputStream in)
throws java.io.IOException
readData in class IOModeljava.io.IOExceptionpublic java.lang.String getName()
getName in interface ResultObjectgetName in class ResultObjectAdapterpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||