Enum xgboost::FeatureType [−][src]
pub enum FeatureType { Binary, Quantitative, Integer, }
Indicates the type of a feature, used when dumping models as text.
Variants
Binary
Binary indicator feature.
Quantitative
Quantitative feature (e.g. age, time, etc.), can be missing.
Integer
Integer feature (when hinted, decision boundary will be integer).
Trait Implementations
impl FromStr for FeatureType
[src]
impl FromStr for FeatureType
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl Display for FeatureType
[src]
impl Display for FeatureType
Auto Trait Implementations
impl Send for FeatureType
impl Send for FeatureType
impl Sync for FeatureType
impl Sync for FeatureType