Dataset class

A dataset that hosts the examples (sentence pairs) used for translation models.

Constructors

Dataset({String? createTime, String? displayName, int? exampleCount, String? name, String? sourceLanguageCode, String? targetLanguageCode, int? testExampleCount, int? trainExampleCount, String? updateTime, int? validateExampleCount})
Dataset.fromJson(Map json_)

Properties

createTime String?
Timestamp when this dataset was created.
getter/setter pair
displayName String?
The name of the dataset to show in the interface.
getter/setter pair
exampleCount int?
The number of examples in the dataset.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The resource name of the dataset, in form of projects/{project-number-or-id}/locations/{location_id}/datasets/{dataset_id}
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceLanguageCode String?
The BCP-47 language code of the source language.
getter/setter pair
targetLanguageCode String?
The BCP-47 language code of the target language.
getter/setter pair
testExampleCount int?
Number of test examples (sentence pairs).
getter/setter pair
trainExampleCount int?
Number of training examples (sentence pairs).
getter/setter pair
updateTime String?
Timestamp when this dataset was last updated.
getter/setter pair
validateExampleCount int?
Number of validation examples (sentence pairs).
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited