pub struct CsvSensorDataset { /* private fields */ }Expand description
A dataset loaded from a CSV file.
Expected CSV schema:
col_0, col_1, ..., col_33, caption
<f32>, <f32>, ..., <f32>, "The person is walking..."There must be exactly T × C numeric columns followed by a caption
string column. If your CSV has one row per time-step, pre-aggregate to
one row per sample before loading.
Implementations§
Trait Implementations§
Source§impl Dataset<SensorTextItem> for CsvSensorDataset
impl Dataset<SensorTextItem> for CsvSensorDataset
Source§fn iter(&self) -> DatasetIterator<'_, I>where
Self: Sized,
fn iter(&self) -> DatasetIterator<'_, I>where
Self: Sized,
Returns an iterator over the dataset.
Auto Trait Implementations§
impl Freeze for CsvSensorDataset
impl RefUnwindSafe for CsvSensorDataset
impl Send for CsvSensorDataset
impl Sync for CsvSensorDataset
impl Unpin for CsvSensorDataset
impl UnsafeUnpin for CsvSensorDataset
impl UnwindSafe for CsvSensorDataset
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> 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 more