|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.AbstractObservable<Operator>
com.rapidminer.operator.Operator
com.rapidminer.operator.AbstractExampleSetProcessing
com.rapidminer.operator.preprocessing.AbstractDataProcessing
com.rapidminer.operator.preprocessing.Obfuscator
public class Obfuscator
This operator takes an ExampleSet as input and maps all
nominal values to randomly created strings. The names and the construction
descriptions of all attributes will also replaced by random strings. This
operator can be used to anonymize your data. It is possible to save the
obfuscating map into a file which can be used to remap the old values and
names. Please use the operator Deobfuscator for this purpose.
The new example set can be written with an ExampleSetWriter.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_OBFUSCATION_MAP_FILE
The parameter name for "File where the obfuscator map should be written to. |
| Constructor Summary | |
|---|---|
Obfuscator(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
ExampleSet |
apply(ExampleSet exampleSet)
Delegate for the apply method. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
ResourceConsumptionEstimator |
getResourceConsumptionEstimator()
Subclasses can override this method if they are able to estimate the consumed resources (CPU time and memory), based on their input. |
protected MetaData |
modifyMetaData(ExampleSetMetaData metaData)
Subclasses might override this method to define the meta data transformation performed by this operator. |
boolean |
writesIntoExistingData()
Only nominal mapping is changed, not write through on data |
| Methods inherited from class com.rapidminer.operator.AbstractExampleSetProcessing |
|---|
doWork, getExampleSetInputPort, getExampleSetOutputPort, getInputPort, getRequiredMetaData, shouldAutoConnect |
| Methods inherited from class com.rapidminer.tools.AbstractObservable |
|---|
addObserver, addObserverAsFirst, fireUpdate, removeObserver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_OBFUSCATION_MAP_FILE
| Constructor Detail |
|---|
public Obfuscator(OperatorDescription description)
| Method Detail |
|---|
protected MetaData modifyMetaData(ExampleSetMetaData metaData)
throws UndefinedParameterError
AbstractExampleSetProcessing
modifyMetaData in class AbstractExampleSetProcessingUndefinedParameterError
public ExampleSet apply(ExampleSet exampleSet)
throws OperatorException
AbstractExampleSetProcessing
apply in class AbstractExampleSetProcessingOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class Operatorpublic boolean writesIntoExistingData()
writesIntoExistingData in class AbstractExampleSetProcessingpublic ResourceConsumptionEstimator getResourceConsumptionEstimator()
Operator
getResourceConsumptionEstimator in interface ResourceConsumergetResourceConsumptionEstimator in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||