文件历史

提交图

474 次代码提交

作者 SHA1 备注 提交日期
Jonas Mueller 423e5b0a07 Polish the APIs and file-structure to prepare for 2.0 release (#181)
* Makes some methods private that are not intended to be user-facing.
* Adds experimental module with fasttext.py and coteaching.py
* Adds header descriptions to code files which will render in docs
* Many miscellaneous fixes
2022-04-06 21:04:06 -07:00
Wei Jing Lok 7bf445aa4b update docs readme 2022-04-07 08:52:52 +08:00
Curtis G. Northcutt c4e84624e9 CleanLearning = Machine Learning with cleaned data (#177)
* CleanLearning = Machine Learning with cleaned data

* Replace lnl instance naming with cl everywhere (CleanLearning)

* replace rp (rank pruning) with cl (clearn learning) everywhere

* Clarifying comments. remove unnecessary newlines. fix spelling err
2022-04-06 17:33:04 -04:00
Jonas Mueller d3eb08e75a added LearningWithNoisyLabels.find_label_issues instance method (#157)
* added LearningWithNoisyLabels.find_label_issues instance method

* LNL.find_label_issues no longer memoizes

* verbose unit test coverage

* Fixed all issues in PR. Fixed confident joint usage in LNL.find_label_issues. Fixed other minor bugs. Added tests

Co-authored-by: Curtis G. Northcutt <curtis.northcutt@gmail.com>
Co-authored-by: Anish Athalye <me@anishathalye.com>
2022-04-06 12:24:27 -04:00
Jonas Mueller a3bac68c26 Various tutorial improvements (#173)
* language/formatting/dependencies improvements for tutorials

* hidden cell tests enhanced

* fix num_crossval_folds usage
2022-04-05 21:20:40 -07:00
Wei Jing 7247b09aa1 Add test to check examples are found by cleanlab (#172)
* test that highlighted issues in notebooks are found by cleanlab
2022-04-05 17:17:31 -07:00
Wei Jing dcdb8905bb improve image tutorial model (#167) 2022-04-05 13:20:22 -07:00
Anish Athalye a903c4c022 Add CI check for trailing newlines in notebooks
The rendered docs don't look good when code cells have trailing
newlines.
2022-04-05 08:32:24 -04:00
Anish Athalye 6cac342613 Add CI check that .ipynb outputs are empty
Preserving the output cells in Jupyter notebooks that are checked in to
this repo bloat the repo size, and keeping the output is not necessary
because the notebooks are run as part of the CI for producing docs.

For example, in https://github.com/cleanlab/cleanlab/pull/165, the
`audio.ipynb` is 112K (and now part of the repo history forever), while
clearing the output cells reduces that size down to 24K. I suspect that
Git's delta compression will also work better without the output cells
there as we make changes to the notebook. Also, the diffs will be more
readable.
2022-04-05 08:15:54 -04:00
Wei Jing 080c7a841c Add overview for computing out-of-sample predicted probabilities with cross-validation to doc site (#166)
* add pred probs cross val tutorial

Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2022-04-05 03:34:30 -07:00
Wei Jing 5b6d297b6c Add audio tutorial to doc site (#165)
* add audio tutorial
2022-04-05 03:16:07 -07:00
Wei Jing 1f60745b2c add text tutorial, update notebook titles and naming conventions (#154) 2022-04-04 20:56:34 -07:00
Jonas Mueller 3f17be685e Minor tutorial edits (#155)
* remove whats next in tutorial

* capitalize tutorial title
2022-04-01 08:45:58 -07:00
Wei Jing Lok d5dc5564e5 add tabular tutorial 2022-04-01 09:59:01 +08:00
Jonas Mueller 1247f165f2 Improve user-control (#149)
* improved language in docs Quickstart

* LearningWithNoisyLabels refactor to improve API flexibility and UX

* fix LearningWithNoisy rare label handling

* additional arg-checking unit tests
2022-03-30 08:18:38 -07:00
Wei Jing 4c9fb124b1 update quickstart to reflect v2.0 API (#143) 2022-03-28 15:44:41 -07: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
Wei Jing Lok 034eb80061 Change .ipynb files to use master ver of cleanlab 2022-03-27 17:45:05 +08:00
Jonas Mueller 9d1fb54842 Merge pull request #136 from weijinglok/fix-toc
Fix docs TOC for v2.0
2022-03-23 14:23:38 -07:00
Wei Jing Lok da686a4006 update doc toc for 2.0 2022-03-24 03:28:14 +08:00
Wei Jing Lok 2b9a7123ed remove extra slash in rel path 2022-03-24 01:03:45 +08:00
Wei Jing aca683ec80 Add image classification tutorial and streamline docs CI/CD (#127) 2022-03-22 19:34:27 -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
Wei Jing Lok 6169fdcd43 Add new documentation site 2022-03-01 14:55:51 -05:00