{methods}
func {method_name} (features []float64) int {{
	var classes [{n_classes}]int
	n_classes := {n_classes}

	{method_calls}

	class_idx := 0;
	class_val := classes[0]
	for i := 1; i < n_classes; i++ {{
		if classes[i] > class_val {{
			class_idx = i
			class_val = classes[i]
		}}
	}}
	return class_idx
}}