Explanation class final
Explanation of a prediction (provided in
PredictResponse.predictions)
produced by the Model on a given
instance.
- Inheritance
-
- Object
- ProtoMessage
- Explanation
Constructors
-
Explanation({List<
Attribution> attributions = const [], List<Neighbor> neighbors = const []}) - Explanation.fromJson(Object? j)
-
factory
Properties
-
attributions
→ List<
Attribution> -
Output only. Feature attributions grouped by predicted outputs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
neighbors
→ List<
Neighbor> -
Output only. List of the nearest neighbors for example-based explanations.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String