You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 Feature Proposal: Support for Feature Weights in Matching
Motivation
In the previous HypEx architecture, users had the ability to assign weights to features during matching. This allowed for more precise similarity calculations by emphasizing more critical variables. The new HypEx architecture currently lacks this feature, and restoring it would provide more flexibility and improved matching quality.
Feature Description
Add support for feature-specific weights in the Matching class.
Users should be able to pass a dictionary {feature_name: weight} to control the importance of different variables.
Integrate weights into the distance calculation (e.g., Mahalanobis, L2 metrics).
Ensure compatibility with all supported quality tests.
Provide an easy-to-use API similar to the previous implementation.
Potential Impacts
Performance Considerations: Weighted calculations may introduce additional computation time, especially with large datasets.
Compatibility: Ensure that existing users can upgrade seamlessly without breaking changes.
Dependencies: May require minor modifications to FaissNearestNeighbors and MahalanobisDistance implementations.
Alternatives
Instead of passing a dictionary, users could specify weights directly within the dataset role definitions.
This feature existed in HypEx before and was useful in experiments where certain variables played a more critical role in matching (e.g., matching based on demographic factors over less relevant attributes). Bringing it back would improve model flexibility.
Checklist
I have clearly described the feature.
I have outlined the motivation for the proposal.
I have provided a detailed description of the feature.
I have discussed potential impacts and alternatives.
I have added any additional context or screenshots.
The text was updated successfully, but these errors were encountered:
🚀 Feature Proposal: Support for Feature Weights in Matching
Motivation
In the previous HypEx architecture, users had the ability to assign weights to features during matching. This allowed for more precise similarity calculations by emphasizing more critical variables. The new HypEx architecture currently lacks this feature, and restoring it would provide more flexibility and improved matching quality.
Feature Description
Matching
class.{feature_name: weight}
to control the importance of different variables.Potential Impacts
FaissNearestNeighbors
andMahalanobisDistance
implementations.Alternatives
Additional Context
This feature existed in HypEx before and was useful in experiments where certain variables played a more critical role in matching (e.g., matching based on demographic factors over less relevant attributes). Bringing it back would improve model flexibility.
Checklist
The text was updated successfully, but these errors were encountered: