Prediction class
The output from a Predict operation:
-
Details- Contains the following attributes:DetailsAttributes.PREDICTIVE_MODEL_TYPE - REGRESSION | BINARY | MULTICLASSDetailsAttributes.ALGORITHM - SGD -
PredictedLabel- Present for either aBINARYorMULTICLASSMLModelrequest. -
PredictedScores- Contains the raw classification score corresponding to each label. -
PredictedValue- Present for aREGRESSIONMLModelrequest.
Constructors
-
Prediction({Map<
DetailsAttributes, String> ? details, String? predictedLabel, Map<String, double> ? predictedScores, double? predictedValue}) -
Prediction.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
details
→ Map<
DetailsAttributes, String> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- predictedLabel → String?
-
The prediction label for either a
BINARYorMULTICLASSMLModel.final -
predictedScores
→ Map<
String, double> ? -
final
- predictedValue → double?
-
The prediction value for
REGRESSIONMLModel.final - 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited