private double[][] coefficients;
private double[] intercepts;

public {class_name}(double[][] coefficients, double[] intercepts) {{
    this.coefficients = coefficients;
    this.intercepts = intercepts;
}}