Hypex

Latest version: v1.0.1

Safety actively analyzes 714736 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.0.1

What's Changed
* GitHub CI Improvements & Code Cleanup by tikhomirovd in https://github.com/sb-ai-lab/HypEx/pull/152
* fixed tests by tikhomirovd in https://github.com/sb-ai-lab/HypEx/pull/153
* ConstGroupRole restored by TonyKatkov89 in https://github.com/sb-ai-lab/HypEx/pull/157
* feature: faiss_mode selector added by TonyKatkov89 in https://github.com/sb-ai-lab/HypEx/pull/158


**Full Changelog**: https://github.com/sb-ai-lab/HypEx/compare/v1.0.0...v1.0.1

1.0.0

We are excited to introduce **HypEx 1.0.0**, a major release featuring a complete **architectural redesign** that brings significant performance improvements and developer-friendly enhancements.

πŸ›  Key Changes
- **New Architecture:**
- The entire library has been restructured for better modularity and maintainability.
- More intuitive API and streamlined imports.
- **Faster Execution:**
- Optimized core algorithms result in significantly faster computations.
- Reduced overhead for large-scale A/B testing and causal inference.
- **Memory Leak Fixes:**
- Several optimizations to prevent memory leaks, ensuring more stable long-running operations.
- **Easier Contributions:**
- Improved development environment and clearer contribution guidelines.
- Streamlined code structure for easier onboarding of new contributors.
- **New Examples & Tutorials:**
- Access the latest examples showcasing best practices: [View Examples](https://example.com/new-hypex-examples)

πŸ§ͺ Upgrade Now
Get the latest version of HypEx with:
bash
pip install --upgrade hypex


πŸ“š Learn More & Get Support
- πŸ“– **Documentation:** [HypEx Docs](https://hypex.readthedocs.io/en/latest/)
- πŸ“‘ **New Examples:** [Explore Tutorials](https://github.com/sb-ai-lab/HypEx/tree/master/examples/tutorials)
- πŸ’¬ **Community Support:** [Join Our Telegram Chat](https://t.me/hypexchat)

πŸ’‘ Feedback & Contributions
We value your input! Whether you’re a user or developer, we welcome your feedback and contributions. Join the community and help make HypEx even better!

Thanks for your support, and happy experimenting with HypEx 1.0.0! πŸš€

0.1.10

πŸš€ HypEx Update: Warnings & AA Test Bug Fix

πŸ”₯ What's New?

This release includes important updates to improve user experience and stability.

πŸ›  Key Changes
- **Deprecation Warning Added:**
- HypEx now displays a warning about upcoming major API changes.
- The warning appears in both English and Russian.
- Users are encouraged to check out the latest tutorials for the upcoming transition.
- **Bug Fix in AA Testing:**
- Fixed an issue in `AATest` where incorrect variance calculations were affecting results.
- This fix ensures more reliable statistical validation for A/A tests.

πŸ§ͺ Try the Latest Version
You can upgrade to the latest version of HypEx with:
bash
pip install --upgrade hypex


πŸ“š Learn More
- πŸ“– **Documentation:** [HypEx Docs](https://hypex.readthedocs.io/en/latest/)
- πŸ’¬ **Community Support:** [Join Our Telegram Chat](https://t.me/hypexchat)

πŸ’‘ Feedback
We value your input! If you have any questions, feature requests, or issues, feel free to reach out via Telegram or open an issue on GitHub.

Thanks for your support and happy experimenting with HypEx! πŸš€

0.1.5

We are excited to introduce new features in HypEx v0.1.4 that enhance both matching performance and A/B testing capabilities.

New Features

Algorithm Selection for Matching

- **Choose Your Algorithm**:
- Users can now select the algorithm used for matching by specifying the desired option during initialization.
- To prioritize speed over accuracy, simply set `algo='fast'` when initializing HypEx:

python
from hypex import Matcher

hypes = Matcher(...., algo='fast')


- This feature allows users to tailor the performance according to their specific needs, balancing between speed and precision.

Enhanced A/A Testing with Group Splitting

- **Custom Group Ratios**:
- We've added the capability to split participants into multiple groups with custom ratios, enabling more flexible and precise A/A testing scenarios.
- This feature provides greater control over test design, allowing for diverse experimental setups.

Documentation and Tutorials

- For detailed instructions and examples on how to use these new features, please refer to the [tutorials](https://github.com/sb-ai-lab/HypEx/tree/master/examples/tutorials) section in our documentation.

0.1.4

We are thrilled to announce the release of **HypEx v0.1.4**! This update brings significant improvements in matching speed, especially when dealing with large datasets.

Key Features and Improvements

- **Enhanced Matching Performance**:
- We have optimized the matching process, achieving a performance boost by an order of magnitude. This enhancement will be particularly beneficial for datasets exceeding one million entries.

- **Introduction of FAISS Algorithm**:
- For datasets larger than one million entries, we've implemented the [FAISS](https://github.com/facebookresearch/faiss) algorithm. FAISS (Facebook AI Similarity Search) provides a substantial increase in speed by using efficient nearest neighbor search techniques.

- **Trade-offs**:
- **Speed vs. Accuracy**: The new algorithm improves speed but slightly compromises on accuracy and reproducibility. This is because FAISS first performs random clustering before searching for nearest neighbors, which leads to faster results compared to the exhaustive search used in previous versions.

Benefits

- **Faster Processing**: Users with large-scale data can now experience significantly reduced computation times, enabling faster data processing and analysis.

- **Scalability**: The adoption of FAISS makes HypEx more scalable, allowing users to work with larger datasets efficiently.

Potential Considerations

- **Accuracy**: While the speed improvements are substantial, users should be aware of the trade-off in accuracy. In scenarios where precise matching is crucial, users might want to evaluate the results to ensure they meet their needs.

- **Reproducibility**: Due to the nature of the FAISS algorithm, results may vary slightly between runs. Users should consider this when reproducibility is critical.

0.1.3

We are excited to announce the release of HypEx version 0.1.3! This update brings several new features and improvements that enhance the functionality and usability of the library. Below is a detailed list of the changes in this release:

New Features

Chi-Squared Test for Categorical Variables in AA Tests
We have added support for the chi-squared test for categorical variables in AA tests. This addition allows for more comprehensive analysis of categorical data, improving the robustness of your causal inference results.

Permutation Test for Matching
Introducing the permutation test for matching problems. This feature enables you to perform non-parametric hypothesis tests, enhancing the accuracy and reliability of your matching analyses.

AB Testing on Unbalanced Samples
Our new functionality allows you to conduct AB tests on unbalanced samples. This update ensures that you can handle real-world data more effectively, providing more reliable insights even when your sample groups are not perfectly balanced.

Matching Without Replacement
We have added the option to perform matching without replacement. This method reduces bias and variance in your matched samples, leading to more accurate causal inference results.

Conclusion
We believe these updates will significantly improve your experience with HypEx, providing more powerful and flexible tools for causal inference. We look forward to your feedback and are committed to continuously enhancing the capabilities of HypEx.

---

Thank you for your continued support and contributions!

The HypEx Team

What's Changed
* [HEI-253] Feature/permutationg test validation by tikhomirovd in https://github.com/sb-ai-lab/HypEx/pull/91
* [HEI-252] Feature/unbalanced ab by tikhomirovd in https://github.com/sb-ai-lab/HypEx/pull/90
* Feature/release 013 by tikhomirovd in https://github.com/sb-ai-lab/HypEx/pull/92


**Full Changelog**: https://github.com/sb-ai-lab/HypEx/compare/v0.1.2...v0.1.3

Page 1 of 2

Β© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.