Class: Google::Privacy::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb

Overview

Result of the δ-presence computation. Note that these results are an estimation, not exact values.

Defined Under Namespace

Classes: DeltaPresenceEstimationHistogramBucket, DeltaPresenceEstimationQuasiIdValues

Instance Attribute Summary collapse

Instance Attribute Details

#delta_presence_estimation_histogramArray<Google::Privacy::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationHistogramBucket>

Returns The intervals [min_probability, max_probability) do not overlap. If a value doesn't correspond to any such interval, the associated frequency is zero. For example, the following records: 0, max_probability: 0.1, frequency: 17 0.2, max_probability: 0.3, frequency: 42 0.3, max_probability: 0.4, frequency: 99 mean that there are no record with an estimated probability in [0.1, 0.2) nor larger or equal to 0.4.

Returns:



1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1066

class DeltaPresenceEstimationResult
  # A tuple of values for the quasi-identifier columns.
  # @!attribute [rw] quasi_ids_values
  #   @return [Array<Google::Privacy::Dlp::V2::Value>]
  #     The quasi-identifier values.
  # @!attribute [rw] estimated_probability
  #   @return [Float]
  #     The estimated probability that a given individual sharing these
  #     quasi-identifier values is in the dataset. This value, typically called
  #     δ, is the ratio between the number of records in the dataset with these
  #     quasi-identifier values, and the total number of individuals (inside
  #     *and* outside the dataset) with these quasi-identifier values.
  #     For example, if there are 15 individuals in the dataset who share the
  #     same quasi-identifier values, and an estimated 100 people in the entire
  #     population with these values, then δ is 0.15.
  class DeltaPresenceEstimationQuasiIdValues; end

  # A DeltaPresenceEstimationHistogramBucket message with the following
  # values:
  #   min_probability: 0.1
  #   max_probability: 0.2
  #   frequency: 42
  # means that there are 42 records for which δ is in [0.1, 0.2). An
  # important particular case is when min_probability = max_probability = 1:
  # then, every individual who shares this quasi-identifier combination is in
  # the dataset.
  # @!attribute [rw] min_probability
  #   @return [Float]
  #     Between 0 and 1.
  # @!attribute [rw] max_probability
  #   @return [Float]
  #     Always greater than or equal to min_probability.
  # @!attribute [rw] bucket_size
  #   @return [Integer]
  #     Number of records within these probability bounds.
  # @!attribute [rw] bucket_values
  #   @return [Array<Google::Privacy::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationQuasiIdValues>]
  #     Sample of quasi-identifier tuple values in this bucket. The total
  #     number of classes returned per bucket is capped at 20.
  # @!attribute [rw] bucket_value_count
  #   @return [Integer]
  #     Total number of distinct quasi-identifier tuple values in this bucket.
  class DeltaPresenceEstimationHistogramBucket; end
end