int {name} (float atts[{n_features}]) {{

    {coefficients}
    {intercepts}

    int i;
    double prob = 0.;
    for (i = 0; i < {n_features}; i++) {{
        prob += coefs[i] * atts[i];
    }}
    if (prob + inters > 0) {{
        return 1;
    }}
    return 0;
}}