文件历史

提交图

44 次代码提交

作者 SHA1 备注 提交日期
Ganesh Tata 4ad0b6e001 Add Class Imbalance issue type to Datalab defaults (#912) 2023-12-14 17:52:41 +00:00
Ganesh Tata e25a14772b Make underperforming group issue type user facing in Datalab (#907)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-12-13 16:56:21 +00:00
Gibson Han e90dea60c7 702 - Shorten Refs of classes and functions (#831)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
Co-authored-by: tataganesh <tataganesh95@gmail.com>
2023-12-07 13:37:16 +00: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
Ganesh Tata dee32ad9a1 Underperforming Group Issue Type (#838)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-11-30 16:27:27 +00:00
Elías Snorrason e9ee35f075 Test properties of near duplicate sets (#895)
* create and test strategy for generating knn_graph as test inputs

* test strategy for generating knn_graphs

- Each row has the distances sorted in ascending order in the csr-format.
- The indices of the neighbors are unique within a column and don't have the query point as a neighbor.
- If points a and b are mutual neighbors, they have the same distance between them.

* add property based tests for near-duplicate sets

* flag near-duplicate issues based on items in near duplicate sets.
2023-11-28 15:06:48 +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
ChG 5fbf6c0493 Add Data Valuation Issue Manager (#850)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-11-06 17:04:57 +01:00
Elías Snorrason 0344afcf8b Address mypy issue (#879) 2023-11-01 03:49:07 +00:00
ABHIJIT PAL ccb4a90e38 Extend non-iid issue check to run if only pred_probs are provided (#857)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-10-30 02:55:53 +00:00
ABHIJIT PAL 69c8c5318c Add Null Issue Manager (#856)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-10-30 02:42:54 +00:00
Sanjana Garg 2082b993b8 Overwrite threshold only for low information 2023-09-01 09:46:11 -04:00
Sanjana Garg a26f8d4861 Added suggested change in review 2023-08-31 09:37:51 -04:00
Sanjana 8b2b4925e1 Update cleanlab/datalab/internal/adapter/imagelab.py
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-08-31 14:32:47 +01:00
Sanjana f4dcef6a61 Update cleanlab/datalab/internal/adapter/imagelab.py
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-08-31 14:32:36 +01:00
Sanjana Garg 9a655a9e20 Merge branch 'image-tutorial' of https://github.com/sanjanag/cleanlab into image-tutorial 2023-08-30 19:15:22 -04:00
Sanjana Garg 1ed9989685 Added code for filtering out cleanvision issues present in more than 10% of the dataset and changed threshold for low_information issue 2023-08-30 20:48:58 +01:00
Sanjana Garg ee1279cff0 Added code for filtering out cleanvision issues present in more than 10% of the dataset and changed threshold for low_information issue 2023-08-30 15:32:02 -04:00
Tata Ganesh fd2506c6b0 Use rare class proportion instead of mean values for imbalance score (#828)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-08-28 14:24:24 +00:00
Tata Ganesh 62980c1334 Catch NotFitted exception for knn (#825) 2023-08-28 14:08:02 +00:00
Elías Snorrason 0d7a7df234 remove cleanlab/datalab/examples directory (#803) 2023-08-10 18:05:22 +00:00
Elías Snorrason 571e2b2d37 Add __init__.py to enable imports from cleanlab.datalab.internal (#793) 2023-08-02 11:25:51 -04:00
Tata Ganesh 3d50b9859d Add imbalance issue to datalab (#758)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-07-28 18:42:15 +00:00
Elías Snorrason b0fb8e5f77 Move Datalab internals to dedicated internal module (#783) 2023-07-28 16:18:51 +00:00
Yiran Shi bc78816341 Label Issue Detection Extention (#760)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
2023-07-27 15:43:34 -04:00
Elías Snorrason cc0fb470d9 Update near-duplicate sets (#781) 2023-07-26 17:12:20 +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
Elías Snorrason 375c76fcea Include non-iid in default issue checks (#723)
* flag no more than one example having non-iid issue

* feat(datalab):  add non-iid to default issue checks
2023-05-19 20:30:01 +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 7400051a95 Fix unbound knn variable in NonIIDIssueManager (#709) 2023-05-10 21:38:47 -07:00
Elías Snorrason fcc9417a3d Simplify reporting for outlier issues (#705) 2023-05-10 01:49:17 +00:00
Elías Snorrason c41c837e43 Set non iid num issues with an extra rule (#707)
* feat(datalab): 👔 count number of non-iid issues differently

* fix broken seeding test

* add significance threshold as a parameter

* docs(datalab): 📝 add docs on significance_threshold argument for non-iid issue manager

* test(datalab):  add more end-to-end tests for non-iid issue checks with Datalab

---------

Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-05-10 01:33:25 +00:00
Sanjana cf5d2a02eb Added installation instructions for package extras (#697)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
Co-authored-by: huiwengoh <45724323+huiwengoh@users.noreply.github.com>
2023-05-09 15:19:24 -04:00
Elías Snorrason be1bd6903d Seed noniid permutation tests (#694) 2023-05-08 22:50:11 -07: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
Jonas Mueller a95a447010 Update tests for custom issue manager example (#692)
* issuemanager.get_summary->make_summary

* test(datalab): ♻️ move tests for issue managers into their respective test modules

* test(datalab):  add tests for custom issue manager
- Validate scores provided to IssueManager.make_summary
- Move fixture for custom issue manager to conftest.py
- Test make_summary on a "custom" IssueManager

* test(datalab): add __init__.py for discoverability of issue manager tests

---------

Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-05-03 00:40:27 +00: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 9ee78be626 Fix report output formatting (#687)
Co-authored-by: huiwengoh <45724323+huiwengoh@users.noreply.github.com>
2023-04-28 15:17:41 -04:00
Elías Snorrason 5650a87d85 Remove the "health_summary_kwargs" dictionary argument from LabelIssueManager (#683) 2023-04-28 00:01:05 +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