|  | ## ROCChart

#### Synopsis

This operator creates a ROC chart for the given example set and model. The model will be applied on the example set and a ROC chart will be produced afterwards. If you are interested in finding an optimal threshold, the operator

Please note that a predicted label of the given example set will be removed during the application of this operator.

#### Parameter

`use_example_weights`
  Indicates if example weights should be used for calculations (use 1 as weights for each example otherwise). (boolean; default: true)
`use_model`
  If checked a given model will be applied for generating ROCChart. If not the examples set must have a predicted label. (boolean; default: true)

#### Values

A list of values that can be logged using the ProcessLog operator.

`applycount`
  The number of times the operator was applied.
`looptime`
  The time elapsed since the current loop started.
`time`
  The time elapsed since this operator started.

#### Examples

### Example process to plot a ROC chart

<source lang="xml"> <operator name="Root" class="Process" expanded="yes">

<operator name="ExampleSetGenerator" class="ExampleSetGenerator"> <parameter key="target_function" value="sinus classification"/> </operator> <operator name="DecisionTree" class="DecisionTree"> <parameter key="keep_example_set" value="true"/> </operator> <operator name="ROCChart" class="ROCChart"> </operator>

</operator> </source>