提交

提交图

1509 次代码提交

作者 SHA1 备注 提交日期
Yiran Shi 2435a5a27f Added code block examples for remaining methods in the cleanlab.dataset module (#663)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-04-07 17:42:13 -07:00
Elías Snorrason 6d67175e2a Extract function for computating ood scores from distances (#664)
* extract distance-to-score computation to separate function
* move function to a new internal.outlier module
2023-04-07 18:33:45 +00:00
Yiran Shi 352d904491 Add Example codeblock to the docstrings of important functions in the dataset module (#662)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-04-05 21:29:22 -07:00
Hui Wen 64c6cfcdd5 Pass confident joint computed in CleanLearning to filter.find_label_issues (#661) 2023-04-05 21:21:17 -07:00
Jonas Mueller c4648483ca clarify no class is also an option 2023-04-05 00:59:33 -07:00
Jonas Mueller 8cf089e152 add section on practicing data-centric ai to readme (#660) 2023-04-04 03:55:58 -07:00
Jonas Mueller 6e247d5543 link faq again at bottom of readme 2023-04-04 02:44:49 -07:00
Jonas Mueller 29a930df37 bump git version past stable version (#659) 2023-03-28 22:42:47 -07:00
Jonas Mueller 7519e5d1f2 update version for 2.3.1 release (#658)
CI / Check for unused/wildcard imports (push) Has been cancelled
CI / Lint Notebooks (push) Has been cancelled
CI / Test: Python 3.10 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.10 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 3.10 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
CI / Type check (push) Has been cancelled
CI / Format (push) Has been cancelled
GitHub Markdown Links / test (push) Has been cancelled
v2.3.1
2023-03-27 23:25:24 -07:00
Jonas Mueller 229718da36 formatting+typos 2023-03-24 10:25:06 -07:00
Jonas Mueller bed94f19e1 Update readme to better reflect current package (#656) 2023-03-24 02:42:10 -07:00
Jonas Mueller a5f35f3b7b additional faq question on handling train vs test data (#655) 2023-03-24 01:15:39 -07:00
Hui Wen fa1db6e1d5 Bug fixes + improvements to multiannotator module (#654)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-03-20 23:36:41 -07:00
Hui Wen 00776646a7 Fix bug with call to find_overlapping_issues without specifying labels (#652)
* fix None labels issue

* build:  add hypothesis to dev dependencies. Used for property-based testing

* test:  test that find_overlapping_classes can run by only providing a confident joint

Resolves #651

---------

Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-03-13 15:37:00 +00:00
Ulyana 70a2ed2fa2 Add clipping of small probabilities to address issue #639 (#647)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-03-12 20:51:03 -07:00
Jonas Mueller 44081c6538 add activelab name to docs (#648)
Co-authored-by: huiwengoh <45724323+huiwengoh@users.noreply.github.com>
2023-03-12 20:26:04 -07:00
Jonas Mueller 2a16c473fc post v2.3.0 release version bump (#646) 2023-03-12 20:23:37 -07:00
Jonas Mueller b1bfdecf45 resize readme image (#650) 2023-03-09 23:33:10 -08:00
Jonas Mueller 4606fecfd4 update readme links to point to latest docs (#645) 2023-03-01 15:35:53 -08:00
Jonas Mueller b8c034f34f add 2.3.0 to release versions (#644)
CI / Test: Python 3.10 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 / Check for unused/wildcard imports (push) Has been cancelled
CI / Lint Notebooks (push) Has been cancelled
CI / Test: Python 3.10 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 3.10 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
CI / Type check (push) Has been cancelled
CI / Format (push) Has been cancelled
GitHub Markdown Links / test (push) Has been cancelled
v2.3.0
2023-03-01 01:02:29 -08:00
Jonas Mueller 38e1dab34d bump version number 2023-03-01 00:39:35 -08:00
Hui Wen dbc87116ea Documentation improvements (#643) 2023-02-28 16:06:17 -08:00
Hui Wen 497947a867 Fix tutorial hyperlinks in docs (#642) 2023-02-28 09:15:19 -08:00
Jonas Mueller 1deb349e86 list more tasks in quickstart (#640) 2023-02-27 15:38:47 -08:00
Anish Athalye 570ecbdcb8 Switch to typing.Self (#489)
PEP 673 [1] introduces `typing.Self` as a simple way to annotate methods
that return an instance of their class. This patch adopts `typing.Self`.

Because this is only included in Python 3.11, for backwards
compatibility, this patch adds typing-extensions [2], an
officially-supported module that is designed for enabling use of new
type system features on older Python versions.

We don't want to make typing-extensions a runtime dependency, so we add
a guard and only import it when we're `TYPE_CHECKING`.

[1]: https://peps.python.org/pep-0673/
[2]: https://pypi.org/project/typing-extensions/

Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-02-19 09:55:41 -05:00
Jonas Mueller 6eb60198e6 update tests to be more stringent (#635) 2023-02-15 17:34:11 -08:00
clu0 3757637d8c Fix batched multiprocessing being slower on tall matrices (#634)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-02-15 13:14:39 -08:00
Jonas Mueller c85bc7e589 default n_jobs in label issues batched to =1 (#633) 2023-02-13 17:04:55 -08:00
Jonas Mueller 731dd419a1 Support Zarr files in find_label_issues_batched (#632) 2023-02-12 23:59:26 -08:00
Jonas Mueller 8c424d3b0d mypy tpye annotations 2023-02-12 22:06:40 -08:00
Jonas Mueller f4572dc543 bugfix: missing self.n_jobs 2023-02-12 21:31:59 -08:00
clu0 4850050803 label_issues_batched multiprocessing (#630)
4x speedup (48 cores, 10k classes x 1M examples)


Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-02-12 20:25:02 -08:00
Sanjana 2adb8b68b0 Removed $ from shell commands to avoid it being copied (#625) 2023-02-12 19:46:45 -08:00
Ulyana 6acc7aead1 Clarify rank.py not for multi-label classification (#626)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-02-12 19:45:20 -08:00
Hui Wen 4d2753ae05 Fix KerasWrapper summary method (#631) 2023-02-12 18:40:52 -08:00
Jonas Mueller ac98282dcb add example script for find_label_issues_batched (#629) 2023-02-10 18:29:00 -08:00
Jonas Mueller 5319a124d4 Make label_issues_batched documentation appear (#627) 2023-02-10 17:30:03 -08:00
Jonas Mueller 686cbf63f1 Method to estimate label issues with limited memory via mini-batches (#615)
Co-authored-by: clu0 <33559427+clu0@users.noreply.github.com>
2023-02-10 16:59:16 -08:00
Ulyana d99788b9de Fixed duplicate issue removal in find_label_issues (#624)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-02-10 08:28:29 -08:00
Jonas Mueller 5f6493f509 fix bug: confidences -> confidence (#623) 2023-02-09 16:33:47 -08:00
Jonas Mueller e2611e76a1 upgrade torch in docs (#607)
* upgrade versions of docs dependencies: torch, torchvision, speechbrain, etc
2023-02-07 13:26:35 -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
Ulyana c191d8781d Fix format compatibility with latest black==23. release (#620) 2023-02-07 10:01:45 -08:00
Jonas Mueller 6ed61e0bb3 cap black version in CI (#618) 2023-02-02 01:13:59 -08:00
Jonas Mueller 266d9479db shorten notebook name in link (#617) 2023-02-01 22:53:02 -08:00
Ulyana 35d5323479 Fix dictionary type annotation for OutOfDistribution object (#616)
* Also improve params dict default to be None
2023-02-01 20:07:31 -08:00
Curtis G. Northcutt 0c02ec953b Add two methods to filter.find_label_issues (#595)
"low_self_confidence" or "low_ normalized_margin"

Co-authored-by: huiwengoh <45724323+huiwengoh@users.noreply.github.com>
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-01-31 23:26:20 -08:00
Sanjana 5c1ba64bea Removed duplicate classifier from setup.py (#612) 2023-01-30 15:56:40 -08:00
Jonas Mueller d6f40d89b8 crowdlab paper name update 2023-01-30 10:55:11 -08:00
Jonas Mueller 5f9fd95c45 update crowdlab paper name 2023-01-29 23:48:49 -08:00