mistk.model.server.models.model_instance_init_params module

class mistk.model.server.models.model_instance_init_params.ModelInstanceInitParams(objectives: List[str] = None, model_properties: object = None, hyperparameters: object = None)

Bases: mistk.model.server.models.base_model_.Model

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

classmethod from_dict(dikt) → mistk.model.server.models.model_instance_init_params.ModelInstanceInitParams

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The ModelInstanceInitParams of this ModelInstanceInitParams. # noqa: E501

Return type

ModelInstanceInitParams

property hyperparameters

Gets the hyperparameters of this ModelInstanceInitParams.

A dictionary of hyperparameters that are used by the model. Hyperparameters are typically defined by the algorithm that a model is based on. # noqa: E501

Returns

The hyperparameters of this ModelInstanceInitParams.

Return type

object

property model_properties

Gets the model_properties of this ModelInstanceInitParams.

A dictionary of settings or configuration values that are passed from the ecosystem, but are not considered model hyperparameters. Model properties are typically defined by a specific implementation of an algorithm (ie. a PyTorch implementation of Densenet may have different properties than a Tensorflow implementation). # noqa: E501

Returns

The model_properties of this ModelInstanceInitParams.

Return type

object

property objectives

Gets the objectives of this ModelInstanceInitParams.

The objectives inform the model how it will be used while running # noqa: E501

Returns

The objectives of this ModelInstanceInitParams.

Return type

List[str]