文件历史

39 次代码提交

作者 SHA1 备注 提交日期
Curtis G. Northcutt b65d0fcdac Add pandas as a dependency to cleanlab. 2022-04-10 14:37:06 +00:00
Anish Athalye 5e50623032 Remove unnecessary version warning (#162)
This was used to skip e.g. importing PyTorch on some tests. However,
PyTorch supports all versions of Python that Cleanlab supports, so
there's no need to issue this warning. Furthermore, having this kind of
code in our codebase increases maintenance burden and contributes to
user frustration. If we mark a version of some library as unsupported,
but the library adds support for it in the future, there's no way users
can use the two packages together without waiting for us to push a new
version of cleanlab that marks that it's compatible and then switching
to the new version, which may be painful for unrelated reasons. It's
better to not have these kinds of checks; if users are using a version
of Python that's unsupported by some other library that they want to
use, that's not our problem, and they'll have issues installing or
importing it and figure it out themselves.

This patch also removes mentions of Python 2.
2022-04-05 18:59:58 -04:00
Jonas Mueller 7b2340b638 Utilites -> internal submodule refactor (#141)
* utilities -> internals

* docbuilding instructions improvement

* fixup formatting of contributing.md

* change contributor guidelines language to be optional

* line formatting
2022-03-28 09:53:10 -07: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
Curtis G. Northcutt 07e5ed8221 add conda update instructions 2022-03-04 13:21:07 -05:00
Curtis G. Northcutt be7c3d825e convert readme to markdown for pypi release. 2022-03-03 01:00:21 -08:00
Anish Athalye 018108378d Update metadata for PyPI 2022-02-22 15:22:52 -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 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
Curtis G. Northcutt fd9cf471c6 cleanlab version 1.0 beta launch! 2021-04-18 15:41:46 -04:00
Curtis G. Northcutt 793f597527 Add comment to check rst. 2021-04-18 15:39:54 -04:00
Curtis G. Northcutt 374ef59e33 CleanLab 1.0 BETA RELEASE 2021-04-18 15:21:12 -04:00
Curtis G. Northcutt 3f54ba9d31 Include license file in source dist and egg files 2021-04-18 14:59:57 -04:00
Curtis G. Northcutt 258778b799 Fix error - missing comma 2021-04-18 14:25:45 -04:00
Curtis G. Northcutt 1c815dee13 Update for GNU GPL-3+ License. 2021-04-18 14:11:41 -04:00
Curtis G. Northcutt a6412d42f5 Add support for python3.7 2020-02-17 02:06:55 -05:00
Curtis G. Northcutt db00f3c221 specify rst is long description type 2019-11-08 03:53:47 -05:00
cgnorthcutt 6c83bce5a9 Update comment for pypi updates with twine 2019-08-19 18:27:03 -04:00
Curtis Northcutt f9fc40ad20 Added uploading to pypi comments. 2019-07-28 07:56:41 -07:00
Curtis Northcutt f33c97e720 BIG CHANGE: Remove tqdm as a package dependency. instead warn to install. 2019-06-19 17:15:37 -04:00
cgnorthcutt 14aea4b548 Add tqdm for multiprocessing support. 2019-02-15 22:21:45 -05:00
Curtis Northcutt 3f874dcfa0 Add a comment to setup.py to validat rst for pypi. 2018-12-08 03:52:33 -05:00
Curtis Northcutt df19a25c66 Added official support for python 3.4/5/6 2018-11-25 20:39:38 -05:00
Curtis Northcutt f8fd8d996b Working tox-travis-coverage-pytest. 2018-11-25 19:09:08 -05:00
Curtis Northcutt e16310df9f Read __version__ from version.py 2018-11-25 18:58:10 -05:00
Curtis Northcutt 4deb9b0db4 bug fix: made explicit declaration of version a string 2018-11-24 12:00:28 -05:00
Curtis Northcutt 04320ee69b Add versione explicitly for travis ci and coverage 2018-11-24 11:57:20 -05:00
Curtis Northcutt 8ad533b300 Only read first line of version.py file 2018-11-24 11:03:34 -05:00
Curtis Northcutt dd0b558a30 Updated short description with details. 2018-11-22 14:17:26 -05:00
Curtis Northcutt 84eeb98d0c Added topics for pypi 2018-11-22 14:09:15 -05:00
Curtis Northcutt f9b319070d Corrected description in setup.py 2018-11-21 17:43:05 -05:00
Curtis Northcutt f42b5af4c7 Changed package name from confidentlearning to cleanlab 2018-11-21 11:54:31 -05:00
Curtis G. Northcutt 37acebd2c6 Add scipy dependency 2018-05-28 13:01:04 -07:00
Curtis G. Northcutt c8449561f2 Update setup.py 2018-05-28 00:21:59 -07:00
Curtis G. Northcutt 75280376b8 Update setup.py 2018-05-28 00:20:39 -07:00
Curtis G. Northcutt 0d47b1569b Update setup.py 2018-05-26 22:53:43 -07:00
Curtis G. Northcutt 8faad80e62 Update setup.py 2018-05-26 22:52:16 -07:00
Curtis G. Northcutt 00ec94cd5f Create setup.py 2018-05-26 22:38:08 -07:00