class LinearRegressionModel implements IgniteModel<Vector, Double>, Exportable<LinearRegressionModel>, Serializable {

    @Override public Double predict(Vector input) {
        return input.dot(weights) + intercept;
    }

    public  LinearRegressionModel(Vector weights, double intercept);

}