This example demonstrates how to use the Area Under the Curve Function to calculate AUC for a given set of data.
Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

Drag the Agent onto the canvas from the toolbox and add the necessary links to connect the Data Stream.
Save the changes by clicking the Save button.

Step 2: Configure General

Select the Agent and click Configure.

Step 3: Configure Attributes

  1. 1.
    Select the attribute that represents the X-Axis.
  2. 2.
    Select the attribute that represents the Y-Axis.
  3. 3.
    Select any additional attributes that must be included in the output.
Click Apply to complete the configuration.

Step 4: Results

Save the Data Stream and publish it to see the result in Live View.
Observe the calculated Area Under the Curve value in the Live View. The complete example and the files used are provided below.


Security Key
Data Stream
AUC Example.xuc
Sample Data
Sample Data.csv
See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.