class {class_name} {{

    private double[] priors;
    private double[][] sigmas;
    private double[][] thetas;

    public {class_name}(double[] priors, double[][] sigmas, double[][] thetas) {{
        this.priors = priors;
        this.sigmas = sigmas;
        this.thetas = thetas;
    }}

    {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:
            {priors}
            {sigmas}
            {thetas}

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

        }}
    }}
}}