Class NoInstanceTransformation
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.rules.multilabel.instancetransformers.NoInstanceTransformation
-
- All Implemented Interfaces:
Serializable
,InstanceTransformer
,MOAObject
public class NoInstanceTransformation extends AbstractMOAObject implements InstanceTransformer
Performs no transformation. Returns- Author:
- João Duarte (joaomaiaduarte@gmail.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoInstanceTransformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getDescription(StringBuilder sb, int indent)
Returns a string representation of this object.Instance
sourceInstanceToTarget(Instance sourceInstance)
Prediction
targetPredictionToSource(Prediction targetPrediction)
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface moa.MOAObject
copy, measureByteSize
-
-
-
-
Method Detail
-
sourceInstanceToTarget
public Instance sourceInstanceToTarget(Instance sourceInstance)
- Specified by:
sourceInstanceToTarget
in interfaceInstanceTransformer
-
targetPredictionToSource
public Prediction targetPredictionToSource(Prediction targetPrediction)
- Specified by:
targetPredictionToSource
in interfaceInstanceTransformer
-
getDescription
public void getDescription(StringBuilder sb, int indent)
Description copied from interface:MOAObject
Returns a string representation of this object. Used inAbstractMOAObject.toString
to give a string representation of the object.- Specified by:
getDescription
in interfaceMOAObject
- Parameters:
sb
- the stringbuilder to add the descriptionindent
- the number of characters to indent
-
-