Skip to content

Commit ce6a83c

Browse files
crismunozKleyt0nandrelfnovaesdependabot[bot]fracarfer5
authored
Update Main Branch (#279)
* chore: update files for new gitflow (#227) Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4.1.7...v4.2.2) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump actions/setup-python from 5.2.0 to 5.3.0 (#251) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.2.0 to 5.3.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5.2.0...v5.3.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: New Robustness Regression Attacker: Ridge Poissoner (#241) --------- Co-authored-by: Cristian Muñoz <cristian.munoz@holisticai.com> * feat: new xai metrics based on globa feature importance, local feature importance and surrogate (#255) --------- Co-authored-by: Kleyton da Costa <kleyton.vsc@gmail.com> * chore: Improve Accuracy Degradation Profile Documentation (#249) --------- Co-authored-by: crismunoz <crisstrink@gmail.com> * docs:update tutorials (#257) --------- Co-authored-by: crismunoz <crisstrink@gmail.com> * add: bias tradeoff example (#266) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kleyton da Costa <44351707+Kleyt0n@users.noreply.github.com> Co-authored-by: andrelfnovaes <40208986+andrelfnovaes@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Franklin Cardenoso <44931423+fracarfer5@users.noreply.github.com> Co-authored-by: Kleyton da Costa <kleyton.vsc@gmail.com>
1 parent b7fff06 commit ce6a83c

File tree

8 files changed

+222
-1848
lines changed

8 files changed

+222
-1848
lines changed

docs/source/getting_started/datasets.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ For example, if we want to load the Adult dataset, we can use the following code
2222

2323
.. code-block:: python
2424
25-
from holisticai.datasets import load_adult
25+
from holisticai.datasets import load_hai_datasets
2626
27-
data, target = load_adult(return_X_y=True)
27+
data, target = load_hai_datasets(dataset_name="adult")
2828
2929
.. _processed_datasets:
3030

@@ -49,4 +49,4 @@ You can use this processed datasets using the function load_dataset from holisti
4949
5050
from holisticai.datasets import load_dataset
5151
52-
dataset = load_dataset(dataset_name="adult", processed=True, protected_attribute="sex")
52+
dataset = load_dataset(dataset_name="adult", preprocessed=True, protected_attribute="sex")
Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
Student,load_student,"Student performance dataset, used to predict students' grades based on various features."
2-
Adult,load_adult,"Adult dataset, used for income classification tasks based on census data."
3-
Law School,load_law_school,"Law school admission dataset, used to predict law school admission based on various features."
4-
Last FM,load_last_fm,"Last FM dataset, used for music recommendation tasks based on user listening history."
5-
US Crime,load_us_crime,"US Crime dataset, used to analyze and predict crime rates based on various socio-economic factors."
6-
Heart,load_heart,"Heart failure clinical records dataset, used to predict heart failure events based on clinical features."
7-
German Credit,load_german_credit,"German Credit dataset, used for credit risk classification based on financial and demographic factors."
8-
Census KDD,load_census_kdd,"Census KDD dataset, used for income prediction based on detailed census data."
9-
Bank Marketing,load_bank_marketing,"Bank Marketing dataset, used to predict whether a client will subscribe to a term deposit based on direct marketing campaigns."
10-
Compas,load_compas_two_year_recid/load_compas_is_recid,"COMPAS dataset, used for recidivism prediction and analyzing bias in criminal justice algorithms."
11-
Diabetes,load_diabetes,"Diabetes dataset, used for predicting the onset of diabetes based on health features."
12-
ACS Income,load_acsincome,"American Community Survey Income dataset, used to predict income levels based on demographic and socioeconomic data."
13-
ACS Public Coverage,load_acspublic,"American Community Survey Public Coverage dataset, used to analyze public health insurance coverage based on demographic data."
1+
Student,load_hai_dataset("student"),"Student performance dataset, used to predict students' grades based on various features."
2+
Adult,load_hai_dataset("adult"),"Adult dataset, used for income classification tasks based on census data."
3+
Law School,load_hai_dataset("law_school"),"Law school admission dataset, used to predict law school admission based on various features."
4+
Last FM,load_hai_dataset("lastfm"),"Last FM dataset, used for music recommendation tasks based on user listening history."
5+
US Crime,load_hai_dataset("us_crime"),"US Crime dataset, used to analyze and predict crime rates based on various socio-economic factors."
6+
Clinical Records,load_hai_dataset("clinical_records"),"Heart failure clinical records dataset, used to predict heart failure events based on clinical features."
7+
German Credit,load_hai_dataset("german_credit"),"German Credit dataset, used for credit risk classification based on financial and demographic factors."
8+
Census KDD,load_hai_dataset("census_kdd"),"Census KDD dataset, used for income prediction based on detailed census data."
9+
Bank Marketing,load_hai_dataset("bank_marketing"),"Bank Marketing dataset, used to predict whether a client will subscribe to a term deposit based on direct marketing campaigns."
10+
Compas,load_hai_dataset("compas_two_year_recid"),"COMPAS dataset, used for recidivism prediction and analyzing bias in criminal justice algorithms."
11+
Compas,load_hai_dataset("compas_is_recid"),"COMPAS dataset, used for recidivism prediction and analyzing bias in criminal justice algorithms."
12+
Diabetes,load_hai_dataset("diabetes"),"Diabetes dataset, used for predicting the onset of diabetes based on health features."
13+
ACS Income,load_hai_dataset("acsincome"),"American Community Survey Income dataset, used to predict income levels based on demographic and socioeconomic data."
14+
ACS Public Coverage,load_hai_dataset("acspublic"),"American Community Survey Public Coverage dataset, used to analyze public health insurance coverage based on demographic data."

docs/source/reference/datasets.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,4 @@
3333
:template: function.rst
3434
:toctree: .generated/
3535

36-
load_adult
37-
load_last_fm
38-
load_law_school
39-
load_student
40-
load_us_crime
36+
load_hai_datasets

0 commit comments

Comments
 (0)