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

use_midpoints = TRUE per default? #3

Open
Thie1e opened this issue Mar 22, 2018 · 2 comments
Open

use_midpoints = TRUE per default? #3

Thie1e opened this issue Mar 22, 2018 · 2 comments
Labels

Comments

@Thie1e
Copy link
Owner

Thie1e commented Mar 22, 2018

The current default is use_midpoints = FALSE. However, as the Readme and the vignette illustrate, this leads to a certain bias when methods other than the normal or kernel method are applied. On the other hand, many users might prefer the current setting, because the returned cutpoints can be found in the data. Additionally, changing the default might surprise current users. Should it be changed or not?

@AngelCampos
Copy link

AngelCampos commented Oct 27, 2020

I would vote for setting it to TRUE.

The earlier the adoption, the fewer users will be surprised to see the change. But more users will have the benefit of using the default value of use_midpoints = TRUE as most, myself included, forget setting it. I personally had to figure out I didn't set it to TRUE after some testing results showed poor performance.

Edit: Didn't see the date of posting, maybe it is too late for changing it now though. :(

@Thie1e
Copy link
Owner Author

Thie1e commented Oct 27, 2020

That's OK, thanks for your comment! I'd say that changing defaults is always a possibility.

An additional advantage of use_midpoints = TRUE that I should add to the list is that this way all columns are type stable, otherwise some columns become list columns if multiple optimal cutpoints are found. All built-in functions can deal with that correctly, but some users were suprised by the type-instability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants