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

Does weight supported in mlen for training? #62

Closed
wangliangguo opened this issue Oct 17, 2017 · 4 comments
Closed

Does weight supported in mlen for training? #62

wangliangguo opened this issue Oct 17, 2017 · 4 comments

Comments

@wangliangguo
Copy link

When training a model, how to use sample_weight? I haven't seen weight parameter in fit function.

@flennerhag
Copy link
Owner

sample_weight is currently not a supported parameter. What did you have in mind?

@wangliangguo
Copy link
Author

I think there could be training parameter sent into base models, keep it same with scikit-learn fit method.

@flennerhag
Copy link
Owner

Sorry for not getting back on this. Somewhat overdue but if you want a linear combination of base models, the best approach is to use a linear model as your meta learner. If you want to fix the weights apriori, you can easily achieve this by writing a dummy estimator class.

@marty90
Copy link

marty90 commented Nov 6, 2019

+1

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