Applesauce
    Preparing search index...

    Type Alias NspamModel

    A parsed nspam LightGBM model and its isotonic calibration table

    type NspamModel = {
        bias: number;
        calibX: Float64Array;
        calibY: Float64Array;
        feature: Int32Array;
        leafOffset: Int32Array;
        leafValue: Float64Array;
        left: Int32Array;
        right: Int32Array;
        roots: Int32Array;
        threshold: Float64Array;
    }
    Index
    bias: number

    The summed output of single-leaf trees

    calibX: Float64Array
    calibY: Float64Array
    feature: Int32Array

    The feature index each node splits on

    leafOffset: Int32Array

    The index of each tree's first leaf

    leafValue: Float64Array
    left: Int32Array

    Child node offsets within the tree, negative values are bitwise-inverted leaf indexes

    right: Int32Array
    roots: Int32Array

    The index of each tree's root node

    threshold: Float64Array