Enum machinebox::suggestionbox::FeatureType
[−]
[src]
pub enum FeatureType { Number, Text, Keyword, List, ImageURL, ImageBase64, }
Tells suggestionbox how to treat the feature value when making predictions
Variants
Number
Indicates a numerical feature
Text
Indicates a textual feature that will be tokenized. Use Keyword
if you don't want
tokenization.
Keyword
Indicates a non-tokenized textual feature. A list
can be used to supply multiple
keywords as a feature value
List
Indicates a list of non-tokenized keywords.
ImageURL
Indicates a feature value that is a URL
ImageBase64
Indicates a feature value that is a binary image encoded with Base64
Trait Implementations
impl Debug for FeatureType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for FeatureType
[src]
fn clone(&self) -> FeatureType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more