| class info |
| com.huawei.hms.mlsdk.classification.MLLocalClassificationAnalyzerSetting |
| Represents the image classification configurator, which sets the attributes of the on-device image classification analyzer. The only attribute of the on-device image classification analyzer is the confidence threshold. |
| Return type | Method name |
| boolean | equals(Object object) |
| 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 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. |