pub enum TimeSeriesModel {
LSTM {
hidden_size: usize,
num_layers: usize,
bidirectional: bool,
},
GRU {
hidden_size: usize,
num_layers: usize,
bidirectional: bool,
},
Transformer {
d_model: usize,
nhead: usize,
num_layers: usize,
positional_encoding: bool,
},
Conv1D {
channels: Vec<usize>,
kernel_sizes: Vec<usize>,
dilations: Vec<usize>,
},
HybridCNNRNN {
cnn_channels: Vec<usize>,
rnn_hidden_size: usize,
rnn_layers: usize,
},
}Expand description
Time series model types
Variants§
LSTM
LSTM-based model
GRU
GRU-based model
Transformer
Transformer-based model
Conv1D
Conv1D-based model
HybridCNNRNN
Hybrid CNN-RNN model
Trait Implementations§
Source§impl Clone for TimeSeriesModel
impl Clone for TimeSeriesModel
Source§fn clone(&self) -> TimeSeriesModel
fn clone(&self) -> TimeSeriesModel
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 moreAuto Trait Implementations§
impl Freeze for TimeSeriesModel
impl RefUnwindSafe for TimeSeriesModel
impl Send for TimeSeriesModel
impl Sync for TimeSeriesModel
impl Unpin for TimeSeriesModel
impl UnwindSafe for TimeSeriesModel
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<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