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

Resolve #108 - training data transformations should not be reused #113

Merged

Conversation

BoyanH
Copy link

@BoyanH BoyanH commented Dec 9, 2020

Fixes #108

Transformed training data was originally stored as an optimization to not re-transform data between queries. Such an approach is faulty for all learnable transformatons, as these are changed after model retraining. The transformed training data is hence no longer stored.

@codecov-io
Copy link

Codecov Report

Merging #113 (47bc726) into dev (4254df9) will increase coverage by 0.12%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #113      +/-   ##
==========================================
+ Coverage   96.68%   96.80%   +0.12%     
==========================================
  Files          31       31              
  Lines        1779     1786       +7     
==========================================
+ Hits         1720     1729       +9     
+ Misses         59       57       -2     
Impacted Files Coverage Δ
modAL/models/base.py 92.12% <ø> (-0.30%) ⬇️
modAL/batch.py 97.87% <100.00%> (ø)
tests/core_tests.py 99.03% <100.00%> (+0.01%) ⬆️
modAL/utils/data.py 84.50% <0.00%> (+2.81%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4254df9...47bc726. Read the comment docs.

@nawabhussain
Copy link

@BoyanH Any update on merging the PR?

@cosmic-cortex
Copy link
Member

@nawabhussain Sorry, it was on me. I got even more behind my work during the holidays, so I haven't got time to do it. I am getting started with it now.

@cosmic-cortex cosmic-cortex merged commit 2280572 into modAL-python:dev Jan 7, 2021
@cosmic-cortex
Copy link
Member

Merged the PR, thanks! Pushing a new release (0.4.1) to PyPI soon.

@nawabhussain
Copy link

Thank you for your work @BoyanH @cosmic-cortex.

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.

4 participants