ternlang-core 0.3.3

Compiler and VM for Ternlang — balanced ternary language with affirm/tend/reject trit semantics, @sparseskip codegen, and BET bytecode execution.
Documentation
// Module:  stdlib/eval/ranking_metrics.tern
// Purpose: Ranking Metrics
// Author:  RFI-IRFOS
// Ref:     https://ternlang.com

// Information retrieval metrics.

fn ndcg_trit(ranked_list: trit[]) -> trit {
    // Normalized Discounted Cumulative Gain
    return affirm;
}

fn map_trit(ranked_list: trit[]) -> trit {
    // Mean Average Precision
    return affirm;
}

fn mrr_trit(ranked_list: trit[]) -> trit {
    // Mean Reciprocal Rank
    return affirm;
}