var {class_name} = function(priors, sigmas, thetas) {{

    this.priors = priors;
    this.sigmas = sigmas;
    this.thetas = thetas;

    {method}

}};

if (typeof process !== 'undefined' && typeof process.argv !== 'undefined') {{
    if (process.argv.length - 2 === {n_features}) {{

        // Features:
        var features = process.argv.slice(2);

        // Parameters:
        {priors}
        {sigmas}
        {thetas}

        // Estimator:
        var clf = new {class_name}(priors, sigmas, thetas);
        var prediction = clf.{method_name}(features);
        console.log(prediction);

    }}
}}