Class: Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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
-
#delta_presence_estimation_histogram ⇒ ::Array<::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationHistogramBucket>
The intervals [min_probability, max_probability) do not overlap.
Instance Attribute Details
#delta_presence_estimation_histogram ⇒ ::Array<::Google::Cloud::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: {min_probability: 0, max_probability: 0.1, frequency: 17} {min_probability: 0.2, max_probability: 0.3, frequency: 42} {min_probability: 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.
2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2158 class DeltaPresenceEstimationResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A tuple of values for the quasi-identifier columns. # @!attribute [rw] quasi_ids_values # @return [::Array<::Google::Cloud::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 include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods 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::Cloud::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 include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |