-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The lazierthanlazygreedy optimizer has been updated to accept two typ…
…es of input for the random subset size: An epsilon value between 0 and 1 A positive integer The random subset size is determined as follows: If epsilon is less than 1: Random subset size = ((n / budget) * log(1 / epsilon)) Where: n is the total number of elements budget is the computational budget log is the natural logarithm If epsilon is 1 or greater: The provided value is directly used as the random subset size This update allows for more flexible control over the optimizer's behavior, allowing users to specify either a proportion (epsilon) or an exact size for the random subset.
- Loading branch information
Krishnateja
committed
Sep 12, 2024
1 parent
6377a35
commit d1a2b64
Showing
4 changed files
with
10 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#this file is needed for doc building by readthedocs.org | ||
sphinxcontrib-bibtex | ||
pybind11>=2.6.0 | ||
numpy==1.22.0 | ||
numpy | ||
scipy | ||
scikit-learn |
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