mesmer.stats.LinearRegression#
- class mesmer.stats.LinearRegression#
- __init__()#
Ordinary least squares Linear Regression for xarray objects.
Methods
__init__()Ordinary least squares Linear Regression for xarray objects.
fit(predictors, target, dim[, weights, ...])Fit a linear model
from_netcdf(filename, **kwargs)read params from a netCDF file
from_params(params)initialize LinearRegression class using parameters
predict(predictors, *[, exclude, only])Predict using the linear model.
residuals(predictors, target)Calculate the residuals of the fitted linear model
to_netcdf(filename, **kwargs)save params to a netCDF file
Attributes
paramsThe parameters of this estimator.