From c81cc20be0af3aedbf71063df82b63a40e72b217 Mon Sep 17 00:00:00 2001 From: Dimitris Tsapetis Date: Thu, 9 May 2024 20:10:15 +0200 Subject: [PATCH] Removes deprecated argument from Lars input parameters --- .../polynomial_chaos/regressions/LeastAngleRegression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UQpy/surrogates/polynomial_chaos/regressions/LeastAngleRegression.py b/src/UQpy/surrogates/polynomial_chaos/regressions/LeastAngleRegression.py index 0d008b3f..d2d732aa 100644 --- a/src/UQpy/surrogates/polynomial_chaos/regressions/LeastAngleRegression.py +++ b/src/UQpy/surrogates/polynomial_chaos/regressions/LeastAngleRegression.py @@ -45,7 +45,7 @@ def run(self, x: np.ndarray, y: np.ndarray, design_matrix: np.ndarray): n_samples, inputs_number = x.shape reg = regresion.Lars(fit_intercept=self.fit_intercept, verbose=self.verbose, - n_nonzero_coefs=self.n_nonzero_coefs, normalize=self.normalize) + n_nonzero_coefs=self.n_nonzero_coefs) reg.fit(design_matrix, y) # LarsBeta = reg.coef_path_