Dattri

Latest version: v0.2.0

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.0

What's Changed
* [dattri.metrics] Add brittleness test by SeanZh30 in https://github.com/TRAIS-Lab/dattri/pull/114
* [dattri] backward compatibility by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/125
* [dattri.algorithm] Add KNN data shapley by sx-liu in https://github.com/TRAIS-Lab/dattri/pull/122
* [dattri.algorithm] Fix misalignment in KNN shapley by sx-liu in https://github.com/TRAIS-Lab/dattri/pull/126
* [dattri.task] add partial parameter support for target/loss function and their gradient func by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/118
* Improve docstring in dattri.func and dattri.metrics by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/127
* [dattri.metrics] change the shape of score in `lds` to improve consistency by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/132
* [dattri.algorithm] Refactoring of BaseInnerProductAttributor by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/133
* Fix typos and improve docstrings by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/134
* [dattri.func] Re-implementation of Arnoldi projector by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/135
* [dattri experiments] benchmark script for mnist, cifar and shakespeare by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/128
* [dattri.algorithm] add partial parameters support for IF, TracIN, Grad-Dot/Cos, TRAK by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/137
* Rename the modules metric, model_util, and script by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/139
* [dattri.task] Rename index in task to ckpt_idx by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/141
* [dattri.algorithm] relax the requirement to the `loss_func`. by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/140
* [Examples] refactor examples and add github action to automatically validate the scripts. by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/138
* [dattri.algorithm] Changes to the implementation of DataInf. by charles-pyj in https://github.com/TRAIS-Lab/dattri/pull/123
* [dattri.experiments] Add MusicTransformer experiment by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/142
* Add paper info by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/144
* Update citation format by sleepymalc in https://github.com/TRAIS-Lab/dattri/pull/145
* [Document] support multiple document at the same time. by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/147
* [installation] fix installation and some name typo by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/146
* [dattri.algorithm, dattri.func] Refactor the implementation of EKFAC by sx-liu in https://github.com/TRAIS-Lab/dattri/pull/143
* Minor improvements on READMEs and docs by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/149
* [branch-0.2 readme] fix installation method in readme by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/151
* [branch-0.2] Update the version number by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/152

New Contributors
* sleepymalc made their first contribution in https://github.com/TRAIS-Lab/dattri/pull/145

**Full Changelog**: https://github.com/TRAIS-Lab/dattri/compare/v0.1.0...v0.2.0

0.1.0

