文件历史

64 次代码提交

作者 SHA1 备注 提交日期
Elías Snorrason 7c390f9ac9 Handle new Column types from datasets 4.0.0+ in Datalab (#1267)
* compatibility with Column types in label validation introduced in datasets 4.0.0+

* remove upper bound for datasets dependency pin allow
2025-12-17 16:44:26 +00:00
Jonas Mueller c14e38c6aa cap datasets dependency package to version <4.0.0 (#1247) 2025-08-22 17:17:07 -07:00
Elías Snorrason e61c9bd963 Add workflow for automated releases to PyPI (#1036) 2024-03-06 07:35:03 +00:00
Sanjana Garg e2bc7d736b Updated cleanvision version 2024-02-13 09:02:10 -08:00
Elías Snorrason bad83457f3 Drop Python 3.7 support and add Python 3.11 support (#980) 2024-02-07 14:46:58 -07:00
Elías Snorrason 3910f0d955 Revert sklearn and tf version caps (#965)
Update tolerance model parameter in the audio tutorial.
2024-01-22 16:07:16 +00:00
Elías Snorrason 67fe249386 Temporarily cap Tensorflow and scikit-learn versions (#961) 2024-01-19 12:46:30 +00:00
Elías Snorrason 4ac43c0a26 Restrict termcolor dependency to versions below 2.4.0 (#905)
Temporary fix, to be reverted.
2023-12-05 01:28:36 +00:00
Sanjana 4c1d9b6863 Update setup.py
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-09-01 18:45:47 +01:00
Sanjana Garg 682e8ed071 Updated cleanvision version 2023-09-01 09:03:03 -04:00
Sanjana 3eea343e9f Added datalab dependencies for image (#797) 2023-08-07 12:40:34 -04:00
Sanjana 944c61379d Cleanvision Integration (#679)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-07-25 15:51:53 +00:00
Ulyana da65a9727f identifying label errors in Object Detection data (#676)
Co-authored-by: Aditya Thyagarajan <aditya1593@icloud.com>
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
2023-06-07 01:12:46 -07:00
Elías Snorrason 64edc95630 Introduce Datalab (#614)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Jesse Cummings <jecummin@mit.edu>
Co-authored-by: Jesse Cummings <jecummin@users.noreply.github.com>
Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
2023-04-25 09:26:43 -07:00
Sanjana 5c1ba64bea Removed duplicate classifier from setup.py (#612) 2023-01-30 15:56:40 -08:00
Sanjana aa1542bd71 Drop python 3.6 support from dependencies in setup.py (#579) 2023-01-01 22:03:19 -08:00
Mayank Kumar 5c60fb623d Remove python 3.6 support (#578) 2022-12-28 18:25:42 -08:00
Ulyana dccdb06d5e Fix broken link in packaging.python [include in 2.1 docs] (#469) 2022-09-22 14:36:22 -07:00
Hui Wen 1426a3c0fb add termcolor dependency (#415) 2022-09-08 12:59:01 -07:00
Anish Athalye 5e0b62d797 Drop dependency on SciPy (#286)
We aren't actually using SciPy within the cleanlab package, only in
tests.
2022-06-20 21:48:38 -07:00
Caleb Chiam 6bd6c079fd Use correct name of company (#258) 2022-05-14 12:25:05 -07:00
Jonas Mueller a4f99cc6f1 formatting setup.py 2022-05-04 01:04:37 -07:00
calebchiam 38df8635da added project_urls 2022-05-03 19:15:22 -07:00
Curtis G. Northcutt a66354c44b update anaconda upload instructions (#240) 2022-04-20 20:45:04 -04:00
Curtis G. Northcutt d106789a7a update release instructions for pypi and conda. (#239)
* Removing --universal tag since we no longer support py2
* replace -r with -m since its now markdown.
2022-04-20 17:38:29 -04:00
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