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

tjbal does not correctly handle categorical variables #13

Open
akravetz opened this issue Jul 9, 2024 · 6 comments
Open

tjbal does not correctly handle categorical variables #13

akravetz opened this issue Jul 9, 2024 · 6 comments

Comments

@akravetz
Copy link
Contributor

akravetz commented Jul 9, 2024

Categorical variables must be scaled by sqrt(0.5) per the docs in kbal. This fix would be as simple as passing in mixed_data=TRUE and cat_columns=... for categorical variables. This could easily be a pass through parameter. I'm happy to put up a PR if you'll review

@chadhazlett
Copy link
Collaborator

chadhazlett commented Jul 9, 2024 via email

@akravetz
Copy link
Contributor Author

akravetz commented Jul 9, 2024

awesome, thanks Chad! I'm also working on some time improvements to kbal (thank you for all the hard work here btw!). Two main threads here:

  1. Basically the eb() function stopping criteria is very generous and it seems like there could be some improvements here (ex: stop if dist has not improved in N iterations, or stop if the last N iterations have not converged)
  2. using the gpuR library as a backend to improve the speed of the eb update loop.

would love to pick your brain live on either of these if you've got a couple minutes

@chadhazlett
Copy link
Collaborator

chadhazlett commented Jul 9, 2024 via email

@akravetz
Copy link
Contributor Author

akravetz commented Jul 9, 2024

happy to find some time on monday. Do you want to shoot me an email and we can go from there? alex@first hand cares period com (no spaces, etc, gotta protect myself from spam bots 😃 )

@chadhazlett
Copy link
Collaborator

chadhazlett commented Jul 9, 2024 via email

@xuyiqing
Copy link
Owner

xuyiqing commented Jul 10, 2024 via email

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

No branches or pull requests

3 participants