Get a specific attribute by name.
Get a specific attribute by name.
Throws an error if the attribute does not exist.
name of the attribute
the attribute
Get list of attributes for this model.
Get list of attributes for this model.
optional list read-only attribute list
Convert the Model to a protobuf serializable object.
Convert the Model to a protobuf serializable object.
serialization context for encoding custom values
protobuf model definition
Get an optional attribute by name.
Get an optional attribute by name.
name of the attribute
an optional attribute
Get an optional value for an attribute.
Get an optional value for an attribute.
name of the attribute
optional value of the attribute
Get the op name for this model.
Get the op name for this model.
The op name defines what the model actually is. It corresponds to an entry for a ml.combust.bundle.op.OpNode in a ml.combust.bundle.serializer.BundleRegistry.
ml.combust.bundle.op.OpModel have all methods and data needed to serialize a model for a given op name.
Examples are "linear_regression", "string_indexer", "random_forest_classifier", etc.
op name
Get the value of an attribute.
Get the value of an attribute.
Throws an error if the attribute does not exist.
name of the attribute
value of the attribute
Trait for read-only operations on a Model.
Use this trait to expose a read-only interface to a Model. This is primarily used when deserializing.