types.model
ModelServer Objects
class ModelServer(EnumSpec)
Model server to use for deployment
ModelFramework Objects
class ModelFramework(EnumSpec)
Framework used to train the model
TrainingContext Objects
class TrainingContext()
Context of the model request.
features_and_labels
def features_and_labels() -> pd.DataFrame
Get the features and labels for the model
ModelSpec Objects
class ModelSpec(RaptorSpec)
Specification of a model
Arguments:
keys
: List of keys to use for trainingfreshness
: How fresh the data should bestaleness
: How stale the data can betimeout
: How long to wait for datafeatures
: List of features to use for traininglabel_features
: List of label features to use for trainingkey_feature
: Feature to use as keymodel_framework
: Framework used to train the modelmodel_server
: Model server to use for deploymenttraining_function
: Function to use for trainingexporter
: Exporter to use for exporting the modelmodel_framework_version
: Version of the model frameworkruntime
: Runtime to use for training