Feature

JSON representation
{
  "name": string,
  "booleanValue": boolean,
  "doubleValue": number,
  "stringValues": [
    string
  ],
  "int64Value": string,
  "featureCount": string,
  "integerValue": integer,
  "timestampSequences": [
    string
  ]
}
Fields
name

string

booleanValue

boolean

Exactly one of the following should be filled in.

doubleValue

number

stringValues[]

string

int64Value

string (int64 format)

Useful for timestamps, or for numerical features where it is helpful for decision scripts to have exact values.

featureCount

string (int64 format)

Useful for applications that need to know how many times a specific feature occurs

integerValue

integer

integer value field is deprecated and shall only be used for passing the following features hardcoded in spamiam::SpamIAmMessage: spamiam::OrkutSenderId spamiam::OrkutPostnumReports spamiam::BloggerNumComments spamiam::BloggerNumCommentsByOthers Another hard-coded spamiam feature is spamiam::BlogName, which can be specified via string value.

timestampSequences[]

string (int64 format)

This field should only be used to store a sequence of timestamps associated with the feature.