文件历史

提交图

28 次代码提交

作者 SHA1 备注 提交日期
Jonas Mueller 0167accd0a license (#1263)
change license to Apache 2.0

---------

Co-authored-by: Anish Athalye <me@anishathalye.com>
2025-12-15 16:56:30 -08:00
Rahul Aditya b9796a540c Move spurious correlations dataframe to info in Datalab (#1181)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-08-21 00:34:24 +00:00
Rahul Aditya 774f5b4625 Run spurious correlation check for images by default in Datalab (#1171)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-07-30 16:27:22 +00:00
Rahul Aditya d3fd6280f4 Add functionality for finding spurious correlations for image(#1140)
Co-authored-by: Pratham Savaliya <no-reply>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-06-27 15:34:59 +00:00
Sanjana 81e30e654c Update cleanlab/datalab/datalab.py
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-03-11 10:31:03 -07:00
Sanjana Garg 76c6594651 Updated image_key documentation 2024-03-08 12:05:06 -08:00
Elías Snorrason 85823cad3e Validate cleanvision issue types correctly in Datalab.get_issues (#1028) 2024-02-26 11:09:47 +00:00
Elías Snorrason 51a7d218e2 Fix error handling in get_issues method with empty issue dataframes (#1025) 2024-02-24 02:06:30 +00:00
Jonas Mueller 2756d483ab clarifications to datalab documentation (#1010)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-02-14 19:17:03 +00:00
Elías Snorrason 22287faa25 Registry docstring updates (#1007) 2024-02-12 20:15:48 -08:00
Elías Snorrason fd0dcd2c97 Improve the datalab.display module (#1005) 2024-02-12 19:02:42 -08:00
Elías Snorrason d3aba50c4e Multilabel class order (#997)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-02-12 16:09:08 -08:00
Elías Snorrason 16c5866a8b Add Task enum for specifying machine learning task within Datalab (#971) 2024-02-08 15:35:38 -07:00
Elías Snorrason 387ffa3504 Add a show_all_issues  optional argument to Datalab.report() (#970)
Co-authored-by: Sanjana <sanjanag@users.noreply.github.com>
2024-02-07 14:52:00 -07:00
Ganesh Tata 51de77768d Multilabel Issue Manager for Classification (#929)
* Add Multilabel label issue manager

* Add task validation in Datalab constructor

* Add type checks for labels in issue managers

* Refactor code to use Datalab for finding label issues in multi-label classification tutorial

---------

Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-01-24 00:14:04 +00:00
Elías Snorrason 3526e4e8db Clarify knn_graph data ordering/formatting when user-provided (#878)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-01-08 18:23:31 -08:00
Elías Snorrason 2e3608a2d8 Predictions for regression in Datalab (#902)
Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-12-07 04:26:16 +00:00
OrdoAbChao a6d1319327 Introduce regression support to Datalab (#796)
Preleminary work to ensure that default task  (classification) will work smoothly.

Minimal implementation of label issue manager for regression

- issue_finder.py list_possible_issue_types, list_default_issue_types no longer a static methods as they depend on task and modification of get_available_issue_types for regression

* DataIssues with strategy pattern


- moving list_possible_issue_types and list_default_issue_types from the IssueFinder class to cleanlab/datalab/internal/issue_manager_factory.py

* make different strategies for getting available issue types

add test class for the IssueFinder when the task is regression

* apply black formatter

* avoid mapping labels column for regression in Datalab

* Pass in features to LabelIssueManager for regression

---------

Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-11-20 20:28:53 +00:00
Elías Snorrason b0fb8e5f77 Move Datalab internals to dedicated internal module (#783) 2023-07-28 16:18:51 +00:00
Sanjana 944c61379d Cleanvision Integration (#679)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-07-25 15:51:53 +00:00
Elías Snorrason 43e24ba3f6 Make labels optional in Datalab (#730)
* feat(datalab):  make labels optional

* test(datalab):  fix test case for comparing empty list/array
2023-06-05 16:04:13 +00:00
Jonas Mueller 87d9b73fe7 Clarify when datalab quality score is / isnt comparable (#710)
* clarify where quality is / isnt comparable

* clarify comparability of quality scores in docstrings

* tell user not to be worried if they dont understand info

---------

Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-05-11 15:34:34 +00:00
Elías Snorrason 5ee2eb8be9 Drop summary scores from Datalab.report() (#699)
Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
2023-05-04 22:15:41 -04:00
Elías Snorrason f8b11d37b6 refactor(datalab): ♻️ rename get_summary -> get_issue_summary (#691)
This only pertains to Datalab/DataIssues. IssueManager has a different method with the get_summary name that is used in a different way.
2023-05-02 19:15:31 +00:00
Elías Snorrason 2d00c91f40 Update numpy.typing import and annotations (#688)
* refactor: ♻️ move numpy.typing under TYPE_CHECKING and add future annotations
2023-05-01 16:58:48 +00:00
Elías Snorrason ff3bdd1e48 Add a less restrictive Reporter.report() method for Datalab (#680)
Add a new method `Reporter.report()` with fewer restrictions. The existing `get_report()` method is a pure function that returns a string as output. The new `report()` method can have side-effects, such as printing the report.
2023-04-27 18:23:01 +00:00
Elías Snorrason 6353e5473d Improve Datalab docstrings and fix "See also" block (#678)
docs(datalab): 🎨 fix indentation in docstring

docs(datalab): 📝 fix see-also block

docs(datalab): 📝 Set path of info return variable to DataIssues.get_info

Autodoc automatically links "info" to "`info <Datalab.info>`, which is not the expected output.
2023-04-25 22:31:41 +00:00
Elías Snorrason 64edc95630 Introduce Datalab (#614)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Jesse Cummings <jecummin@mit.edu>
Co-authored-by: Jesse Cummings <jecummin@users.noreply.github.com>
Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
2023-04-25 09:26:43 -07:00