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

Small fixes #466

Merged
merged 4 commits into from
Jun 28, 2021
Merged

Small fixes #466

merged 4 commits into from
Jun 28, 2021

Conversation

yannikschaelte
Copy link
Member

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jun 28, 2021

Codecov Report

Merging #466 (4c85a5f) into feature_learn (c77b3d8) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@                Coverage Diff                @@
##           feature_learn     #466      +/-   ##
=================================================
- Coverage          88.21%   88.18%   -0.04%     
=================================================
  Files                113      113              
  Lines               7020     7019       -1     
=================================================
- Hits                6193     6190       -3     
- Misses               827      829       +2     
Impacted Files Coverage Δ
pyabc/visualization/distance.py 94.28% <100.00%> (-0.16%) ⬇️
pyabc/weighted_statistics.py 92.06% <0.00%> (-3.18%) ⬇️

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 c77b3d8...4c85a5f. Read the comment docs.

@yannikschaelte yannikschaelte merged commit 4106b87 into feature_learn Jun 28, 2021
@yannikschaelte yannikschaelte deleted the small_fixes branch June 28, 2021 14:06
yannikschaelte added a commit that referenced this pull request Jul 30, 2021
* init

* limit look-ahead sample number in delayed mode

* update releasenotes -> 0.10.15

* refactor: weight normalization applied to all particles; pass sample to distance function

* fix typo in changelog

* fix tmp changes

* fixup

* pycharm annoys me

* fixit

* fix population test

* fix zero division error

* fix docs

* whatever

* remove file

* init

* tmp

* tmp

* refactor adaptive distances: sumstat + vectorize

* add working version of sumstat and predictor modules

* whatever

* add nbs

* handle trivial statistics better

* normalize info weighting correctly

* refactor anew info weighting + normalization + gp and layer handles

* fix flake8

* add lasso sumstat

* set indices to keep correctly

* add option to not normalize per parameter in info weight

* cont

* implement late model use

* remove slad

* tidy up

* update nbs; fix various things

* add predictor test

* add model selection test

* additional tests

* update readme; add raise tests

* add sumstat test

* add test for dict2arr

* test info weighting

* test sample construction

* test fit index construction

* test inf norm; test scales errors

* fixup

* implement subsetting

* fix imports

* test augmentation

* add missing base class dependency

* move worker signup up

* add logger

* always normalize linreg inputs; postpone default fit indices

* do not clear up redis server

* fix typo

* reset default scale function from rmsd to std for stability in most cases

* cont

* cont

* update

* add tests

* whatever

* Allow fitting at simulation-based events (#462)

* Allow fitting at simulation-based events

* update nb

* cont

* fix test

* fix test

* Add distance weight plot (#463)

* fix wrong deviation threshold 0.5 -> 0.33

* Small fixes (#466)

* Add distance weight plot

* add colors

* enable passing keys

* integer coordinates

* implement option to use only accepted particles for scale calculation in adaptive distances (#467)

* implement only accepted particles for scale calculation

* add test

* fix indent

* add max mlp method

* log fitting time

* add train-test-split model selection method

* better info weight calculation

* add pre_before_fit and from_events

* fix

* change default to weights

* normalize in subsetter

* add n_sample option to data plot

* fix stuff

* allow kwargs in distance weights plot

* add pcmad convenience

* apply la normalization to all particles

* fix defaults

* final edits

Co-authored-by: Yannik Schälte <[email protected]>
Co-authored-by: Yannik Schälte <[email protected]>
EmadAlamoudi pushed a commit that referenced this pull request Jun 30, 2022
* init

* limit look-ahead sample number in delayed mode

* update releasenotes -> 0.10.15

* refactor: weight normalization applied to all particles; pass sample to distance function

* fix typo in changelog

* fix tmp changes

* fixup

* pycharm annoys me

* fixit

* fix population test

* fix zero division error

* fix docs

* whatever

* remove file

* init

* tmp

* tmp

* refactor adaptive distances: sumstat + vectorize

* add working version of sumstat and predictor modules

* whatever

* add nbs

* handle trivial statistics better

* normalize info weighting correctly

* refactor anew info weighting + normalization + gp and layer handles

* fix flake8

* add lasso sumstat

* set indices to keep correctly

* add option to not normalize per parameter in info weight

* cont

* implement late model use

* remove slad

* tidy up

* update nbs; fix various things

* add predictor test

* add model selection test

* additional tests

* update readme; add raise tests

* add sumstat test

* add test for dict2arr

* test info weighting

* test sample construction

* test fit index construction

* test inf norm; test scales errors

* fixup

* implement subsetting

* fix imports

* test augmentation

* add missing base class dependency

* move worker signup up

* add logger

* always normalize linreg inputs; postpone default fit indices

* do not clear up redis server

* fix typo

* reset default scale function from rmsd to std for stability in most cases

* cont

* cont

* update

* add tests

* whatever

* Allow fitting at simulation-based events (#462)

* Allow fitting at simulation-based events

* update nb

* cont

* fix test

* fix test

* Add distance weight plot (#463)

* fix wrong deviation threshold 0.5 -> 0.33

* Small fixes (#466)

* Add distance weight plot

* add colors

* enable passing keys

* integer coordinates

* implement option to use only accepted particles for scale calculation in adaptive distances (#467)

* implement only accepted particles for scale calculation

* add test

* fix indent

* add max mlp method

* log fitting time

* add train-test-split model selection method

* better info weight calculation

* add pre_before_fit and from_events

* fix

* change default to weights

* normalize in subsetter

* add n_sample option to data plot

* fix stuff

* allow kwargs in distance weights plot

* add pcmad convenience

* apply la normalization to all particles

* fix defaults

* final edits

Co-authored-by: Yannik Schälte <[email protected]>
Co-authored-by: Yannik Schälte <[email protected]>
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.

2 participants