文件历史

提交图

348 次代码提交

作者 SHA1 备注 提交日期
Anish Athalye 49b3717edc Make coarse-grained pass over docs
This patch fixes many of the egregious issues with docs rendering.
2022-04-09 07:33:24 -04:00
Anish Athalye b053a26c05 Add note on rendered docs 2022-04-09 07:33:23 -04:00
Jonas Mueller 973b12205a more specific filter-warning (#193)
Should not be using nonspecific filter-warning in tutorials, that is too broad.
2022-04-08 20:44:12 -07:00
Anish Athalye 0be3c70a6e Move noise_generation into benchmarking module 2022-04-08 20:08:19 -04:00
Anish Athalye ccf6c4abc0 Add a bit of space above the star button 2022-04-08 16:12:16 -04:00
Wei Jing Lok 9c6ce93413 add gh icon to title 2022-04-09 03:21:05 +08:00
Anish Athalye b886e9b289 Merge branch 'anishathalye/markdown-link-checking' 2022-04-07 15:22:45 -04:00
Jonas Mueller f8fe3fe9ee Merge pull request #185 from anishathalye/fast-docs
Add more ergonomic method to skip notebooks
2022-04-07 12:14:26 -07:00
Anish Athalye 6e09aee751 Add link checking for all Markdown files 2022-04-07 10:18:46 -04:00
Anish Athalye c8635bb50c Add more ergonomic method to skip notebooks
This way, developers don't have to edit a file and remember to change it
back before submitting a pull request: that seems error-prone.
2022-04-07 05:53:54 -04:00
Jonas Mueller faac915740 mv example_models -> experimental 2022-04-07 01:25:03 -07:00
Wei Jing 205f503f15 Add figure to out-of-sample pred proba via cv tutorial (#183)
* add image to pred prob cross val tutorial
2022-04-07 00:25:29 -07:00
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
Wei Jing Lok e8be62eee2 delete readthedocs files 2022-03-21 14:55:22 +08:00
Wei Jing Lok 1ffda28bfc add RTD redirecting file 2022-03-18 18:47:53 +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
Wei Jing Lok 6169fdcd43 Add new documentation site 2022-03-01 14:55:51 -05:00
Curtis G. Northcutt 7226e53a14 clarify links 2021-10-18 00:55:10 -04:00
Curtis G. Northcutt 75516980a3 fix broken url for examples 2021-10-18 00:51:45 -04:00
Curtis G. Northcutt 0d6a9d5b37 Add summary of functions to pruning docs 2021-04-19 21:45:30 -04:00
Curtis G. Northcutt bd9aa9c41f Update doc header 2021-04-19 03:13:23 -04:00
Curtis G. Northcutt 7023b6baa7 Clean up docstrings for ReadTheDocs 2021-04-19 02:56:45 -04:00
Curtis G. Northcutt 5e853596d0 lossen requirements for readthedocs 2021-04-18 18:42:54 -04:00
Curtis G. Northcutt bfa2021a87 Add read the docs yaml config file. 2021-04-18 18:40:30 -04:00
Curtis G. Northcutt ad9543de38 Update cleanlab docs with sphinx_rtd formatting 2021-04-18 18:34:53 -04:00
Curtis G. Northcutt 2693d73bd7 Create requirements-doc.txt 2021-04-18 16:30:11 -04:00
Köhler, Jan Niklas 73bf1b8ffe initial sphinx definition 2021-03-22 15:27:37 +01:00