# RoleAnalysisDetectionOptionType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Options for Detecting Business Roles These parameters serve as key specifications for performing searches and analyzes aimed at discovering different business roles. Furthermore, the role analysis session allows for the possibility of updating these values. If there is a need to modify or refine the cluster options during the analysis process, the values associated with the keys can be updated accordingly. This flexibility enables fine-tuning of the role analysis based on changing requirements or new insights gained during the analysis phase.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
sensitivity | property double | [0,1] | Sensitivity of the detection process.
minRolesOccupancy | property int | [0,1] | Define the minimum required count of roles occupancy for detected patterns.
minUserOccupancy | property int | [0,1] | Define the minimum required count of users occupancy for detected patterns.
frequencyRange | property RangeType | [0,1] | Minimum and maximum required frequency.
standardDeviation | property RangeType | [0,1] | Serves as a confidence interval, providing a measure of statistical certainty by defining how much the values deviate from the mean.
frequencyThreshold | property double | [0,1] | Frequency threshold used for detection.
detectionProcessMode | property RoleAnalysisDetectionProcessType | [0,1] | Option for executing detection pattern.

- ### Items

  - #### sensitivity

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Sensitivity of the detection process. This parameter influences the confidence threshold for identifying outliers. For instance, only those outliers with a confidence level above (100 - sensitivity) are considered valid outliers.

    Additionally, the sensitivity parameter affects the range settings used for anomaly detection. The range is adjusted by the formula: range_value * (1 + sensitivity).

  - #### minRolesOccupancy

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Define the minimum required count of roles occupancy for detected patterns.

  - #### minUserOccupancy

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Define the minimum required count of users occupancy for detected patterns.

  - #### frequencyRange

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Minimum and maximum required frequency. If the condition is not met, the objects are not included in the detection (search). In the case of USER MODE - frequency of application of roles (properties) due to processed members(users) In the case of ROLE MODE - frequency of disposition of users (properties) due to processed members(roles) Frequency expresses the percentage value of occupancy. It refers to the number of occurrences of properties over cluster members.

  - #### standardDeviation

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Serves as a confidence interval, providing a measure of statistical certainty by defining how much the values deviate from the mean. A lower standard deviation indicates that data points are closely clustered around the mean, while a higher value suggests a wider range of dispersion.

  - #### frequencyThreshold

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Frequency threshold used for detection. If the condition is not met, then the objects are excluded.

  - #### detectionProcessMode

    Flags: RAM,runtime,AVals:3

    Multiplicity: [0,1]

    Display order:

    Option for executing detection pattern.