All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.signaflo.data.regression.MultipleRegressionBuilder Maven / Gradle / Ivy

package com.github.signaflo.data.regression;

/**
 * A builder for a multiple linear regression model.
 *
 * @author Jacob Rachiele
 * Aug. 07, 2017
 */
public interface MultipleRegressionBuilder extends RegressionBuilder {

    /**
     * Copy the attributes of the given regression object to this builder and return this builder.
     *
     * @param regression the object to copy the attributes from.
     * @return this builder.
     */
    MultipleRegressionBuilder from(MultipleLinearRegression regression);

    @Override
    MultipleRegressionBuilder hasIntercept(boolean hasIntercept);

    @Override
    MultipleRegressionBuilder response(double... response);

    MultipleRegressionBuilder predictors(double[]... predictors);

    @Override
    MultipleLinearRegression build();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy