-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Allow only sparsifying some STLSQ indices (#371)
* TST: Added a new test to limit sparse indices in STLSQ * changed stlsq to accomodate for sparse indices * Updated the code for Sparse Coefficient Thresholding for sparse indices * Added a New Test and Implemented Regression for Sparse Indices * Updated the code for regression using sparse indices. * Added a new function for Thresholded Sparse Indices Removal * Made changes to the Remove and Decrement Fucntion * TST Added a new test for Remove and Decrement Function * Added docstrings and type annotations * Made Remove and Decrement a Module Function * ENH Sparse indices for multi target case * ENH Fixed remove_and_decrement() annotations and changed test names --------- Co-authored-by: Yash Bhangale <yash6599@uw.edu>
- Loading branch information
Showing
2 changed files
with
108 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters