文件历史

65 次代码提交

作者 SHA1 备注 提交日期
Ulyana 04d9ad51d1 Remove Tensorflow from docs + code (#1289) 2026-01-08 20:25:06 -08:00
Jonas Mueller 0167accd0a license (#1263)
change license to Apache 2.0

---------

Co-authored-by: Anish Athalye <me@anishathalye.com>
2025-12-15 16:56:30 -08:00
Jonas Mueller a02093bf15 Move models.fasttext wrapper to examples repo (#1173) 2024-07-08 22:10:52 -07:00
Elías Snorrason 70ae424689 Pin fasttext in CI (#1144) 2024-06-13 18:17:31 +00:00
Elías Snorrason 5bc33378f9 Add warning message about TensorFlow compatibility to docs (#1057) 2024-03-19 15:25:53 +00:00
Hui Wen bf3b56ca4c Add note about tensorflow>=2.11 (#738) 2023-06-07 17:39:27 -04:00
Hui Wen dbc87116ea Documentation improvements (#643) 2023-02-28 16:06:17 -08:00
Hui Wen 4d2753ae05 Fix KerasWrapper summary method (#631) 2023-02-12 18:40:52 -08:00
Hui Wen 6aaee8332b Create new cleanlab.models module (#601)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-02-07 10:03:32 -08: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
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
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
Curtis G. Northcutt 97219f364d change license to agpl-3 2021-06-05 21:26:14 -04:00
Curtis G. Northcutt 6eba9e344a add agpl-3 license 2021-06-05 21:25:59 -04:00
Curtis G. Northcutt eda9f48d99 change license to agpl-3 2021-06-05 21:25:41 -04:00
Curtis G. Northcutt 7023b6baa7 Clean up docstrings for ReadTheDocs 2021-04-19 02:56:45 -04:00
Curtis G. Northcutt 22f86ecff6 convert targets to long before training. improves windows copatibility 2021-04-08 23:00:01 -04:00
Curtis G. Northcutt b41532a22b massive changes. added support of sklearn digits dataset. 2021-04-08 22:09:06 -04:00
Curtis G. Northcutt 1074c70509 Add support for version 3.8 python 2021-04-08 22:08:31 -04:00
Curtis G. Northcutt 372feabf4b Add license 2021-04-08 22:07:57 -04:00
cgnorthcutt 5002470cae clarify comments. no longer require python version compatibility. 2021-02-12 14:29:37 -05:00
Anish Athalye e2ae42a429 Update import path
fastText has updated their import path to `fasttext`. This patch makes
it so that cleanlab works with the latest release of fastText on PyPI.
See <https://fasttext.cc/blog/2019/06/25/blog-post.html>.
2020-10-10 15:20:16 -04:00
Curtis Northcutt c5a1ff0870 increase pep-8 adherence. 2020-02-20 05:28:52 -05:00
Curtis Northcutt 049e702fef increase pep-8 adherence. 2020-02-20 05:28:37 -05:00
Curtis Northcutt 4835632f3b Add a simple pytorch CNN for cifar. 2020-02-20 05:26:54 -05:00
Curtis Northcutt 597fc1f9c7 Add readme to explain dependencies. 2020-02-20 05:26:34 -05:00
cgnorthcutt 1441280725 Add support for python 3.7 2020-02-16 21:27:44 -05:00
Curtis G. Northcutt 1d408a998a fix syntax. pytorch no longer supports train_data or test_data 2019-08-19 15:28:56 -04:00
Curtis G. Northcutt 2cfcd24ece train_labels and test_labels was deprecrated in favor for targets. fixed. 2019-08-19 15:06:32 -04:00
Curtis G. Northcutt 699ced4ba1 typo fix in comments 2019-06-20 17:38:14 -04:00
Curtis Northcutt 70c8999d5c avoid loop to handle end of file more efficiently.: 2019-01-04 14:50:45 -08:00
Curtis Northcutt 3619478bf3 Fixed errors. data_loader much faster. removed idx in indices. 2019-01-01 21:44:03 -08:00
Curtis Northcutt be192e156f Fixed error popping from empty stack 2019-01-01 21:18:36 -08:00
Curtis Northcutt 6ddcc7055b Avoid idx in indices -- slow operation in _create_train 2019-01-01 21:09:20 -08:00
Curtis Northcutt c8dee91f46 Initialize clf to None and do not __deepcopy__ when none. 2018-12-30 20:26:40 -08:00
Curtis Northcutt d6a27ce212 Add support for copy.deepcopy 2018-12-30 19:28:20 -08:00
Curtis Northcutt 6c07d4c2da Error fix. data_indices now correctly writes data for each index 2018-12-30 17:52:55 -08:00
Curtis Northcutt 6118bfd8d1 Error fix. Wrong file name. 2018-12-30 17:35:49 -08:00
Curtis Northcutt 1d41fffc21 Error fix. seperate write file from read file. 2018-12-30 17:33:07 -08:00
Curtis Northcutt 8662d8f153 Fixed bug. changed append with a+ to a 2018-12-30 17:25:37 -08:00
Curtis Northcutt 3d878b9d97 Add space around __newline__ 2018-12-30 16:58:03 -08:00
Curtis Northcutt c2c2843cd1 Fix error - replace newlines in text with __newline__ 2018-12-30 16:56:35 -08:00
Curtis Northcutt da9407f50d Strip newline at end of first line read in data loader. 2018-12-30 15:53:00 -08:00
Curtis Northcutt 0b5bf3594c Fixing error. Removing \n when writing data 2018-12-30 13:45:28 -08:00
Curtis Northcutt f2295f6d73 Fix \n error by Replacing with __newline__ 2018-12-30 13:25:32 -08:00
Curtis Northcutt d4ca5fcdb7 Complete fefactor to use dataloader for large datasets in all methods. 2018-12-30 12:51:02 -08:00
Curtis Northcutt 79aac5e719 No longer require train_fn and allow specifying labels in constructor. 2018-12-28 16:21:36 -08:00
Curtis Northcutt e1772c2eb6 fixed gpu compatibility issue 2018-12-25 22:32:19 -08:00