提交

提交图

1813 次代码提交

作者 SHA1 备注 提交日期
Jonas Mueller 72a62edac3 Dark plots (#211)
* white background for plot

* fix quote

* darkplot
2022-04-15 02:18:08 -07:00
Jonas Mueller 9dd8420e67 Tutorial header-levels decreased (#210)
* tutorial header-levels decreased

* reduce plot size to docs output window
2022-04-14 21:35:14 -07:00
Anish Athalye c02de9e0c1 Revise migration guide (#209) 2022-04-14 20:49:54 -04:00
Wei Jing d397cdebb6 Add in-depth tutorial [WIP] (#208)
* add in-depth tutorial and remove pandas install in tutorials

Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2022-04-14 17:46:58 -07:00
Curtis G. Northcutt a3b5da6306 fix broken printing of matrices (#207) 2022-04-14 01:08:49 -04:00
Curtis G. Northcutt 269a09d1b3 Fix error in docstring. missing item in tuple 2022-04-13 21:17:22 -07:00
Jonas Mueller b8b6623c1d Merge pull request #203 from anishathalye/doc-fixes
Make minor doc tweaks
2022-04-13 20:11:23 -07:00
Curtis G. Northcutt 0cbe03030e Add from . import dataset to init 2022-04-13 20:02:11 -07:00
Curtis G. Northcutt 08d7f2cdc6 Make fit(verbose) default False. Fix minor bugs. fix black and urls (#204)
* set verbose defaulat false. fix order of printing

* add newline for black format compliance

* fix broken url links in readme
2022-04-13 21:23:01 -04:00
Anish Athalye b305b417ad Make minor doc tweaks 2022-04-13 20:28:21 -04:00
Jonas Mueller a313b03042 Migration guide for v2 (#200)
Co-authored-by: Anish Athalye <me@anishathalye.com>
2022-04-13 16:51:17 -04:00
Jonas Mueller d1a4bc86fd Returns DataFrame type from CleanLearning functions (#199)
* df return type, need tests still

* Add pandas as a dependency

We already decided that pandas will be a dependency of cleanlab (also
used in the dataset module, see
https://github.com/cleanlab/cleanlab/pull/182).

* Tweak documentation

* addressed comments

* remove lazy import

* address 2nd round comments

* unit tests

* improve codecov

* Fix typo

* methods to save more space

* nocover statements for prints

* extra nocover

* nocover warnings

* test docstring formatting

* test docstring formatting2

* test docstring formatting2

* move compress to helper, find-label docs params

* readded stuff lost in merge conflict

* addressed remaining PR review comments

* docs formatting

* docs formatting2

* docs formatting3

* docs formatting4

* docs formatting5

* docs formatting5

* docs formatting6

* docs formatting7

* docs formatting8

* docs formatting9

* docs formatting19

* docs formatting20

* docs formatting20

* docs formatting21

* code formatting

* fix a bug where confident joint isnt computed

The confident joint wasn't getting computed if noise_matrix was passed in and pred_probs was not passed in. But that's bad because it stops workflows like:

```python
cl = CleanLearning()
cl.fit(data, labels, noise_matrix=noise_matrix)
cleanlab.dataset.health_summary(labels, confident_joint=cl.confident_joint)
```

* fixed bug from last commit. code in wrong place.

* print overwrite bugfix

Co-authored-by: Anish Athalye <me@anishathalye.com>
Co-authored-by: Curtis G. Northcutt <curtis.northcutt@gmail.com>
2022-04-13 16:00:41 -04:00
Jonas Mueller 18b784f910 Readme reformat (#198)
* initial readme updates

* code example

* example errors image

* example errors image formatting

* example errors image formatting 2

* restof pulldowns

* rest of pulldowns formatting

* deleted extra details - pulldowns formatting

* pulldowns spacing

* pulldowns spacing

* news bullets

* release note link update

* Fix logo URL

* Fix whitespace errors

* Replace `cleanlab` -> cleanlab

This follows what we do in our documentation (see style guide in
DEVELOPMENT.md).

* Make various fixes and changes

* Hide bibtex behind summary/details

* updated example code for @cgnorthcutt feedback

Updated example code bringing back comments from the old readme, and updated the code snippet to use new CleanLearning API which is far more streamlined.

* example code formatting

* skeleton of migration guide added

* add changelog link

* Make banner logo transparent amazing in dark mode

* add link to docs migration guide

link needs to be verified, total guess

* link formatting fix in img caption

* add dataset module summary

* Major revision of entire README.

Co-authored-by: Anish Athalye <me@anishathalye.com>
Co-authored-by: Curtis G. Northcutt <curtis.northcutt@gmail.com>
2022-04-13 07:50:46 -04:00
Curtis G. Northcutt 56a4ec8bf6 Merge pull request #182 from cgnorthcutt/dataset_module
Introducing the new Dataset Module for cleanlab 2.0
2022-04-12 21:55:21 -07:00
Curtis G. Northcutt c1d27cf0bf Added thorough testing. ready for release. 2022-04-13 00:39:57 -04:00
Curtis G. Northcutt 9cdf5050f5 Clarify joint asymmetry in docs. reset indices in dfs 2022-04-12 23:46:23 -04:00
Anish Athalye 2597e3e81e Make key match function name
This makes it consistent with the other two,
"classes_by_label_quality" and "overlapping_classes".
2022-04-12 09:23:43 -04:00
Anish Athalye 374f6e053a Fix typo 2022-04-12 09:21:29 -04:00
Anish Athalye 8470c72667 Checkpoint addressing Jonas's feedback
Co-Authored-By: Curtis G. Northcutt <curtis.northcutt@gmail.com>
2022-04-11 17:45:33 -04:00
Anish Athalye dc6fa956cb Make a pass over docs 2022-04-11 13:15:43 -04:00
Anish Athalye eae292458f Merge branch 'master' into dataset_module 2022-04-11 12:45:21 -04:00
Curtis G. Northcutt 2cd93ffd7a Add requests as a dev-only dependency for testing 2022-04-10 10:49:48 -04:00
Curtis G. Northcutt 68d9c75e93 Add initial test for dataset module. 2022-04-10 14:38:10 +00:00
Curtis G. Northcutt 0fb2439713 Totally rewritten. class methods merged. now uses pandas. health summary. 2022-04-10 14:37:55 +00:00
Curtis G. Northcutt b65d0fcdac Add pandas as a dependency to cleanlab. 2022-04-10 14:37:06 +00:00
Anish Athalye 0dc384a4ed Merge branch 'docs-cleanup' 2022-04-09 15:16:09 -04:00
Jonas Mueller 2190fb490a Merge pull request #197 from anishathalye/remove-deprecated
Remove deprecated generate_noise_matrix function and test
2022-04-09 12:00:30 -07:00
Anish Athalye e681521ac0 Add note on multiple types 2022-04-09 09:32:51 -04:00
Anish Athalye 63393237d6 Revise noise_generation 2022-04-09 09:25:56 -04:00
Anish Athalye 8770e977d3 Remove deprecated functions
No reason to have any deprecated functions in a backwards-incompatible
release like 2.0.
2022-04-09 09:01:08 -04:00
Anish Athalye 5cf8f74232 Switch to pseudocode math over LaTeX math
In most cases, this looks nicer than the LaTeX math, and it's also more
readable in the terminal.
2022-04-09 08:47:46 -04:00
Anish Athalye aaa141ab7d Revise count 2022-04-09 08:41:08 -04:00
Anish Athalye 4f717c8d8f Have find_label_issues summarize what it does
Thanks @jwmueller:
https://github.com/cleanlab/cleanlab/pull/189#issuecomment-1093652195.
2022-04-09 07:33:24 -04:00
Anish Athalye 5a6fa0bfe3 Make cleanlab.internal a reference-able module 2022-04-09 07:33:24 -04:00
Anish Athalye 5a06c07d2b Revise rank 2022-04-09 07:33:24 -04:00
Anish Athalye 90d6e77ed9 Revise filter 2022-04-09 07:33:24 -04:00
Anish Athalye 133fcc452e Revise classification 2022-04-09 07:33:24 -04:00
Anish Athalye dd9f265912 Make cleanlab.experimental a documented module
This lets us cross-reference it.
2022-04-09 07:33:24 -04:00
Anish Athalye e086fdee74 Standardize how to format names
This follows NumPy style for reST documentation (but not for
Jupyter/Markdown).
2022-04-09 07:33:24 -04:00
Anish Athalye 831d55da6b Revise audio tutorial
This patch also simplifies the code a bit by switching from `os.walk` to
`os.listdir`.
2022-04-09 07:33:24 -04:00
Anish Athalye 993c831294 Revise tabular tutorial 2022-04-09 07:33:24 -04:00
Anish Athalye c8566216bd Revise text tutorial 2022-04-09 07:33:24 -04:00
Anish Athalye acd3d040a5 Revise image tutorial 2022-04-09 07:33:24 -04:00
Anish Athalye d91597e282 Revise pred_probs_cross_val 2022-04-09 07:33:24 -04:00
Anish Athalye d93f9f3337 Revise quickstart 2022-04-09 07:33:24 -04:00
Anish Athalye bf8e82d4bf Add support for LaTeX math in documentation 2022-04-09 07:33:24 -04:00
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 9aef6c73a2 Document documentation standard 2022-04-09 07:33:23 -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