pub enum ModelType {
Show 13 variants
RandomForest,
GradientBoosting,
XGBoost,
LightGBM,
SVM,
LogisticRegression,
NeuralNetwork,
KNN,
NaiveBayes,
LinearRegression,
Ridge,
Lasso,
ElasticNet,
}Expand description
Model type for AutoML
Variants§
RandomForest
GradientBoosting
XGBoost
LightGBM
SVM
LogisticRegression
NeuralNetwork
KNN
NaiveBayes
LinearRegression
Ridge
Lasso
ElasticNet
Implementations§
Source§impl ModelType
impl ModelType
Sourcepub fn classification_models() -> Vec<ModelType>
pub fn classification_models() -> Vec<ModelType>
Get all classification models
Sourcepub fn regression_models() -> Vec<ModelType>
pub fn regression_models() -> Vec<ModelType>
Get all regression models
Sourcepub fn default_hyperparameters(&self) -> HashMap<String, ParameterSpace>
pub fn default_hyperparameters(&self) -> HashMap<String, ParameterSpace>
Get default hyperparameter space for this model
Trait Implementations§
impl Copy for ModelType
impl Eq for ModelType
impl StructuralPartialEq for ModelType
Auto Trait Implementations§
impl Freeze for ModelType
impl RefUnwindSafe for ModelType
impl Send for ModelType
impl Sync for ModelType
impl Unpin for ModelType
impl UnwindSafe for ModelType
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