目录

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.

Public Method Summary

Return typeMethod name
booleanequals(Object object)
floatgetMinAcceptablePossibility()
inthashCode()

Public Methods

Method
public boolean equals(Object object)
Determines whether the input instance is equal to the current instance.

Parameters

Parameter nameParameter desc
objectInstance to be compared.


Return

Typedesc
booleantrue: The instances are equal.
false: The instances are not equal.
Method
public float getMinAcceptablePossibility()
Obtains the confidence threshold.

Return

Typedesc
floatReturns 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

Typedesc
intHash value of the instance.