文件历史

提交图

586 次代码提交

作者 SHA1 备注 提交日期
ChG 89866d53b4 make data valuation issue manager user facing (#925)
Co-authored-by: Ganesh Tata <tataganesh95@gmail.com>
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-01-17 17:49:58 +00:00
Elías Snorrason 15bec56103 Rescale ood scores in outlier package (#953)
Co-authored-by: Ulyana <ulya.tkach@gmail.com>
2024-01-17 17:42:23 +00:00
Aditya Thyagarajan ae085b45b5 ensure near-predicted labels are not flagged as label issue (#950)
* ensure near-predicted labels are not flagged as label issue
2024-01-10 11:39:28 +05:30
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 0a03742f52 Refactor batching logic in cleanlab.segmentation.filter.find_label_issues (#918) 2024-01-08 11:30:25 +00:00
Ganesh Tata 5e078339a7 Make Null Issue Manager User-Facing (#927)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-01-05 14:15:29 +00:00
Elías Snorrason 23af72a2bd Near duplicate score transformation (#943) 2024-01-05 01:04:16 +00:00
Elías Snorrason 9ecfea1316 switch rarest class column to given label column (#940)
follow-up to #933
2024-01-03 10:00:56 +00:00
Ganesh Tata b806cba4aa Add imbalance class label to Issues Dataframe (#933)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-01-03 08:35:02 +00:00
Jonas Mueller 7eb9967a0b class imbalance scores to still show rarest proportion even when is_i… (#934)
Co-authored-by: Ganesh Tata <tataganesh95@gmail.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-01-02 16:39:27 +00:00
Ryan Singman bc10585352 Patch: epsilon for near duplicate (#919)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-12-21 13:03:51 +00:00
Yiran Shi 03d5c968b9 Report class metrics for object detection dataset (#877)
* Add support to per-class metrics for Object detection, thanks @Steven-Yiran
2023-12-19 09:22:20 +05:30
Ganesh Tata 15d39c5703 FEAT: Vectorize loops, bug fix (#917)
- Vectorize for loops for speedup
- Get null rows correctly
2023-12-18 15:24:38 +00:00
Kyle Gallatin f3a65b8c18 Issue 873 improve mem find label issues (#885)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-12-15 12:20:40 +00:00
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
Aditya Thyagarajan 09d95dc47f add false negative support for ObjectLab2D (#883)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-11-21 18:39:18 +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
Ulyana a28f0f1dad Uly dataset health (#875)
* Remove datasets from the tutorial that are logits
* Update dataset code
* Change hardcoded expected score in datalab tests
2023-10-25 01:21:58 +00:00
Yiran Shi 902fb487c9 Functions to explore object detection dataset (#840)
Add dataset summary functions+plots to object detection.
---------

Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Ulyana <ulyana@cleanlab.ai>
2023-10-16 13:17:05 -07:00
Aditya Thyagarajan ffbddc3a9e mypy linting (#864)
* mypy linting

* summary without type check

* Add test to confirm np.array can be passed into visualize

---------

Co-authored-by: Ulyana <ulya.tkach@gmail.com>
2023-10-05 15:54:53 -07:00
Tata Ganesh 6d45971cf8 List comprehension to numpy ops for efficiency (#844)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-09-20 19:19:51 +00:00
Jonas Mueller 7257696693 bump version past latest release (#849) 2023-09-16 19:05:33 -07:00
Jonas Mueller fc39a86cad bump version (#835) 2023-09-06 16:05:55 -07:00
Jonas Mueller 6f605c35f2 clarify transformed scores returned, not mathematical definitions in certain label quality scores (#841) 2023-09-05 18:14:37 -07:00
Sanjana a6a79dd9bb Merge branch 'cleanlab:master' into image-tutorial 2023-09-01 15:05:26 +01: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
Ulyana 977f52af6e Update objectlab docstring for clarity (#833) 2023-08-30 13:39:58 -07: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
ChG 4250f5925d Add GEN out-of-distribution detection method (#800)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2023-08-29 22:30:59 -07:00
Elías Snorrason 4ce9f771c8 Unify softmax implementations (#826)
* unify softmax implementations

* Refine mypy type hint in _set_fine_search_range function

- Update type hint for `min_entropy_ind` from built-in `int` to `np.intp`.
  - This refinement addresses a type compatibility warning.
  - `np.intp` is the integer type used by numpy for indexing and can differ in size from the built-in Python `int` depending on the platform (32-bit vs 64-bit).
  - Mypy highlighted this type hint discrepancy.

* add unit tests for softmax

---------

Co-authored-by: Hui Wen <45724323+huiwengoh@users.noreply.github.com>
2023-08-30 00:22:05 +00: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
Hui Wen 21b82a325e Add note/faq about how to speed up regression.learn.CleanLearning runtime (#830)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2023-08-28 01:36:05 -04:00
Aditya Thyagarajan a497b38c28 change thresholding class-wise for ObjectLab (#804)
* Adding support for per-class thresholding for ObjectLab
2023-08-26 05:06:00 +05:30
Tata Ganesh d37a7d8d85 Expose low memory option for token and multi-label classification (#822) 2023-08-23 01:14:29 -04:00
Hui Wen 0adce8290f 50x speedup for multiannotator module (#821) 2023-08-16 18:39:06 -07:00