/aosp_15_r20/external/cronet/third_party/icu/source/i18n/ |
H A D | csrucode.cpp | 34 // UTF-16 confidence calculation. Very simple minded, but better than nothing. 35 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte, 40 static int32_t adjustConfidence(char16_t codeUnit, int32_t confidence) { in adjustConfidence() argument 42 confidence -= 10; in adjustConfidence() 44 confidence += 10; in adjustConfidence() 46 if (confidence < 0) { in adjustConfidence() 47 confidence = 0; in adjustConfidence() 48 } else if (confidence > 100) { in adjustConfidence() 49 confidence = 100; in adjustConfidence() 51 return confidence; in adjustConfidence() [all …]
|
H A D | csrmbcs.cpp | 153 int32_t confidence = 0; in match_mbcs() local 177 return confidence; in match_mbcs() 185 // We don't have enough data to have any confidence. in match_mbcs() 187 confidence = 0; in match_mbcs() 192 confidence = 10; in match_mbcs() 195 return confidence; in match_mbcs() 203 confidence = 0; in match_mbcs() 205 return confidence; in match_mbcs() 210 // Assess confidence purely on having a reasonable number of in match_mbcs() 212 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match_mbcs() [all …]
|
/aosp_15_r20/external/icu/icu4c/source/i18n/ |
H A D | csrucode.cpp | 34 // UTF-16 confidence calculation. Very simple minded, but better than nothing. 35 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte, 40 static int32_t adjustConfidence(char16_t codeUnit, int32_t confidence) { in adjustConfidence() argument 42 confidence -= 10; in adjustConfidence() 44 confidence += 10; in adjustConfidence() 46 if (confidence < 0) { in adjustConfidence() 47 confidence = 0; in adjustConfidence() 48 } else if (confidence > 100) { in adjustConfidence() 49 confidence = 100; in adjustConfidence() 51 return confidence; in adjustConfidence() [all …]
|
H A D | csrmbcs.cpp | 153 int32_t confidence = 0; in match_mbcs() local 177 return confidence; in match_mbcs() 185 // We don't have enough data to have any confidence. in match_mbcs() 187 confidence = 0; in match_mbcs() 192 confidence = 10; in match_mbcs() 195 return confidence; in match_mbcs() 203 confidence = 0; in match_mbcs() 205 return confidence; in match_mbcs() 210 // Assess confidence purely on having a reasonable number of in match_mbcs() 212 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match_mbcs() [all …]
|
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | CharsetRecog_Unicode.java | 36 // UTF-16 confidence calculation. Very simple minded, but better than nothing. 37 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte, 41 static int adjustConfidence(int codeUnit, int confidence) { in adjustConfidence() argument 43 confidence -= 10; in adjustConfidence() 45 confidence += 10; in adjustConfidence() 47 if (confidence < 0) { in adjustConfidence() 48 confidence = 0; in adjustConfidence() 49 } else if (confidence > 100) { in adjustConfidence() 50 confidence = 100; in adjustConfidence() 52 return confidence; in adjustConfidence() [all …]
|
H A D | CharsetRecog_mbcs.java | 45 * bits 0-7: the match confidence, ranging from 0-100 56 int confidence = 0; in match() local 89 // We don't have enough data to have any confidence. in match() 91 confidence = 0; in match() 96 confidence = 10; in match() 107 confidence = 0; in match() 113 // Assess confidence purely on having a reasonable number of in match() 115 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match() 116 if (confidence > 100) { in match() 117 confidence = 100; in match() [all …]
|
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/text/ |
H A D | CharsetRecog_Unicode.java | 35 // UTF-16 confidence calculation. Very simple minded, but better than nothing. 36 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte, 40 static int adjustConfidence(int codeUnit, int confidence) { in adjustConfidence() argument 42 confidence -= 10; in adjustConfidence() 44 confidence += 10; in adjustConfidence() 46 if (confidence < 0) { in adjustConfidence() 47 confidence = 0; in adjustConfidence() 48 } else if (confidence > 100) { in adjustConfidence() 49 confidence = 100; in adjustConfidence() 51 return confidence; in adjustConfidence() [all …]
|
H A D | CharsetRecog_mbcs.java | 44 * bits 0-7: the match confidence, ranging from 0-100 55 int confidence = 0; in match() local 88 // We don't have enough data to have any confidence. in match() 90 confidence = 0; in match() 95 confidence = 10; in match() 106 confidence = 0; in match() 112 // Assess confidence purely on having a reasonable number of in match() 114 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match() 115 if (confidence > 100) { in match() 116 confidence = 100; in match() [all …]
|
/aosp_15_r20/external/google-cloud-java/java-automl/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ |
H A D | BatchPredictRequestOrBuilder.java | 150 * that have at least this confidence score. The default is 0.5. 155 * have at least this confidence score. The default is 0.5. 160 * confidence score. Value in 0 to 1 range, default is 0.5. 169 * have at least this confidence score. The default is 0.5. 173 * labels and their confidence scores for the entire segment of the 181 * then returns labels and their confidence scores for each detected 190 * Intelligence returns labels and their confidence scores for each 200 * confidence score. Value in 0 to 1 range, default is 0.5. 224 * that have at least this confidence score. The default is 0.5. 229 * have at least this confidence score. The default is 0.5. [all …]
|
H A D | BatchPredictRequest.java | 287 * that have at least this confidence score. The default is 0.5. 292 * have at least this confidence score. The default is 0.5. 297 * confidence score. Value in 0 to 1 range, default is 0.5. 306 * have at least this confidence score. The default is 0.5. 310 * labels and their confidence scores for the entire segment of the 318 * then returns labels and their confidence scores for each detected 327 * Intelligence returns labels and their confidence scores for each 337 * confidence score. Value in 0 to 1 range, default is 0.5. 373 * that have at least this confidence score. The default is 0.5. 378 * have at least this confidence score. The default is 0.5. [all …]
|
/aosp_15_r20/external/google-cloud-java/java-automl/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ |
H A D | BatchPredictRequestOrBuilder.java | 149 * that have at least this confidence score. The default is 0.5. 153 * have at least this confidence score. The default is 0.5. 157 * confidence score. Value in 0 to 1 range, default is 0.5. 164 * have at least this confidence score. The default is 0.5. 167 * labels and their confidence scores for the entire segment of the 174 * then returns labels and their confidence scores for each detected 181 * Intelligence returns labels and their confidence scores for each 195 * confidence score. Value in 0 to 1 range, default is 0.5. 216 * that have at least this confidence score. The default is 0.5. 220 * have at least this confidence score. The default is 0.5. [all …]
|
H A D | BatchPredictRequest.java | 288 * that have at least this confidence score. The default is 0.5. 292 * have at least this confidence score. The default is 0.5. 296 * confidence score. Value in 0 to 1 range, default is 0.5. 303 * have at least this confidence score. The default is 0.5. 306 * labels and their confidence scores for the entire segment of the 313 * then returns labels and their confidence scores for each detected 320 * Intelligence returns labels and their confidence scores for each 334 * confidence score. Value in 0 to 1 range, default is 0.5. 367 * that have at least this confidence score. The default is 0.5. 371 * have at least this confidence score. The default is 0.5. [all …]
|
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/ |
H A D | SystemTimeZone.java | 47 * The "special" time zone ID used as a low-confidence default when the device's time zone 53 * An annotation that indicates a "time zone confidence" value is expected. 55 * <p>The confidence indicates whether the time zone is expected to be correct. The confidence 57 * should be asked to confirm the time zone. For example, during device set up low confidence 60 * high confidence. 69 /** Used when confidence is low and would (ideally) be confirmed by a user. */ 72 * Used when confidence in the time zone is high and does not need to be confirmed by a user. 87 * Called during device boot to validate and set the time zone ID to a low-confidence default. 114 * <p>This method ensures the confidence metadata is set to the supplied value if the supplied 123 @NonNull String timeZoneId, @TimeZoneConfidence int confidence, in setTimeZoneId() argument [all …]
|
H A D | SystemClockTime.java | 52 * An annotation that indicates a "time confidence" value is expected. 54 * <p>The confidence indicates whether the time is expected to be correct. The confidence can be 56 * asked to confirm the time. For example, during device set up low confidence would describe a 58 * moving it to a high confidence. 67 /** Used when confidence is low and would (ideally) be confirmed by a user. */ 71 * Used when confidence in the time is high and does not need to be confirmed by a user. 76 * The confidence in the current time. Android's time confidence is held in memory because RTC 78 * we can't assume the time is good, and so default it to "low" confidence until it is confirmed 108 * Sets the system clock time and confidence. See also {@link #setConfidence(int, String)} for 109 * an alternative that only sets the confidence. [all …]
|
/aosp_15_r20/external/licenseclassifier/stringclassifier/ |
H A D | classifier_test.go | 119 minConf float64 // the lowest confidence accepted for the match 120 maxConf float64 // the highest confidence we expect for this match 151 if got, want := m.Confidence, tt.minConf; got < want { 152 … t.Errorf("NearestMatch(%q) returned confidence %v, want minimum of %v", tt.description, got, want) 154 if got, want := m.Confidence, tt.maxConf; got > want { 164 // The confidence values are retrieved by simply running the classifier 168 minConf float64 // the lowest confidence accepted for the match 169 maxConf float64 // the highest confidence we expect for this match 291 if got, want := m.Confidence, w.minConf; got < want { 294 if got, want := m.Confidence, w.maxConf; got > want { [all …]
|
/aosp_15_r20/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/ |
D | videointelligence.v1p1beta1.json | 166 "confidence": { object 167 "description": "Detected attribute confidence. Range [0, 1].", 186 "confidence": { object 187 "description": "The confidence score of the detected landmark. Range [0, 1].", 390 "confidence": { object 391 "description": "Confidence that the label is accurate. Range: [0, 1].", 407 "confidence": { object 408 "description": "Confidence that the label is accurate. Range: [0, 1].", 506 "confidence": { object 507 "description": "Object category's labeling confidence of this track.", [all …]
|
D | videointelligence.v1p2beta1.json | 166 "confidence": { object 167 "description": "Detected attribute confidence. Range [0, 1].", 186 "confidence": { object 187 "description": "The confidence score of the detected landmark. Range [0, 1].", 390 "confidence": { object 391 "description": "Confidence that the label is accurate. Range: [0, 1].", 407 "confidence": { object 408 "description": "Confidence that the label is accurate. Range: [0, 1].", 506 "confidence": { object 507 "description": "Object category's labeling confidence of this track.", [all …]
|
D | videointelligence.v1beta2.json | 166 "confidence": { object 167 "description": "Detected attribute confidence. Range [0, 1].", 186 "confidence": { object 187 "description": "The confidence score of the detected landmark. Range [0, 1].", 390 "confidence": { object 391 "description": "Confidence that the label is accurate. Range: [0, 1].", 407 "confidence": { object 408 "description": "Confidence that the label is accurate. Range: [0, 1].", 506 "confidence": { object 507 "description": "Object category's labeling confidence of this track.", [all …]
|
D | videointelligence.v1p3beta1.json | 166 "confidence": { object 167 "description": "Detected attribute confidence. Range [0, 1].", 186 "confidence": { object 187 "description": "The confidence score of the detected landmark. Range [0, 1].", 390 "confidence": { object 391 "description": "Confidence that the label is accurate. Range: [0, 1].", 407 "confidence": { object 408 "description": "Confidence that the label is accurate. Range: [0, 1].", 506 "confidence": { object 507 "description": "Object category's labeling confidence of this track.", [all …]
|
D | videointelligence.v1.json | 447 "confidence": { object 448 "description": "Detected attribute confidence. Range [0, 1].", 467 "confidence": { object 468 "description": "The confidence score of the detected landmark. Range [0, 1].", 702 …"description": "The confidence threshold we perform filtering on the labels from frame-level detec… 731 …"description": "The confidence threshold we perform filtering on the labels from video-level and s… 742 "confidence": { object 743 "description": "Confidence that the label is accurate. Range: [0, 1].", 759 "confidence": { object 760 "description": "Confidence that the label is accurate. Range: [0, 1].", [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services/rekognition/src/main/resources/codegen-resources/ |
H A D | examples-1.json | 31 "Confidence": 99.9991226196289 number 43 "Confidence": 99.9991226196289 number 139 "Confidence": 100, number 206 "Confidence": 99.25072479248047, number 210 "Confidence": 99.25074005126953, number 251 "Confidence": 99.9991226196289, number 262 "Confidence": 99.9991226196289, number 309 "Confidence": 99.99950408935547, number 320 "Confidence": 99.99950408935547, number 408 "Confidence": 100, number [all …]
|
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/ |
D | documentai_v1beta3.projects.locations.processors.processorVersions.html | 334 … "confidence": 3.14, # Optional. Confidence of detected Schema entity. Range [0, 1]. 402 …"confidence": 3.14, # Optional. Confidence of detected page element, if applicable. Rang… 458 … "detectedLanguages": [ # A list of detected languages together with confidence. 460 "confidence": 3.14, # Confidence of detected language. Range [0, 1]. 479 …"confidence": 3.14, # Confidence of the current Layout within context of the object this… 505 "detectedLanguages": [ # A list of detected languages together with confidence. 507 "confidence": 3.14, # Confidence of detected language. Range [0, 1]. 535 …"confidence": 3.14, # Confidence of the current Layout within context of the object this… 562 …"confidence": 3.14, # Confidence of the current Layout within context of the object this… 574 …ot;nameDetectedLanguages": [ # A list of detected languages for name together with confidence. [all …]
|
D | documentai_v1beta3.projects.locations.processors.humanReviewConfig.html | 103 … "confidence": 3.14, # Optional. Confidence of detected Schema entity. Range [0, 1]. 171 …"confidence": 3.14, # Optional. Confidence of detected page element, if applicable. Rang… 227 … "detectedLanguages": [ # A list of detected languages together with confidence. 229 "confidence": 3.14, # Confidence of detected language. Range [0, 1]. 248 …"confidence": 3.14, # Confidence of the current Layout within context of the object this… 274 "detectedLanguages": [ # A list of detected languages together with confidence. 276 "confidence": 3.14, # Confidence of detected language. Range [0, 1]. 304 …"confidence": 3.14, # Confidence of the current Layout within context of the object this… 331 …"confidence": 3.14, # Confidence of the current Layout within context of the object this… 343 …ot;nameDetectedLanguages": [ # A list of detected languages for name together with confidence. [all …]
|
/aosp_15_r20/frameworks/av/services/camera/libcameraservice/common/ |
H A D | DepthPhotoProcessor.cpp | 78 // Depth samples with low confidence can skew the 243 std::vector<float> *confidence /*out*/, float *near /*out*/, float *far /*out*/) { in unpackDepth16() argument 246 // The confidence value is encoded in the 3 most significant bits. in unpackDepth16() 247 // The confidence data needs to be additionally normalized with in unpackDepth16() 248 // values 1.0f, 0.0f representing maximum and minimum confidence in unpackDepth16() 255 confidence->push_back(normConfidence); in unpackDepth16() 270 std::vector<float> *confidence /*out*/, float *near /*out*/, float *far /*out*/) { in rotate0AndUnpack() argument 274 confidence, near, far); in rotate0AndUnpack() 282 std::vector<float> *confidence /*out*/, float *near /*out*/, float *far /*out*/) { in rotate90AndUnpack() argument 286 confidence, near, far); in rotate90AndUnpack() [all …]
|
/aosp_15_r20/external/accessibility-test-framework/src/main/java/com/google/android/apps/common/testing/accessibility/framework/ocr/ |
H A D | TextComponent.java | 25 private final @Nullable Float confidence; field in TextComponent 33 @Nullable Float confidence, in TextComponent() argument 38 this.confidence = confidence; in TextComponent() 46 this.confidence = proto.hasConfidence() ? proto.getConfidence() : null; in TextComponent() 73 * Returns the confidence score of the recognized text, or {@code null} if the information is not 76 * <p>The value of the confidence score is between 0.0 and 1.0. 79 return confidence; in getConfidence() 103 && Objects.equals(confidence, that.getConfidence()) in equals() 109 return Objects.hash(value, boundsInScreen, language, confidence, components); in hashCode() 126 if (confidence != null) { in toProto() [all …]
|