Skip to main content

Log to Data

Synopsis

This operator transforms the data generated by the Log operator into an ExampleSet which can then be used by other operators of the process.

Description

The Log operator stores information into the log table. This information can be almost anything including parameter values of operators, apply-count of operators, execution time etc. The Log operator is mostly used when you want to see the values calculated during the execution of the process that are otherwise not visible. For example you want to see values of different parameters in all iterations of any Loop operator. In such scenarios the ideal operator is the Log operator. A large variety of information can be stored using this operator. The information stored in the log table can be viewed in the Results View. But this information is not directly accessible in the process. To solve this problem, the Log to Data operator provides the information in the Log table in form of an ExampleSet. This ExampleSet can be used in the process like any other ExampleSet. RapidMiner automatically guesses the type of attributes of this ExampleSet and all attributes have regular role. The type and role can be changed by using the corresponding operators.

Input

通过

It is not compulsory to connect any object with this port. Any object connected at this port is delivered without any modifications to the output port. This operator can have multiple inputs. When one input is connected, another通过input port becomes available which is ready to accept another input (if any). The order of inputs remains the same. The object supplied at the first通过input port of the Log to Data operator is available at the first通过output port.

Output

example set

The data generated by the Log operator is delivered as an ExampleSet through this port.

通过

The objects that were given as input are passed without changing to the output through this port. It is not compulsory to attach this port to any other port. The Log to Data operator can have multiple outputs. When one output is connected, another通过输出端口可用which is ready to deliver another output (if any). The order of outputs remains the same. The object delivered at the first通过input port of the Log to Data operator is delivered at the first通过output port

Parameters

Log name

This parameter specifies the name of the Log operator that generated the log data which should be returned as an ExampleSet. If this parameter is left blank then the first found data table is returned as an ExampleSet.