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

Pass class cost matrix (weight) in AutoML fit #155

Open
pplonski opened this issue Aug 28, 2020 · 3 comments
Open

Pass class cost matrix (weight) in AutoML fit #155

pplonski opened this issue Aug 28, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@pplonski
Copy link
Contributor

Please check if and how a cost matrix is supported in:

@kmedved
Copy link

kmedved commented Dec 3, 2020

This would be a huge improvement. I've been holding off with this library until this is ready.

Thanks!

@pplonski
Copy link
Contributor Author

pplonski commented Dec 3, 2020

@kmedved could you give an example of the cost matrix format? What is your use case?

@kmedved
Copy link

kmedved commented Dec 3, 2020

I may be misunderstanding this issue (I came here from #154). I was thinking of adding a sample_weight parameter, similar to what you see in scikit-learn, xgboost, catboost, lightgbm, etc... regression estimators. You would pass a column of sample weights along with your target variables, and features.

The use case is anytime you want to downweight some observations. This is common anytime you have different confidences in certain observations, such as if they're from a long time ago, or are just already rolled up in some way, so given rows represent different samples of data.

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

No branches or pull requests

2 participants