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

Indicates a numerical feature

Indicates a textual feature that will be tokenized. Use Keyword if you don't want tokenization.

Indicates a non-tokenized textual feature. A list can be used to supply multiple keywords as a feature value

Indicates a list of non-tokenized keywords.

Indicates a feature value that is a URL

Indicates a feature value that is a binary image encoded with Base64

Trait Implementations

impl Debug for FeatureType
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for FeatureType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for FeatureType

impl Sync for FeatureType