# Red Analyze Tool – Statistics – Optimization

To optimize the performance of the Red Analyze tool, keep in mind the following:

- Prefer the AUC of untrained items.

- Prefer region-based AUC.

  - This requires that you mark all bad samples.
  - Is usually much lower than the view-based AUC.

- Threshold setting depends on the requirements of the application.

  - High threshold to avoid false positives.
  - Low threshold to avoid false negatives.
  - Otherwise, a good compromise is %FP = %FN.