def self.{name} (atts)

    {coefficients}
    {intercepts}

    prob = 0
    for i in 0 ... {n_features}
        prob += coefs[i] * atts[i].to_f
    end
    if prob + inters > 0
        return 1
    end
    return 0

end