class {class_name} {{

    private double[] priors;
    private double[][] negProbs;
    private double[][] delProbs;

    public {class_name}(double[] priors, double[][] negProbs, double[][] delProbs) {{
        this.priors = priors;
        this.negProbs = negProbs;
        this.delProbs = delProbs;
    }}

    {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:
            final {priors}
            final {neg_probs}
            final {del_probs}

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

        }}
    }}
}}