提交

提交图

1816 次代码提交

作者 SHA1 备注 提交日期
Ulyana 36bfddc354 Added 4 more FAQs to faq doc (#303)
* Added new questions in FAQ

* Added 4 other FAQs

* language / code-format edits

Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2022-07-01 18:01:48 -07:00
Ulyana f7328e8b67 Created FAQ Page in the Cleanlab documentation (#294)
* Create FAQ page in cleanlab docs

* Add FAQ notebook to store answers to frequently asked questions

* Improved formatting issues for faq page

- added faq to sidebar

* Improved formatting issues for faq page

- added faq to sidebar
- changed email to comply with CLA

* Removed faq numbering

- Removed notebook output metadata
- Added notebook to index for left table link

* Text and example rewritten for clarity

- How do I format labels for cleanlab-- example improved
- How do I format labels for cleanlab-- text amended
- Can't find an answer to your question-- added links

* add links to issues/slack

Co-authored-by: Ulyana Tkachenko <uly@ulyana.lan>
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2022-06-29 10:24:50 -07:00
Hui Wen f62bc36e54 Allow CleanLearning to use validation data in each fold (#295)
* allow CleanLearning to use val data in each fold

* add unittest for using val data in CleanLearning
2022-06-28 22:04:22 -07:00
Ulyana Tkachenko 942d97e5b8 Updated docs/README to suggest wget install for macOS (#293)
* Update docs/README to require wget install for Mac
2022-06-27 22:25:47 -07:00
Jonas Mueller 4bd688f51c update tf_io and hf_hub versions (#291) 2022-06-24 06:51:58 -07:00
Jonas Mueller 69551fbd38 downgrade tensorflow-io (#290)
https://github.com/tensorflow/io/issues/1687
2022-06-24 06:05:03 -07:00
Jonas Mueller c8701485ba downgrade huggingface_hub version (#289)
https://github.com/speechbrain/speechbrain/issues/1459
2022-06-24 05:45:28 -07:00
Jonas Mueller ffd6fc1b35 Make CleanLearning work with pandas and other non-numpy feature objects X (#285)
* cleanlearning w dfs

* work for sparse matrix as well

* simplify logic of labels_to_array and extend types

* address pr feedback

* add unit test

* rare label dataframe

* modularize subsetting code

* series rarelabel test

* replace cal.com with slack/email

* Add general method to find num_classes from labels

* compute num_classes with pred_probs.shape[1]

* fix broken commits, address 2nd round of comments

Co-authored-by: Curtis G. Northcutt <curtis.northcutt@gmail.com>
2022-06-24 04:01:55 -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
Curtis G. Northcutt af11106e77 Clarify labels format (#282)
Add clarification of the labels format requirements for all major API functions.

* Fix broken link

* Clarify reqs for labels format. rank.py does not yet support multi_label

* add double ticks to code in docstrings

* clarify docstring

* further clarify multi_label vs single label labels reqs

* also add new docstring to confident joint
2022-06-20 12:58:24 -07:00
Curtis G. Northcutt 29026b48f9 Add common variable names. 2022-06-20 11:53:24 -07:00
Curtis G. Northcutt 28a1a7aa0e Merge pull request #264 from cgnorthcutt/fix_thresholds_multilabel
Fix bug. get thresholds broken for multi_label
2022-06-20 11:10:53 -07:00
Curtis G. Northcutt eb54447901 Change shape (N, ) back to (N,) to adhere to numpy standard 2022-06-20 11:10:00 -07:00
Curtis G. Northcutt 25036dc48e clarify expectation for labels 2022-06-20 10:32:28 -07:00
Curtis G. Northcutt 5bbea05992 Replace shape (N,) with (N, ) everywhere 2022-06-20 10:30:12 -07:00
Curtis G. Northcutt 1f40bdcd67 clarify all labels must be present in docstring 2022-06-19 16:00:51 -07:00
Curtis G. Northcutt 670d9d680e use shape[1] instead of unique everywhere. replace K with num_classes 2022-06-19 15:56:13 -07:00
Curtis G. Northcutt fc0db77892 remove unused code and unused param in docstring 2022-06-19 15:46:52 -07:00
Curtis G. Northcutt 215945f690 Remove redundant code. replace unique with pred_prob shape 1 2022-06-19 15:45:29 -07:00
Jonas Mueller b970496a0f update slack invite link (#280)
* update slack invite link
2022-06-19 15:08:10 -07:00
Jonas Mueller f918b82d80 Provide example label formats in tutorials (#279)
* example label formatting

* example label format in text tutorial

* example label format for tabular tutorial

* y -> full_labels

* example label format for audio tutorial

* clarify input shapes in image tutorial

* clarify input shapes in text tutorial

* clarify input shapes in tabular tutorial

* clarify input shapes for audio tutorial
2022-06-16 11:41:56 -07:00
Anish Athalye 07c8ce655d Add issue templates (#278) 2022-06-14 14:49:18 -07:00
Jonas Mueller 1f1d02435d overlapping_desc (#277) 2022-06-14 11:29:39 -07:00
Jonas Mueller 7d498a8c39 black formatting (#273) 2022-06-10 10:43:27 -07:00
Jonas Mueller 673c117ba7 code formatting (#271)
* code formatting

* codecov ignore experimental/*
2022-06-10 10:37:22 -07:00
Jonas Mueller d7e9e4b073 docstring clarifications (#270) 2022-06-10 10:36:23 -07:00
Johnson Kuan d902197191 Add KNN distance OOD scoring function and unit tests (#268)
* Add KNN distance OOD scoring function and unit tests

* Update KNN distance OOD scoring function

* Change query_features to features in unit tests for KNN distance OOD scoring function

* Update KNN distance OOD scoring function

* Update tests for KNN distance OOD scoring function to use auto for algo

* Allow k=None for KNN Distance OOD score
2022-06-01 17:14:32 -07:00
MattiaSangermano e1ba5ae25f Developed class that allow the use of cleanlab with tensorflow and huggingface models (#247)
* added class to use cleanlab with tensorflow and huggingface models

* - Documentation refactoring
- predict and predict_proba functions work on new test data too
2022-06-01 17:02:29 -07:00
Johnson Kuan 04877081f3 Add Negative Log Loss Weighting Scheme for Ensemble Label Quality Score (#267)
* Add log_loss_search weighting method for ensemble label quality scoring function

* Update log_loss_search weighting method

* Add test for log_loss_search method

* Add parameter to Ensemble label quality scoring function for t values in log_loss_search method

* Update ensemble label quality scoring function docstring

* Update ensemble label quality scoring function comments

* Update docstring in ensemble label quality scoring function

* Update docstring in ensemble label quality scoring function

* Update docstring in ensemble label quality scoring function

* Modify verbose printout for log_loss_search

* Add clipping of pred_prob when calculating weights for log_loss_search

* Add clipping of pred_prob and renormalization when calculating weights for log_loss_search

* Add comments for log_loss_search weighting scheme
2022-05-26 16:55:04 -07:00
Wei Jing 6a810d0027 Instructions to manually add docs' build artifacts (#234)
* add instructions to manually add docs readme

* fix cloning url and replacement step
2022-05-26 11:51:42 -07:00
Anish Athalye 25b5a95c95 Upgrade to latest version of coverage (#262)
The issue that was introduced in coverage 6.3 has been fixed:
https://github.com/nedbat/coveragepy/issues/1310#issuecomment-1129894701.
We can't just upgrade to `coverage` or `coverage>=6.4` because the
former could install bad versions of coverage (e.g. 6.3), and the latter
is unsupported on Python 3.6, which we want to continue supporting.

This patch just bans coverage 6.3 / 6.3.x, so with Python 3.7+, we'll
use the latest version of coverage, and with Python 3.6, we'll use the
latest supported version of coverage that's not a 6.3 release.
2022-05-24 23:21:48 -07:00
Jonas Mueller 160f6d2259 bump TF version used in docs 2022-05-24 23:19:31 -07:00
Curtis G. Northcutt 7aa34a33ba Fix bug. get thresholds broken for multi_label 2022-05-20 21:55:32 -04:00
Wei Jing 29ef9959c4 Change stable docs link and add Jonas 1:1 session link (#261)
* change stable docs link and Jonas 1:1 session link

* change job description to developer

Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2022-05-19 13:45:26 -07:00
Wei Jing 4aab0b0a56 create latest_release.txt file (#231) 2022-05-19 02:26:46 -07:00
Shuangchi He a3181d2913 Fix line index of CleanLearning(), some text of links, etc. (#260) 2022-05-18 14:04:50 -04:00
Caleb Chiam 6bd6c079fd Use correct name of company (#258) 2022-05-14 12:25:05 -07:00
Anish Athalye 6cb23afa1f Fix link checking (#257)
For some reason, GitHub is returning a 403 to the GitHub actions runner
when it tries to access these URLs. Maybe docs.github.com doesn't allow
access from GitHub actions.
2022-05-12 20:07:09 -07:00
Jonas Mueller a782649680 development instructions for running all examples/ notebooks (#174)
* dev instructions for running all examples/ notebooks

* example local version specification

* missing period
2022-05-10 18:20:17 -07:00
Jonas Mueller 5ca7ae7472 Add print to coveragerc (#251)
* print in coveragerc
2022-05-10 18:01:25 -07:00
Johnson Kuan a1f8be034b Allow users to pass custom weights for ensemble label quality scoring (#255)
* Allow user to pass custom_weights to ensemble scoring method

* Add tests for ensemble scoring with custom_weights

* Add check to make sure length of custom_weights matches len(pred_probs_list)

* Update tests for usage of custom_weights in ensemble scoring
2022-05-10 18:00:28 -07:00
Curtis G. Northcutt 2ff0535410 reorder badges 2022-05-05 03:32:19 -04:00
Curtis G. Northcutt 84cdb98d05 add docs and slack badges to readme 2022-05-05 03:28:13 -04:00
Jonas Mueller de071fa01b Merge pull request #248 from rushic24/feature-sample-weight
FeatureReq #33: Added custom sample_weight
2022-05-04 20:03:35 -07:00
Jonas Mueller 42971ac08b nocover verbose prints 2022-05-04 20:02:41 -07:00
Jonas Mueller 8593018b46 nocover final else+print statement 2022-05-04 19:41:37 -07:00
Jonas Mueller 46b8ca310f remove weight from clf_kwargs 2022-05-04 03:24:58 -07:00
Jonas Mueller 4b1ebbc435 dict copy to avoid update 2022-05-04 03:09:13 -07:00
Jonas Mueller 74c6d5b98c unittest formatting 2022-05-04 02:52:18 -07:00
Jonas Mueller 7ed44c02ad fix sample_weight unit-test 2022-05-04 02:45:15 -07:00