Skip to content

Commit

Permalink
Removes deprecated argument from Lars input parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
dimtsap committed May 9, 2024
1 parent 70fcc10 commit c81cc20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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_
Expand Down

0 comments on commit c81cc20

Please sign in to comment.