#[repr(u16)]pub enum DatasetType {
Show 26 variants
Tabular = 1,
TimeSeries = 2,
Graph = 3,
Spatial = 4,
TextCorpus = 16,
TextClassification = 17,
TextPairs = 18,
SequenceLabeling = 19,
QuestionAnswering = 20,
Summarization = 21,
Translation = 22,
ImageClassification = 32,
ObjectDetection = 33,
Segmentation = 34,
ImagePairs = 35,
Video = 36,
AudioClassification = 48,
SpeechRecognition = 49,
SpeakerIdentification = 50,
UserItemRatings = 64,
ImplicitFeedback = 65,
SequentialRecs = 66,
ImageText = 80,
AudioText = 81,
VideoText = 82,
Custom = 255,
}Expand description
Dataset type identifiers (§3.1)
Variants§
Tabular = 1
Generic columnar data
TimeSeries = 2
Temporal sequences
Graph = 3
Node/edge structures
Spatial = 4
Geospatial coordinates
TextCorpus = 16
Raw text documents
TextClassification = 17
Labeled text
TextPairs = 18
Sentence pairs (NLI, STS)
SequenceLabeling = 19
Token-level labels (NER)
QuestionAnswering = 20
QA datasets (SQuAD-style)
Summarization = 21
Document + summary pairs
Translation = 22
Parallel corpora
ImageClassification = 32
Images + class labels
ObjectDetection = 33
Images + bounding boxes
Segmentation = 34
Images + pixel masks
ImagePairs = 35
Image matching/similarity
Video = 36
Sequential frames
AudioClassification = 48
Audio + class labels
SpeechRecognition = 49
Audio + transcripts (ASR)
SpeakerIdentification = 50
Audio + speaker labels
UserItemRatings = 64
Collaborative filtering
ImplicitFeedback = 65
Click/view interactions
SequentialRecs = 66
Session-based sequences
ImageText = 80
Image captioning/VQA
AudioText = 81
Speech-to-text pairs
VideoText = 82
Video descriptions
Custom = 255
User extensions
Implementations§
Trait Implementations§
Source§impl Clone for DatasetType
impl Clone for DatasetType
Source§fn clone(&self) -> DatasetType
fn clone(&self) -> DatasetType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DatasetType
impl Debug for DatasetType
Source§impl<'de> Deserialize<'de> for DatasetType
impl<'de> Deserialize<'de> for DatasetType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DatasetType
impl PartialEq for DatasetType
Source§impl Serialize for DatasetType
impl Serialize for DatasetType
impl Copy for DatasetType
impl Eq for DatasetType
impl StructuralPartialEq for DatasetType
Auto Trait Implementations§
impl Freeze for DatasetType
impl RefUnwindSafe for DatasetType
impl Send for DatasetType
impl Sync for DatasetType
impl Unpin for DatasetType
impl UnsafeUnpin for DatasetType
impl UnwindSafe for DatasetType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.