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
Replace all attributes with another list.
Replace all attributes with another list.
list of attributes used to replace existing attributes
copy of model with attributes set to the given list
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
Add an attribute to the model.
Add an attribute to the model.
attribute to add
copy of the model with attribute appended
Add attributes from an attribute list to the model.
Add attributes from an attribute list to the model.
list of attributes to add
copy of the model with all attributes appended
Trait for a writable interface to a Model.
Use this trait during serialization of Model objects.