Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Understand what BinarySearch is doing #17

Open
llrs opened this issue Nov 6, 2018 · 0 comments
Open

Understand what BinarySearch is doing #17

llrs opened this issue Nov 6, 2018 · 0 comments

Comments

@llrs
Copy link
Owner

llrs commented Nov 6, 2018

The BinarySearch is strange I don't understand what it is doing, see example below, where the output is the same as the max(abs(x)) value

set.seed(45)
x <- rnorm(15702)
RGCCA:::BinarySearch(x, 1)
#> [1] 4.112402

The effect seems to take lower values as the sumabs increase:
effect of sumabs in BinarySearch

Created on 2018-11-07 by the reprex package (v0.2.1)

@llrs llrs self-assigned this Nov 6, 2018
@llrs llrs removed the enhancement label Nov 23, 2018
@llrs llrs removed their assignment Nov 23, 2018
llrs pushed a commit that referenced this issue Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant