Class TrainingData
- java.lang.Object
-
- io.datahubproject.openapi.generated.TrainingData
-
- All Implemented Interfaces:
OneOfEnvelopedAspectValue
,OneOfGenericAspectValue
,OneOfMLModelSnapshotAspectsItems
,OneOfVersionedAspectAspect
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-03-16T12:22:36.923004Z[Etc/UTC]") public class TrainingData extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValue, OneOfMLModelSnapshotAspectsItems, OneOfVersionedAspectAspect
Ideally, the MLModel card would contain as much information about the training data as the evaluation data. However, there might be cases where it is not feasible to provide this level of detailed information about the training data. For example, the data may be proprietary, or require a non-disclosure agreement. In these cases, we advocate for basic details about the distributions over groups in the data, as well as any other details that could inform stakeholders on the kinds of biases the model may have encoded.
-
-
Constructor Summary
Constructors Constructor Description TrainingData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrainingData
addTrainingDataItem(BaseData trainingDataItem)
boolean
equals(java.lang.Object o)
@NotNull java.lang.String
get__type()
Name of this subclass in SimpleClassName format@NotNull @Valid java.util.List<BaseData>
getTrainingData()
Details on the dataset(s) used for training the MLModelint
hashCode()
void
setTrainingData(java.util.List<BaseData> trainingData)
java.lang.String
toString()
TrainingData
trainingData(java.util.List<BaseData> trainingData)
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
trainingData
public TrainingData trainingData(java.util.List<BaseData> trainingData)
-
addTrainingDataItem
public TrainingData addTrainingDataItem(BaseData trainingDataItem)
-
getTrainingData
@NotNull @Valid public @NotNull @Valid java.util.List<BaseData> getTrainingData()
Details on the dataset(s) used for training the MLModel- Returns:
- trainingData
-
setTrainingData
public void setTrainingData(java.util.List<BaseData> trainingData)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-