提交

提交图

1485 次代码提交

作者 SHA1 备注 提交日期
Jonas Mueller 766c13b646 Make dataset tutorial runnable on website docs, improve pulldown formatting (#220)
* tutorial runnable on website, pulldown formatting

* add note re pulldown for colab users

* darkDF, remove auto-overflow handling

* tell colab users they can ignore bottom checks
2022-04-16 14:56:44 -07:00
Jonas Mueller 335586fba3 Merge pull request #221 from weijinglok/add-v101-toc
Add v1.0.1 hyperlink in doc site
2022-04-16 14:28:30 -07:00
Wei Jing Lok bf0239b28b hardcode v1.0.1 to doc toc 2022-04-17 04:01:02 +08:00
Jonas Mueller f702b329da Merge pull request #219 from weijinglok/fix-doc-deploy
Deploy docs when new release is tagged
2022-04-16 11:40:10 -07:00
Wei Jing Lok 31d2f2dbd7 add condition to deploy if ref_type is tag 2022-04-16 23:17:48 +08:00
Curtis G. Northcutt 966acf8a61 final tutorial edits. dataset docstrings imp (#217)
* final tutorial edits. dataset docstrings imp

* add back instructions for user installation

* remove useless pycharm metadata.

* remove extraneous comma
2022-04-15 23:00:17 -04:00
Jonas Mueller 57733c704d Formats dataset health tutorial (#216)
* dataset health tutorial pulldown format

* tutorial ordering in sidebar

* pulldown format, bullet format

* reformat pulldown indepth tutorial

* shorten data fetching header

* adjust spacing
2022-04-15 18:15:23 -07:00
Curtis G. Northcutt cd7f0a2f0e improvements to dataset example on quickstart 2022-04-15 21:11:28 -04:00
Curtis G. Northcutt ee6494de4d Small clarification in docstring 2022-04-15 20:54:34 -04:00
Johnson Kuan aa892c6243 Merge pull request #215 from JohnsonKuan/tutorial-df-format
Configure display setting of Dataframe in 2.0 tutorial
2022-04-15 16:57:52 -07:00
Curtis G. Northcutt 854478bdc0 Remove links to functions in dataset example 2022-04-15 19:51:15 -04:00
Johnson Kuan 1de5853043 Move HTML df display settings 2022-04-15 16:29:58 -07:00
Johnson Kuan 7ea03c6dbe Move HTML df display settings 2022-04-15 16:29:27 -07:00
Curtis G. Northcutt e971350795 Clarify and fix several docstrings. (#214)
* Clarify and fix several docstrings.

* Adjustments based on Jonas's comments.

* fix typo
2022-04-15 19:06:45 -04:00
Johnson Kuan 09432eb7b6 Configure DataFrame style 2022-04-15 15:57:05 -07:00
Johnson Kuan 3f51b3ef0f Update doc conf.py 2022-04-15 15:52:40 -07:00
Johnson Kuan 9879428c6b Configure DataFrame style 2022-04-15 15:47:13 -07:00
Curtis G. Northcutt d801056513 Dataset example to main page. cl2 tutorial to top 2022-04-15 18:34:00 -04:00
Johnson Kuan e7d0dd69cc Merge branch 'cleanlab:master' into master 2022-04-15 15:33:44 -07:00
Wei Jing 22e23955bb add spaces at end of docs side navbar (#213) 2022-04-15 12:35:07 -07:00
Curtis G. Northcutt fac6c112aa health_summary bug fixes + notebook support (#212)
* bug fixes and jupyter notebook support added

* Increase test coverage.

* Fix bug. will always try to display if possible.
2022-04-15 14:54:00 -04:00
Johnson Kuan cff29fa0f3 Modify docs conf.py 2022-04-15 11:51:13 -07:00
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