文件历史

提交图

106 次代码提交

作者 SHA1 备注 提交日期
Ulyana 9316cc6704 mypy 2026-01-06 18:26:33 -08:00
Elías Snorrason 7c390f9ac9 Handle new Column types from datasets 4.0.0+ in Datalab (#1267)
* compatibility with Column types in label validation introduced in datasets 4.0.0+

* remove upper bound for datasets dependency pin allow
2025-12-17 16:44:26 +00:00
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
Gaétan Lepage bed10f5bdf Fix numpy2 compatibility (#1224) 2025-01-10 20:06:05 -08:00
Maximilian Joas f7a29560ec Add issue manager for detecting identifier columns in features (#1120)
Co-authored-by: Ganesh Tata <tataganesh95@gmail.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-10-23 14:54:18 +00:00
Rahul Aditya 0620487f86 updating default value of threshold for spurious correlations (#1194) 2024-08-29 17:03:46 +00:00
Jonas Mueller 894a33971f Clarify wording in the correlations report (#1195)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-08-26 15:45:25 +00:00
Elías Snorrason 4b9de93bf2 Increase default threshold for spurious correlations (#1192) 2024-08-21 23:13:07 +00: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
Ganesh Tata 280db6acac Assign cluster score for all underperforming clusters (#1180) 2024-08-15 19:23:42 +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
Elías Snorrason ffdbe77dc6 Enhance knn-based outlier detection in Datalab (#1163) 2024-06-25 15:53:56 +00:00
Elías Snorrason 2a68fd7205 Improve knn graph handling and outlier detection in issue managers (#1155) 2024-06-24 23:49:33 +00:00
Elías Snorrason 30c744a062 underperforming group 'about this issue' print format (#1154)
Fixes #1153
2024-06-19 05:22:17 +00:00
Jonas Mueller 577a0bc770 Update datalab report text with more pointers (#1134)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-06-12 03:15:35 +00:00
Elías Snorrason cd5dee11d3 Update dictionary for deciding on omitting underperforming_group_check (#1135) 2024-06-10 22:31:43 +00:00
Elías Snorrason 25b7aaba7e Improve KNN Graph Construction for Handling Exact Duplicates and Numerical Precision (#1119)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-05-24 14:04:53 +00:00
Martin Zornoza Auñon a043470e34 Refine handling of underperforming_group issue type (#1099)
Co-authored-by: Sanjana Garg <garg.sanjana.95@gmail.com>
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-05-24 13:21:51 +00:00
Martin Zornoza Auñon 3effc12d6a Improve null value checking by switching from np.isnan to pd.isna (#1096) 2024-05-23 02:34:29 +00:00
Elías Snorrason 71ba4b3209 Add a knn module (#1117)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-05-14 13:59:15 -04:00
Elías Snorrason 2cd706976f Use a safer value of median_nn_distance for division in duplicate.py (#1116) 2024-05-04 04:02:53 +00:00
Elías Snorrason b13d27e9b9 Fix numerical instability with Euclidean distance metric (#1113) 2024-05-02 13:24:58 +00:00
Elías Snorrason 13442e2ed4 Use existing Datalab to audit new data for outliers (#1112) 2024-04-24 02:48:23 +00:00
Robin Chaillou 7660b450ca Refine type hint in _process_find_label_issues_kwargs method (#1101)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-04-19 14:28:40 +00:00
Martin Zornoza Auñon 7b4b0690ae Fix doctest issues in cleanlab/datalab/internal/issue_manager/label.py (#1095) 2024-04-12 10:12:52 +00:00
Martin Zornoza Auñon 0221f8b0a1 Fix internal multilabel label (#1087)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-04-10 21:24:18 +00:00
ChG a0f24add61 Use existing Datalab to audit additional new data (#1049)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
2024-04-06 02:51:59 +00:00
ChG b751269fdc Add user-facing cleanlab.data_valuation module (#1050)
Co-authored-by: Elías Snorrason <eliassno@gmail.com>
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-04-04 01:48:20 +00:00
Elías Snorrason 2f2bc1fe18 Refine Scoring and Enhance Stability for Datasets with Identical Examples (#1056)
Enhance numerical stability and scoring accuracy for datasets with identical features

- Adjust minimum median values to 100x machine epsilon to prevent unstable operations.
- Implement specific scoring logic for outlier and near-duplicate issues in datasets with identical features, ensuring correct scores are assigned in such edge cases.
- Introduce unit tests to validate the expected behavior for datasets comprising entirely identical examples. Check an additional case with an extra unique example.

Related to issue #1055.
2024-03-19 12:41:49 +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 ac184552b6 Convert DataFrame features to numpy arrays in null value check (#1045) 2024-03-08 15:43:41 +00: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
Elías Snorrason 6c7705a45b Support features as input for data valuation check in Datalab (#1023) 2024-02-23 00:15:22 -08:00
Elías Snorrason d77625671d Various docs updates (#1015) 2024-02-16 05:59:36 +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 a73dcbf59b Provide typehint in _Displayer (#1008) 2024-02-12 20:34:41 -08:00
Elías Snorrason 22287faa25 Registry docstring updates (#1007) 2024-02-12 20:15:48 -08:00
Elías Snorrason e9f6fb9b6f Refactor display logic in RepresentationStrategy and _Displayer classes (#1006) 2024-02-12 19:06:53 -08:00
Elías Snorrason fd0dcd2c97 Improve the datalab.display module (#1005) 2024-02-12 19:02:42 -08:00
Elías Snorrason 1ed51aa35a Fix issue summary in report.py to omit undetected issue types (#1003)
Co-authored-by: Jonas Mueller <1390638+jwmueller@users.noreply.github.com>
2024-02-12 16:53:10 -08:00
Elías Snorrason 5408abe9bf Class Imbalance issue checker should not run if labels are not provided in Datalab (#1000) 2024-02-12 16:10:09 -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 b25d54f380 Make features optional in Underperforming Group issue check(#999) 2024-02-12 15:46:33 -08:00
Elías Snorrason b640fb5b8f Add underperforming_group issue type among the Datalab defaults (#990)
Closes #910
2024-02-12 08:27:14 -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 5540959173 Add existing issue managers to more tasks (#979)
Co-authored-by: Sanjana <sanjanag@users.noreply.github.com>
2024-02-07 22:05:21 -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