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

Request for -invert-hash type feature as in Vowpal Wabbit. #1371

Open
musram opened this issue Jan 31, 2022 · 3 comments
Open

Request for -invert-hash type feature as in Vowpal Wabbit. #1371

musram opened this issue Jan 31, 2022 · 3 comments

Comments

@musram
Copy link

musram commented Jan 31, 2022

Is your feature request related to a problem? Please describe.
The getReadableModel() gives hash with the weight. The PR #821 does refer to the requested feature but it was not committed.

Describe the solution you'd like
We want feature: weight

Additional context
Similar to -invert-hash of vowpal wabbit.

AB#1884838

@musram
Copy link
Author

musram commented Feb 7, 2022

@eisber I was looking at your reply for #1364.

I am finding it difficult to understand your statement "> Additionally it depends on the learning algo how the features are mapped to weights."
If there are some additional transformations at the feature level happening within the VowpalWabbitRegressionModel, then it makes sense otherwise I am unable to understand the statement.
Pls, correct me if I am wrong.

@eisber
Copy link
Collaborator

eisber commented Feb 7, 2022

not all algos in VW have just a single weight for each feature.

@jackgerrits can help explain too.

@jackgerrits
Copy link
Member

jackgerrits commented Feb 7, 2022

For example if using bagging, then internally VW maintains several models. Each occupying a different hash space. You need to know the number of bags in order to decipher what each hash may correspond to.

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

No branches or pull requests

4 participants