func {name}(atts []float64) int {{

	if len(atts) != len(coefs[0]) {{
		return -1
	}}

	{coefficients}
	{intercepts}

	var prob float64
	for i := 0; i < len(coefs); i++ {{
		prob = prob + coefs[i]*atts[i]
	}}
	if (prob + inters) > 0 {{
		return 1
	}}
	return 0
}}