Access over 20 million homework & study documents

Practical 13

Content type
User Generated
Rating
Showing Page:
1/5
Roll # 17CSE ______ 60
Practical #13
Objective: Operators used in Debugging Process.
Theory:
The Rapid Miner Studio GUI has a very easy-to-use debugging facility. It is possible to add a
breakpoint to any operator that will display results on completion of the operation. A breakpoint
is enabled by selecting the operator and pressing the F7 key. A right-click brings up a menu as
an alternative way of doing this and it can be accessed from the Edit menu of the main GUI.
When the process execution reaches the breakpoint, all the outputs from the operator can be
examined to determine what is happening. It is also possible to set a breakpoint before the
execution of the operator. Again, select the operator and now press Shift + F7 to set this type of
breakpoint. This time all the inputs to the operator can be examined.
To continue from a breakpoint, press the Run button, or press F1, or use the Process menu from
the main GUI.
Logging data in Rapid Miner Studio
Rapid Miner Studio provides the Log operator; this is the one that can be used a great deal, both
for debugging and for creation of data. Dealing with logging first, the Log operator can be
inserted anywhere in a process and is configured to output the parameters or values associated
with another operator somewhere in the process. For example, the screenshot that follows shows
some example parameters for the Log operator:

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/5
Roll # 17CSE ______ 61
The left-most column becomes the column name in the log, the second column is the name of
the operator within the process, the third column is the type of information (either value or
parameter), and the final column is the name of the information to log, which is filled in
automatically with valid options by the Rapid Miner Studio GUI. The value option is used to log
the result of the execution of an operator, whereas the parameter option is used to log the
parameters to the operator that controls its working.
The values of macros can be output using the Provide Macro as Log Value operator and this
operator is then referred to by its name in the Log operator. The operator called Loopy is
providing the value of a macro and this is accessed in the Log operator by the selection of the
macro value. The other entries are all derived from the parameters for various operators.
The value of a specific example of an attribute within an example set can be output using the
Extract Log Value operator and as with the Provide Macros as Log Value operator, this is then
accessed in the Log operator. The resulting log can be converted to an example set if a more
permanent record needs to be kept for further analysis or if the example set needs to be used later
as part of the normal processing being done by the process.. This is done using the Log to Data
operator.
Input
through (IOObject)
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 through 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 through input port of the Log operator is available at the first through output port.

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/5

Sign up to view the full document!

lock_open Sign Up
End of Preview - Want to read all 5 pages?
Access Now
Unformatted Attachment Preview
Practical #13 Objective: Operators used in Debugging Process. Theory: The Rapid Miner Studio GUI has a very easy-to-use debugging facility. It is possible to add a breakpoint to any operator that will display results on completion of the operation. A breakpoint is enabled by selecting the operator and pressing the F7 key. A right-click brings up a menu as an alternative way of doing this and it can be accessed from the Edit menu of the main GUI. When the process execution reaches the breakpoint, all the outputs from the operator can be examined to determine what is happening. It is also possible to set a breakpoint before the execution of the operator. Again, select the operator and now press Shift + F7 to set this type of breakpoint. This time all the inputs to the operator can be examined. To continue from a breakpoint, press the Run button, or press F1, or use the Process menu from the main GUI. Logging data in Rapid Miner Studio Rapid Miner Studio provides the Log operator; this is the one that can be used a great deal, both for debugging and for creation of data. Dealing with logging first, the Log operator can be inserted anywhere in a process and is configured to output the parameters or values associated with another operator somewhere in the process. For example, the screenshot that follows shows some example parameters for the Log operator: Roll # 17CSE ______ 60 The left-most column becomes the column name in the log, the second column is the name of the opera ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Awesome! Perfect study aid.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Similar Documents