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

Inverse Median Frequency Weights functioning? #12

Closed
Oscared opened this issue Jun 4, 2020 · 1 comment
Closed

Inverse Median Frequency Weights functioning? #12

Oscared opened this issue Jun 4, 2020 · 1 comment

Comments

@Oscared
Copy link

Oscared commented Jun 4, 2020

Hi!

I was using this framework (thank you), but I cannot understand if the inverse median frequency weights are called at all? For me it seems they are created after constructing the loss function and thus never passed anywhere. Is this assumption wrong on my part? Where do they come into play? I assumed the weights would have been passed to the get_model function through the hyperparameters, then used to construct the loss function and not be overwritten by the new initialization of the weight vector. Thank you!

@Ayush-iitkgp
Copy link
Contributor

I can confirm the same. My data has a huge class imbalance and the model performances are very poor.

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