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

changed summmary.py logic #121

Merged
merged 32 commits into from
Jun 27, 2023
Merged

changed summmary.py logic #121

merged 32 commits into from
Jun 27, 2023

Conversation

piterand
Copy link
Contributor

@piterand piterand commented Jun 21, 2023

changed summmary.py logic

solving #111

@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Merging #121 (54d86f9) into main (75e9f49) will decrease coverage by 41.34%.
The diff coverage is 11.76%.

@@             Coverage Diff             @@
##             main     #121       +/-   ##
===========================================
- Coverage   69.28%   27.94%   -41.34%     
===========================================
  Files          22       13        -9     
  Lines        1478     1052      -426     
===========================================
- Hits         1024      294      -730     
- Misses        454      758      +304     
Impacted Files Coverage Δ
ammico/summary.py 16.88% <9.75%> (-69.79%) ⬇️
ammico/display.py 31.50% <20.00%> (-50.59%) ⬇️

... and 17 files with indirect coverage changes

@piterand piterand self-assigned this Jun 22, 2023
@piterand piterand linked an issue Jun 22, 2023 that may be closed by this pull request
Copy link
Member

@iulusoy iulusoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added some more tests and exceptions, looks good to me

@sonarcloud
Copy link

sonarcloud bot commented Jun 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@piterand piterand merged commit 8d8ea52 into main Jun 27, 2023
@piterand piterand deleted the summary_fixing branch June 27, 2023 07:19
iulusoy added a commit that referenced this pull request Jun 27, 2023
* changed summmary.py logic

* fixing test_summary

* added macos for testing

* fixed_display_test

* fixed docs and exceptions

* added dropout menu for summary

* added new SummaryDetector to AnalysisExplorer

* bug fixing

* code improving

* fixed test_display

* fixed code smells

* reduce tests for macos

* added some tests and exceptions for summary init

* changed CI, runs pytest independently

* exclude test_analysisExplorer from macos in CI

* moved some tests from test_init_summary to test_advanced_init_summary and mark them as long

---------

Co-authored-by: Inga Ulusoy <[email protected]>
iulusoy added a commit that referenced this pull request Jun 28, 2023
* added exception for empty file list

* added batching, randomness and multiple file extensions to find_files

* added more default filetypes to find_files

* changed summmary.py logic (#121)

* changed summmary.py logic

* fixing test_summary

* added macos for testing

* fixed_display_test

* fixed docs and exceptions

* added dropout menu for summary

* added new SummaryDetector to AnalysisExplorer

* bug fixing

* code improving

* fixed test_display

* fixed code smells

* reduce tests for macos

* added some tests and exceptions for summary init

* changed CI, runs pytest independently

* exclude test_analysisExplorer from macos in CI

* moved some tests from test_init_summary to test_advanced_init_summary and mark them as long

---------

Co-authored-by: Inga Ulusoy <[email protected]>

* fixing coverage report (#126)

* fixed coverage report

---------

Co-authored-by: Petr Andriushchenko <[email protected]>
Co-authored-by: Inga Ulusoy <[email protected]>
@piterand
Copy link
Contributor Author

piterand commented Jul 3, 2023

The reason for the error was a bug in the library hdbscan scikit-learn-contrib/hdbscan#598 and scikit-learn == 1.3.0 scikit-learn/scikit-learn#26742. At this point, they still haven't fixed it.

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.

load model in init in SummaryDetector
2 participants