Skip to content

BUG - Fixed a bug where no_label_sample_selection would always assign the default value due to an incorrect condition in BNSA.#61

Merged
Joao-Paulo-Silva merged 5 commits into
AIS-Package:developfrom
Joao-Paulo-Silva:fix/fix-bugs
Apr 10, 2026
Merged

Conversation

@Joao-Paulo-Silva
Copy link
Copy Markdown
Member

@Joao-Paulo-Silva Joao-Paulo-Silva commented Apr 8, 2026

This pull request includes the following improvements:

  • Fix the no_label_sample_selection error, which was comparing with nearest_difference instead of max_nearest_difference, causing the type definition in the constructor to always return the default value.
  • Adds __version__ dynamically via the package metadata.
  • Removes redundant validation from the table header in the ProgressTable class.

@Joao-Paulo-Silva Joao-Paulo-Silva self-assigned this Apr 8, 2026
@Joao-Paulo-Silva Joao-Paulo-Silva added the bug Something isn't working label Apr 8, 2026
@Joao-Paulo-Silva Joao-Paulo-Silva merged commit f396804 into AIS-Package:develop Apr 10, 2026
4 checks passed
@Joao-Paulo-Silva Joao-Paulo-Silva deleted the fix/fix-bugs branch April 10, 2026 23:44
@Joao-Paulo-Silva Joao-Paulo-Silva mentioned this pull request Apr 21, 2026
Joao-Paulo-Silva added a commit that referenced this pull request Apr 21, 2026
This release (v0.5.4) brings together critical improvements, bug fixes, and documentation updates, with a focus on compatibility, consistency, and API quality.

## Changes

- Improved compatibility with scikit-learn (#60)
    - Added explicit p parameter to the constructor, replacing the use of kwargs
    - Updated the base class get_params() method to automatically retrieve valid parameters
- Fixed a critical issue where no_label_sample_selection always assigned the default value (#61)
    - Removed redundant table header validation in the ProgressTable class
- Standardized docstrings following the API format (#57)
    - Documentation now focuses exclusively on public methods
    - Added documentation templates for classes, functions, and modules
    - Improved overall consistency and clarity of parameter descriptions

---------

Co-authored-by: Himel Das <151542219+himelds@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant