public interface ExplanationParams
Modifier and Type | Interface and Description |
---|---|
static interface |
ExplanationParams.FeatureImpact<T>
Interface for feature impact.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ExplanationParams.FeatureImpact<?>> |
getFeatureImpact()
Getter for feature impact.
|
int |
getMaxCodes()
Getter for the max number of explanations to return.
|
double |
getThresholdHigh()
Getter for high threshold.
|
double |
getThresholdLow()
Getter for low threshold.
|
Explanation.ExplanationType |
getType()
Getter for the type of explanations.
|
ExplanationParams |
withFeatureImpact(Map<String,ExplanationParams.FeatureImpact<?>> featureImpact)
Setter for the feature impact.
|
ExplanationParams |
withMaxCodes(int value)
Setter for max codes.
|
ExplanationParams |
withThresholdHigh(double value)
Setter for high threshold.
|
ExplanationParams |
withThresholdLow(double value)
Setter for low threshold.
|
ExplanationParams |
withType(Explanation.ExplanationType type)
Setter for the type of explanations
|
double getThresholdLow()
ExplanationParams withThresholdLow(double value)
value
- low threshold.double getThresholdHigh()
ExplanationParams withThresholdHigh(double value)
value
- high threshold.int getMaxCodes()
ExplanationParams withMaxCodes(int value)
value
- max codes.Explanation.ExplanationType getType()
ExplanationParams withType(Explanation.ExplanationType type)
type
- type of explanations.Map<String,ExplanationParams.FeatureImpact<?>> getFeatureImpact()
ExplanationParams withFeatureImpact(Map<String,ExplanationParams.FeatureImpact<?>> featureImpact)
featureImpact
- feature impact.Copyright © 2021. All rights reserved.