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

Release 0.2.0 #108

Merged
merged 6 commits into from
Jan 4, 2025
Merged

Release 0.2.0 #108

merged 6 commits into from
Jan 4, 2025

Conversation

AnFreTh
Copy link
Owner

@AnFreTh AnFreTh commented Jan 4, 2025

This pull request includes several changes to improve the installation process, update dependencies, and enhance the functionality of the stream_topic package. The most important changes include modifying the installation instructions, updating the setup.py file to handle additional requirements and post-installation tasks, and making various improvements to the models.

Installation and Dependencies:

  • README.md: Updated the installation instructions to use stream-topic instead of stream_topic and added instructions for installing additional requirements for add-ons like visualizations, BERTopic, and DCTE.
  • setup.py: Added a PostInstallCommand class to handle downloading NLTK resources after installation and included extras_require for optional dependencies. [1] [2] [3] [4]

Version Update:

Model Improvements:

Miscellaneous Changes:

  • stream_topic/models/KmeansTM.py, stream_topic/models/bertopicTM.py, stream_topic/models/cbc.py: Updated the OneHotEncoder to use sparse_output=False instead of sparse=False for compatibility with newer versions of scikit-learn. [1] [2] [3]
  • stream_topic/models/abstract_helper_models/base.py: Removed direct imports of optuna and added dynamic importing to handle missing dependencies. [1] [2]

@AnFreTh AnFreTh merged commit a1fb88d into main Jan 4, 2025
1 check passed
@AnFreTh AnFreTh mentioned this pull request Jan 4, 2025
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

Successfully merging this pull request may close these issues.

1 participant