提交

897 次代码提交

作者 SHA1 备注 提交日期
Jonas Mueller 73f947e952 Address tutorial points of confusion (#233)
CI / Test: Python 3.9 on macos-latest (push) Has been cancelled
CI / Test: Python 3.8 on windows-latest (push) Has been cancelled
CI / Test: Python 3.9 on windows-latest (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Lint Notebooks (push) Has been cancelled
CI / Test: Python 3.10 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.10 on macos-latest (push) Has been cancelled
CI / Test: Python 3.6 on macos-latest (push) Has been cancelled
CI / Test: Python 3.7 on macos-latest (push) Has been cancelled
CI / Test: Python 3.8 on macos-latest (push) Has been cancelled
CI / Test: Python 3.6 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.7 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.8 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.9 on ubuntu-latest (push) Has been cancelled
CI / Test: Python 3.10 on windows-latest (push) Has been cancelled
CI / Test: Python 3.6 on windows-latest (push) Has been cancelled
CI / Test: Python 3.7 on windows-latest (push) Has been cancelled
GitHub Markdown Links / test (push) Has been cancelled
* address tutorial points of confusion

* fix typo indices k --> num_classes - 1

Co-authored-by: Curtis G. Northcutt <curtis.northcutt@gmail.com>
v2.0.0
2022-04-20 14:46:13 -04:00
Anish Athalye 79a7e8af82 Make small fixes (#235) 2022-04-20 14:16:14 -04:00
Caleb Chiam 31c939ff9a Generalize text tutorial to multiclass datasets (#229)
* generalize text tutorial to multiclass datasets

* fixed typo

* fixed misspelling

* separate cell for num_classes

less likely to be missed if users skip the previous cell to load their own datasets

* removing pycharm metadata

* print classes

Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2022-04-18 21:34:32 -07:00
Caleb Chiam 73607198b3 Update README.md (#226)
nit: The ` and ' around "clean lab" don't match. Even after fixing that, it looked unappealing, so removing it altogether.

Proofreading: fixed some typos, misspellings + improved grammar
2022-04-18 21:21:11 -04:00
Wei Jing 7a8104c83f Add tutorial toc page (#230)
* add tutorials index page

* update link to all tutorials

* fix old readme links

Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2022-04-18 13:02:24 -07:00
Wei Jing 35312c4180 Merge pull request #228 from anishathalye/unneeded-alt-text
Remove unneeded alt text
2022-04-19 03:55:43 +08:00
Anish Athalye 6eca467809 Remove unneeded alt text
The anchor already says "Run in Google Colab", so if the logo fails to
load, it will say "Google Colab Logo Run in Google Colab"; it's better
to have the alt text just be empty.
2022-04-18 08:10:44 -06:00
Wei Jing 1746e630ad Merge pull request #225 from jwmueller/readme_links
Update readme links for v2.0
2022-04-18 22:07:06 +08:00
Jonas Mueller 6e064f6618 Update readme links for v2.0 2022-04-17 20:57:11 -07:00
Curtis G. Northcutt d8ab4e910b fix black formatting compliance (#224)
* fix black formatting compliance

* remove codecov for verbose statements
2022-04-17 21:57:15 -04:00
Jonas Mueller ecca2ab0a6 Bump version to 2.0.0 (#222)
* bump version

* Add brief release notes. see release for extensive

Co-authored-by: Curtis G. Northcutt <curtis.northcutt@gmail.com>
2022-04-16 18:55:11 -04:00
Jonas Mueller d7c128cd93 Final docs polishing patches (#223)
* plot_examples named with can skip

* respecify auto overflow handling
2022-04-16 15:46:32 -07:00
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