What's Changed
* create folders by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/1
* Push project architect by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/2
* Change some architecture design by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/3
* CI/CD setup and direct ihvp function by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/4
* switch {pycodestlye, pydocstyle, pylint} to ruff by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/7
* add darglint and refactor ihvp.py to follow google style docstring by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/8
* [dattri.func] add `hvp` and `ihvp_cg` by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/5
* Benchmark API signature (w/o PBRF) by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/13
* Initiate projector code and test file by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/12
* Add sphinx docs by xingjian-zhang in https://github.com/TRAIS-Lab/dattri/pull/19
* Implement flip_label and mislabel_detection_auc by sx-liu in https://github.com/TRAIS-Lab/dattri/pull/14
* Implemented retrain_loo and calculate_loo_groundtruth. by charles-pyj in https://github.com/TRAIS-Lab/dattri/pull/16
* Enable `ruff` opt-in preview mode. by xingjian-zhang in https://github.com/TRAIS-Lab/dattri/pull/23
* Add a new pull request template to repo by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/6
* Model training functions and loss calculation functions for mnist + lr by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/25
* Support target function which contains `torch.func.functional_call` by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/18
* Allow additional package (`fast_jl`) installation in `setup.py` by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/27
* Change ruff check rules by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/34
* Fix PR template by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/36
* Add pre-commit and CONTRIBUTING.md by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/37
* Migrate setup to pyproject by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/38
* Add makefile by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/39
* clean up runners by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/41
* remove darglint by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/42
* fix some missing parts in mnist_lr retrain func by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/44
* relax the test tol for `test_ihvp_cg_nn` by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/45
* Re-add darglint by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/46
* minor change in mnist and fix test file positions by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/47
* [dattri.model_utils] implement retrain_lds by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/48
* [dattri.func.random_projection] Add a wrapper to decide projector class by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/20
* [dattri.metrics] Implement LDS by jiaqima in https://github.com/TRAIS-Lab/dattri/pull/49
* [dattri.func.ihvp] Add Arnoldi as another ihvp method by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/33
* [dattri.func] update cg ihvp to support vmap by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/61
* [dattri.benchmark] Add MAESTRO benchmark by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/53
* [dattri.benchmark] refactor the benchmark code for mnist by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/56
* [dattri.func] Fixing Arnoldi's for-loop implementation by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/59
* [dattri.benchmark] Add a dataset folder by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/64
* [dattri.model_utils] Add a wrapper for register_forward_hook by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/50
* [dattri.benchmark] upload the imangenet training script as well as a `dattri_retrain` command by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/51
* [dattri.benchmark] Modify MAESTRO exp to fit current structure by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/67
* [dattri.benchmark] Add nanoGPT and retrain function here by SeanZh30 in https://github.com/TRAIS-Lab/dattri/pull/60
* [dattri.algorithm] IF attributor for exisiting ihvp functions by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/32
* [dattri.algorithm] Add TracIn Attributor by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/54
* [dattri.func.random_projection] Format/naming/bugs fixing in related files by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/63
* [dattri.benchmark] Add a new benchmark model MLP by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/70
* [dattri.benchmark] Add ResNet-9 benchmark on CIFAR-2 by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/68
* [dattri.benchmark] Fix output format of maestro dataset creation by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/69
* [dattri.algorithms] add arnoldi support in IFAttributor by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/74
* [dattri.func] Implement ihvp_lissa and ihvp_at_x_lissa by sx-liu in https://github.com/TRAIS-Lab/dattri/pull/30
* [dattri.benchmark] add a subsetsampler for easy usage by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/66
* [dattri.algorithm] Modify TracIn score computation loop by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/72
* [dattri.benchmark] Add CIFAR-2 and MAESTRO support in `dattri/scripts/dattri_retrain.py` by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/77
* [dattri.model_utils] Add utils for dropout by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/65
* [dattri] fix pyproject.toml by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/84
* [dattri.benchmark] Add TracIn example (noisy label on MNIST and CIFAR-2) by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/78
* [dattri.algorithm] Adapt `vmap` to IFAttributor by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/81
* [dattri.algorithm] Influence Function LiSSA option by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/80
* [dattri.algorithm] Add TRAKAttributor and related examples by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/83
* [dattri.func.ihvp] Implementation of DataInf by charles-pyj in https://github.com/TRAIS-Lab/dattri/pull/82
* [dattri.algorithm] Fix trak problems by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/92
* Add Readme by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/93
* [dattri.func.ihvp] Implement ihvp_at_x_ekfac by sx-liu in https://github.com/TRAIS-Lab/dattri/pull/94
* Add write permissions for doc workflow. by xingjian-zhang in https://github.com/TRAIS-Lab/dattri/pull/95
* [Doc] add api docs by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/96
* [dattri.benchmark] Correcting the performance of (cifar2) benchmark experiment by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/97
* [dattri.algorithm] Re-add RPS attributor by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/98
* [dattri.algorithm] Add `AttributionTask` abstraction for new API design by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/99
* [Document] update the installation info by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/101
* [dattri.matrics] add loo_corr by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/102
* [dattri.func] rename ihvp.py -> hessian.py/fisher.py by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/103
* [dattri] Move some files to better path by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/105
* [dattri.algorithm] Support `AttributionTask` API in TracIN/TRAK/RPS Attributors by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/104
* [dattri.func] Re-define Arnoldi algorithm as a projection method by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/108
* [dattri.benchmark] add benchmark downloading API by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/106
* [dattri.task] Add `loss_func` and make `target_func` optional by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/111
* [dattri.algorithm] Fix Arnoldi algorithm's bug by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/112
* Add Logo by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/115
* [dattri.func] Fix `ChunkedCudaProjector` bug by tingwl0122 in https://github.com/TRAIS-Lab/dattri/pull/113
* [Doc] Quick fix on the document about `__init__` methods' correct presentation. by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/116
* [branch-0.1] fix pyproject.toml by TheaperDeng in https://github.com/TRAIS-Lab/dattri/pull/117

New Contributors
* jiaqima made their first contribution in https://github.com/TRAIS-Lab/dattri/pull/1
* TheaperDeng made their first contribution in https://github.com/TRAIS-Lab/dattri/pull/2
* tingwl0122 made their first contribution in https://github.com/TRAIS-Lab/dattri/pull/12
* xingjian-zhang made their first contribution in https://github.com/TRAIS-Lab/dattri/pull/19
* sx-liu made their first contribution in https://github.com/TRAIS-Lab/dattri/pull/14
* charles-pyj made their first contribution in https://github.com/TRAIS-Lab/dattri/pull/16
* SeanZh30 made their first contribution in https://github.com/TRAIS-Lab/dattri/pull/60

**Full Changelog**: https://github.com/TRAIS-Lab/dattri/commits/v0.1.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.