ModelDescriptionMessage class
Mirrors MLModelDescription.
Constructors
-
ModelDescriptionMessage({required List<
FeatureDescriptionMessage> inputs, required List<FeatureDescriptionMessage> outputs, required List<FeatureDescriptionMessage> states, required List<FeatureDescriptionMessage> trainingInputs, String? predictedFeatureName, String? predictedProbabilitiesName, List<String> ? classLabelStrings, List<int> ? classLabelInts, required bool isUpdatable, required ModelMetadataMessage metadata})
Properties
-
classLabelInts
↔ List<
int> ? -
Set when the model has int64 class labels.
getter/setter pair
-
classLabelStrings
↔ List<
String> ? -
Set when the model has string class labels.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
-
inputs
↔ List<
FeatureDescriptionMessage> -
getter/setter pair
- isUpdatable ↔ bool
-
getter/setter pair
- metadata ↔ ModelMetadataMessage
-
getter/setter pair
-
outputs
↔ List<
FeatureDescriptionMessage> -
getter/setter pair
- predictedFeatureName ↔ String?
-
getter/setter pair
- predictedProbabilitiesName ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
states
↔ List<
FeatureDescriptionMessage> -
getter/setter pair
-
trainingInputs
↔ List<
FeatureDescriptionMessage> -
getter/setter pair
Methods
-
encode(
) → Object -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
decode(
Object result) → ModelDescriptionMessage