目录

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  

Public Method Summary

Return typeMethod name
booleanequals(Object object)
intgetLargestNumOfReturns()
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 int getLargestNumOfReturns()
Obtains the maximum number of classifications from the analyzer.

Return

Typedesc
intReturns the maximum number of classifications.
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.