class {class_name} {{

    {class_head}

    {method}

    public static void main(String[] args) {{
        if (args.length == {n_features}) {{

            // Features:
            double[] features = new double[args.length];
            for (int i = 0, l = args.length; i < l; i++) {{
                features[i] = Double.parseDouble(args[i]);
            }}

            // Parameters:
            {coefficients}
            {intercepts}

            // Prediction:
            {class_name} clf = new {class_name}(coefficients, intercepts);
            int estimation = clf.{method_name}(features);
            System.out.println(estimation);

        }}
    }}
}}