cleanlab--cleanlab
d1a4bc86fd
* df return type, need tests still * Add pandas as a dependency We already decided that pandas will be a dependency of cleanlab (also used in the dataset module, see https://github.com/cleanlab/cleanlab/pull/182). * Tweak documentation * addressed comments * remove lazy import * address 2nd round comments * unit tests * improve codecov * Fix typo * methods to save more space * nocover statements for prints * extra nocover * nocover warnings * test docstring formatting * test docstring formatting2 * test docstring formatting2 * move compress to helper, find-label docs params * readded stuff lost in merge conflict * addressed remaining PR review comments * docs formatting * docs formatting2 * docs formatting3 * docs formatting4 * docs formatting5 * docs formatting5 * docs formatting6 * docs formatting7 * docs formatting8 * docs formatting9 * docs formatting19 * docs formatting20 * docs formatting20 * docs formatting21 * code formatting * fix a bug where confident joint isnt computed The confident joint wasn't getting computed if noise_matrix was passed in and pred_probs was not passed in. But that's bad because it stops workflows like: ```python cl = CleanLearning() cl.fit(data, labels, noise_matrix=noise_matrix) cleanlab.dataset.health_summary(labels, confident_joint=cl.confident_joint) ``` * fixed bug from last commit. code in wrong place. * print overwrite bugfix Co-authored-by: Anish Athalye <me@anishathalye.com> Co-authored-by: Curtis G. Northcutt <curtis.northcutt@gmail.com>
35 行
829 B
INI
35 行
829 B
INI
# .coveragerc to control coverage.py
|
|
# https://coverage.readthedocs.io/en/latest/config.html
|
|
[run]
|
|
branch = True
|
|
omit =
|
|
cleanlab/experimental/coteaching.py
|
|
cleanlab/experimental/fasttext.py
|
|
cleanlab/experimental/mnist_pytorch.py
|
|
cleanlab/experimental/cifar_cnn.py
|
|
|
|
[report]
|
|
# Regexes for lines to exclude from consideration
|
|
exclude_lines =
|
|
# Have to re-enable the standard pragma
|
|
pragma: no cover
|
|
|
|
# Don't complain about missing debug-only code:
|
|
def __repr__
|
|
if self\.debug
|
|
|
|
# Don't complain if tests don't hit defensive assertion code:
|
|
raise AssertionError
|
|
raise NotImplementedError
|
|
raise ValueError
|
|
warnings.warn
|
|
|
|
# Don't complain if non-runnable code isn't run:
|
|
if 0:
|
|
if __name__ == .__main__.:
|
|
|
|
ignore_errors = True
|
|
|
|
[html]
|
|
directory = coverage_html_report
|