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

Can the Negative Weights be Input? #82

Open
BoanSy opened this issue Aug 10, 2023 · 2 comments
Open

Can the Negative Weights be Input? #82

BoanSy opened this issue Aug 10, 2023 · 2 comments

Comments

@BoanSy
Copy link

BoanSy commented Aug 10, 2023

Dear authors,

can we input the negative weights into our original and target data simultaneously in thundergbm?

With best respect,

BoanSy

@zeyiwen
Copy link
Collaborator

zeyiwen commented Aug 21, 2023

BoanSy, negative target values are totally fine. Negative feature values are also acceptable.

@BoanSy
Copy link
Author

BoanSy commented Aug 21, 2023

Thanks for your reply, but I'd like to ask how can we input them?
Like clf.fit(original, target, sample_weight=weights)?

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

2 participants