Back to main page

Score

Concept:

Score expression resolves to a numeric score value or probability. In Aito: all scores can be used in both highlights ($highlight) and explanations ($why)

Format:

    PlainProbability | 
    PlainLift | 
    decimal | 
    PlainSimilarity | 
    string | 
    $hit | 
    $p | 
    $lift | 
    $similarity | 
    $multiply | 
    $sum | 
    $pow

See also:

Example 1:

    2.0

Example 2:

    "myBoostField"

Example 3:

    "product.margin"

Example 4:

    "$p"

Example 5:

    "$similarity"

Example 6:

    {"$multiply":["$p", "margin" ] }