提交

提交图

1485 次代码提交

作者 SHA1 备注 提交日期
Jonas Mueller 520349361c Merge pull request #130 from weijinglok/rtd-redirect
Redirect RTD site to docs.cleanlab.ai
2022-03-20 23:07:13 -07:00
Wei Jing Lok 1ffda28bfc add RTD redirecting file 2022-03-18 18:47:53 +08:00
Anish Athalye 11dff1faf4 Standardize code style to Black (#107)
* Set up Black as the code style

* Migrate code style to Black
2022-03-16 21:27:36 -04:00
Curtis G. Northcutt 8f9f3f5380 Major API change. Introducing Cleanlab 2.0 (#128)
* Refactor modules pruning to filter and latent_estimation to count

* Remove polyplex (research) algorithms from cleanlab

* Create new module rank and move scoring functions to rank.

* Rename test to match new module names

* Fixed error in normalized margin. added ranking for arbitrary psx and labels.

* Remove unused tests and methods. add multi-label support for baseline.

* Move baseline methods to filter and delete baseline module.

* change filter.get_noise_indices to filter.find_label_issues

* Rename baseline methods. fill out docstrings.

* Only require 1 example to be left in each class after removing errors. (instead of 5)

* Remove K as a parameter to count.compute_confident_joint

* Add C_argmax and C_ij methods from CL paper to find_label_issues

* Add warnings for new prune methods and frac_noise. Fix tests.

* Add baseline tests to test_rank_filter and delete baseline test

* Remove inverse_noise_matrix parameter in classification call to find_label_issues

* add todo to update docstring with new ranking functions

* 100% tests pass. add multi-label support for prune_method

* Major NOT-backwards-compatible name changes to most components

* More Major NOT-backwards-compatible name changes

* fixed s -> label mistakes

* Several nomenclature updates from PR feedback. models renamed to example models.

* Remove python2 support across all modules.

* major api changes. psx -> pred_probs. prob_given_label -> self_confidence. testing added.

* enable python version 3.9 for pytorch model.

* ran spellcheck

* ran grammar check

* Update count.py

* Update filter.py

* Update setup.py and ci.yml to no longer support Python 2 and py3.4/5

* Increase test coverage and documentation of rank module methods.

* create utils submodule and move util and latent_algebra

* Rename y everywhere to true_labels, and p(true_label=..)

* Enforce positional arguments in methods. Fully remove py2 support.
2022-03-16 06:52:03 -04:00
Jonas Mueller d745b8f16c Merge pull request #129 from anishathalye/editorconfig
Add EditorConfig
2022-03-14 20:24:10 -07:00
Anish Athalye 5b3691eff0 Add EditorConfig
This will help maintain consistent coding styles across various editors
and IDEs. See <https://editorconfig.org/>.
2022-03-12 09:23:40 -05:00
Curtis G. Northcutt b1ea583acc Update readme for new conda installation 2022-03-04 13:25:33 -05:00
Curtis G. Northcutt 07e5ed8221 add conda update instructions 2022-03-04 13:21:07 -05:00
Curtis G. Northcutt 0ce822da79 Merge pull request #126 from cgnorthcutt/master
convert readme to markdown for pypi release.
2022-03-03 01:11:06 -08:00
Curtis G. Northcutt be7c3d825e convert readme to markdown for pypi release. 2022-03-03 01:00:21 -08:00
Curtis G. Northcutt 29e4a97124 Merge pull request #125 from cgnorthcutt/release101
CI / Test: Python 2.7 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 2.7 on macos-latest (push) Has been cancelled
CI / Test: Python 3.6 on macos-latest (push) Has been cancelled
CI / Test: Python 3.7 on macos-latest (push) Has been cancelled
CI / Test: Python 3.8 on macos-latest (push) Has been cancelled
CI / Test: Python 3.9 on macos-latest (push) Has been cancelled
CI / Test: Python 3.6 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.7 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.8 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.9 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 2.7 on windows-latest (push) Has been cancelled
CI / Test: Python 3.6 on windows-latest (push) Has been cancelled
CI / Test: Python 3.7 on windows-latest (push) Has been cancelled
CI / Test: Python 3.8 on windows-latest (push) Has been cancelled
CI / Test: Python 3.9 on windows-latest (push) Has been cancelled
Update version to 1.0.1
v1.0.1
2022-03-02 16:58:43 -08:00
Curtis G. Northcutt 398ba77a51 Update version to 1.0.1 2022-03-02 16:34:25 -08:00
Anish Athalye 3e4acbdfb1 Merge branch 'weijinglok/patch_v1.1' 2022-03-01 14:56:03 -05:00
Wei Jing Lok 6169fdcd43 Add new documentation site 2022-03-01 14:55:51 -05:00
Jonas Mueller 8b9269bec2 Merge pull request #122 from cleanlab/community
update admin email
2022-02-22 12:50:12 -08:00
Jonas Mueller 173ccd05fc update admin email 2022-02-22 12:29:38 -08:00
Anish Athalye 0c57fb7c16 Merge branch 'metadata' 2022-02-22 15:26:21 -05:00
Anish Athalye 018108378d Update metadata for PyPI 2022-02-22 15:22:52 -05:00
Curtis G. Northcutt b6f29e41c7 Merge pull request #116 from cleanlab/v1-readme-updates
v1 readme updates fixing links and reducing duplicacy
2022-02-21 21:05:13 -08:00
Jonas Mueller ddd8813d27 missing quote 2022-02-17 23:40:11 -08:00
Jonas Mueller 779299e59b fix cifar10 link 2022-02-17 23:39:05 -08:00
Jonas Mueller f82c9ba1d0 missing html tag 2022-02-17 23:36:31 -08:00
Jonas Mueller b89393dfb5 addressed comments 2022-02-17 23:31:39 -08:00
Jonas Mueller 2f9e5a1750 paper link fix 3 2022-02-16 17:34:17 -08:00
Jonas Mueller 54144bae58 paper link format fix 2 2022-02-16 17:32:49 -08:00
Jonas Mueller da31720644 paper link formatting 2022-02-16 17:31:08 -08:00
Jonas Mueller bb891b72a7 missing quote in link href 2022-02-16 17:26:12 -08:00
Jonas Mueller 46a2e9a169 readme format fixes 2022-02-16 17:22:17 -08:00
Jonas Mueller 6ab27220d3 readme updates
fix broken links, improve language/formatting/order of readme
2022-02-16 16:43:52 -08:00
Anish Athalye e27a050236 Remove requirements.txt
This was duplicating content in setup.py (and the two had gotten out of
sync, listing different versions for scipy).

According to the Python Packaging User Guide
(https://packaging.python.org/en/latest/discussions/install-requires-vs-requirements/),
the `install_requires` specifies what a project minimally needs to run
correctly, while the requirements.txt file contains an exhaustive list
of pinned versions for the purpose of repeatable installations of a
complete environment. Cleanlab is a Python package that users will `pip
install`, so we don't need a requirements.txt.

Some related projects like scikit-learn don't have a requirements.txt,
and others that do have such a file use it for a different purpose, e.g.
PyTorch and Keras use the file to list dev dependencies.
2022-02-16 14:18:33 -05:00
Anish Athalye 6c763a160d Remove exclusions
These directories no longer exist in this repository.
2022-02-16 13:50:37 -05:00
Anish Athalye f71cb3b4d0 Ban coverage>=6.3
See https://github.com/nedbat/coveragepy/issues/1312. We can revert this
commit once a newer version of coverage fixes this issue.

coverage==6.3.1
(https://github.com/nedbat/coveragepy/issues/1310#issuecomment-1027499386)
doesn' t fully fix the issue either; hangs become less frequent but are
not eliminated (see e.g. this run of our tests with coverage==6.3.1:
https://github.com/cleanlab/cleanlab/runs/5036277812?check_suite_focus=true).
2022-02-02 07:25:29 -05:00
Anish Athalye 3fb5024d89 Add basic contributing guide 2022-01-31 07:14:14 -05:00
Jonas Mueller 105310781c create code-of-conduct 2022-01-29 18:28:16 -08:00
Anish Athalye ea78f62a8e Run tests on pull request 2022-01-10 06:10:37 -05:00
Anish Athalye fbde11ae7e Merge branch 'anishathalye/github-actions' 2022-01-10 06:07:01 -05:00
Anish Athalye 1e16d7fd76 Merge branch 'anishathalye/copyright-assign' 2022-01-10 06:06:51 -05:00
Anish Athalye 13895791ef Bump copyright year 2021-12-31 11:02:23 -05:00
Curtis G. Northcutt 331349dd3c Merge pull request #98 from anishathalye/sync-agplv3
Sync license text
2021-12-31 01:28:35 -05:00
Anish Athalye 0fc2ddc974 Switch copyright assignment to Cleanlab 2021-12-27 09:59:29 -05:00
Anish Athalye 7e7cdb456f Sync license text
This patch updates metadata in `setup.py` and comments in other files to
clarify that the current license is AGPLv3, as is specified in the
current `LICENSE` file.

This patch also removes the "this agreement applies to this version and
all previous versions" text from the README and code comments, because
it is redundant; the previous code was already released under a _more
liberal_ license, so giving the option of AGPLv3 is not useful (and
perhaps confusing).
2021-12-27 09:43:56 -05:00
Anish Athalye 2c1ac19f82 Check code coverage across all platforms
When multiple coverage reports are uploaded to Codecov, it merges the
reports, which is what we want in this situation. So for example, if the
code branches on Python version or OS version, we'll cover those
branches across tests.
2021-12-27 09:41:58 -05:00
Anish Athalye 78b35ac23a Switch to GitHub Actions
This patch switches the CI from Travis-CI to GitHub Actions.

The new CI script drops support for Python 3.4 (EOLed 18 March 2019) and
Python 3.5 (EOLed 13 September 2020), though it keeps support for Python
2.7 (EOLed 1 January 2020). This keeps the CI configuration a lot
simpler.

The new CI script also simplifies code coverage: a single coverage
report is produced for Python 3.9 on Ubuntu. There are no coverage
statistics being collected and uploaded for older versions of Python 3,
Python 2, or other OSes.
2021-12-27 09:41:58 -05:00
Anish Athalye f1686785d0 Fix URLs 2021-12-25 09:28:48 -05:00
Curtis G. Northcutt 1722b6a586 Delete FUNDING.yml 2021-11-08 11:11:39 -05:00
Curtis G. Northcutt a934941c97 update codecov + links for cgnorthcutt -> cleanlab 2021-11-03 22:45:41 -04:00
Curtis G. Northcutt 5b91e9642c fix news drop down menus to support raw html 2021-11-03 01:54:15 -04:00
Curtis G. Northcutt 176ab8ad19 re-organized intro of readme, fixed links
Updates:
* Moved news into drop-downs
* shortened badges
* added tutorials
* re-ordered content
* clarified package intent
* linked to label errors tutorial for finding errors in 10 of the most common ml datasets.
2021-11-03 01:25:35 -04:00
Curtis G. Northcutt 7226e53a14 clarify links 2021-10-18 00:55:10 -04:00
Curtis G. Northcutt 75516980a3 fix broken url for examples 2021-10-18 00:51:45 -04:00