| class info |
| com.huawei.hms.mlsdk.classification.MLRemoteClassificationAnalyzerSetting |
| Represents the image classification configurator, which sets the attributes of the on-cloud image classification analyzer. The attributes of the on-cloud image classification analyzer include: 1. Confidence threshold 2. Whether to enable certificate fingerprint verification |
| Return type | Method name |
| boolean | equals(Object object) |
| int | getLargestNumOfReturns() |
| float | getMinAcceptablePossibility() |
| int | hashCode() |
| Method |
| public boolean equals(Object object) |
| Determines whether the input instance is equal to the current instance. |
Parameters
| Parameter name | Parameter desc |
| object | Instance to be compared. |
Return
| Type | desc |
| boolean | true: The instances are equal. false: The instances are not equal. |
| Method |
| public int getLargestNumOfReturns() |
| Obtains the maximum number of classifications from the analyzer. |
Return
| Type | desc |
| int | Returns the maximum number of classifications. |
| Method |
| public float getMinAcceptablePossibility() |
| Obtains the confidence threshold. |
Return
| Type | desc |
| float | Returns the confidence threshold. The value range is 0.0–1.0 (default value: 0.5). Classifications whose confidence is lower than the threshold will be filtered out. |
| Method |
| public int hashCode() |
| Obtains the hash value of the current instance. |
Return
| Type | desc |
| int | Hash value of the instance. |