model
Model implementation for negotiation card artifact.
DataDescriptor
Bases: BaseModel
Describes a dataset used in model development.
Source code in mlte/negotiation/model.py
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 | |
access = None
class-attribute
instance-attribute
A description of the manner in which this data is accessed.
classification = ''
class-attribute
instance-attribute
A description of the data classification level. Selected from classification custom list.
description = None
class-attribute
instance-attribute
A description of the dataset.
fields = []
class-attribute
instance-attribute
A description of the dataset schema.
labeling_method = None
class-attribute
instance-attribute
A description of how the data was labeled.
labels = []
class-attribute
instance-attribute
A description of the labels that appear in the dataset.
policies = None
class-attribute
instance-attribute
A description of the policies that govern use of this data.
purpose = None
class-attribute
instance-attribute
A description of the purpose of the dataset.
rights = None
class-attribute
instance-attribute
A description of the ways in which the data can / cannot be used.
source = None
class-attribute
instance-attribute
A description of the data source.
FieldDescriptor
Bases: BaseModel
Describes a dataset field.
Source code in mlte/negotiation/model.py
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
description = None
class-attribute
instance-attribute
A description of the field.
expected_values = None
class-attribute
instance-attribute
An example of expected values for the field.
missing_values = None
class-attribute
instance-attribute
An example of missing values for the field.
name = None
class-attribute
instance-attribute
The name of the field.
special_values = None
class-attribute
instance-attribute
An example of special values for the field.
type = None
class-attribute
instance-attribute
A description of the field type.
GoalDescriptor
Bases: BaseModel
A description of a system goal.
Source code in mlte/negotiation/model.py
26 27 28 29 30 31 32 33 | |
description = None
class-attribute
instance-attribute
A description of the goal.
metrics = []
class-attribute
instance-attribute
A collection of metrics related to the goal.
LabelDescriptor
Bases: BaseModel
Describes a dataset label.
Source code in mlte/negotiation/model.py
110 111 112 113 114 115 116 117 118 119 120 | |
description = None
class-attribute
instance-attribute
A description of the label.
name = None
class-attribute
instance-attribute
The name of the label.
percentage = None
class-attribute
instance-attribute
The relative frequency with which the label occurs in the dataset.
MetricDescriptor
Bases: BaseModel
A description of a metric that supports a system goal.
Source code in mlte/negotiation/model.py
16 17 18 19 20 21 22 23 | |
baseline = None
class-attribute
instance-attribute
A description of the metric baseline value.
description = None
class-attribute
instance-attribute
A description of the metric.
ModelDescriptor
Bases: BaseModel
A descriptor for the model.
Source code in mlte/negotiation/model.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | |
capability_deployment_mechanism = None
class-attribute
instance-attribute
A description of how the model capabilities will be made available.
deployment_platform = None
class-attribute
instance-attribute
A description of the platform used to deploy the model into the system.
development_compute_resources = ModelResourcesDescriptor()
class-attribute
instance-attribute
A description of model development resource requirements.
input_specification = []
class-attribute
instance-attribute
The model input specification.
model_source = None
class-attribute
instance-attribute
A description of where the model came from.
output_specification = []
class-attribute
instance-attribute
The model output specification.
production_compute_resources = ModelResourcesDescriptor()
class-attribute
instance-attribute
A description of model production resource requirements.
ModelIODescriptor
Bases: BaseModel
A description of the model input or output specification.
Source code in mlte/negotiation/model.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 | |
description = None
class-attribute
instance-attribute
A textual description of the input or output.
expected_values = None
class-attribute
instance-attribute
Expected values for this input or output.
name = None
class-attribute
instance-attribute
A name for the input or output.
type = None
class-attribute
instance-attribute
A description of the type of data for this input or output.
ModelResourcesDescriptor
Bases: BaseModel
A descriptor for model resource requirements.
Source code in mlte/negotiation/model.py
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | |
cpu = None
class-attribute
instance-attribute
A description of model CPU requirements.
gpu = None
class-attribute
instance-attribute
A description of model GPU requirements.
gpu_memory = None
class-attribute
instance-attribute
A description of model GPU memory requirements.
main_memory = None
class-attribute
instance-attribute
A description of model memory (RAM) requirements.
storage = None
class-attribute
instance-attribute
A description of model storage requirements.
NegotiationCardModel
Bases: BaseModel
The model implementation for the NegotiationCard artifact.
Source code in mlte/negotiation/model.py
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | |
artifact_type = ArtifactType.NEGOTIATION_CARD
class-attribute
instance-attribute
Union discriminator.
data = []
class-attribute
instance-attribute
A collection of descriptors for relevant data.
model = ModelDescriptor()
class-attribute
instance-attribute
The descriptor for the model.
system = SystemDescriptor()
class-attribute
instance-attribute
The descriptor for the system in which the model is integrated.
system_requirements = []
class-attribute
instance-attribute
The descriptor of the system-level quality requirements.
SystemDescriptor
Bases: BaseModel
A description of the system context.
Source code in mlte/negotiation/model.py
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | |
goals = []
class-attribute
instance-attribute
A description of system goals.
problem_type = ''
class-attribute
instance-attribute
A description of the machine learning problem type. Selected from problem types custom list.
risks = []
class-attribute
instance-attribute
A description of risks associated with system failures.
task = None
class-attribute
instance-attribute
A description of the machine learning task.
usage_context = None
class-attribute
instance-attribute
A description of the usage context.