Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"common_configuration": {
"problem_type": "multiclass",
"label_column": "DRUG",
"input_data_schema": {
"type": "struct",
"fields": [
{
"name": "AGE",
"type": "long",
"nullable": true,
"metadata": {
"modeling_role": "feature"
}
},
{
"name": "SEX",
"type": "string",
"nullable": true,
"metadata": {
"modeling_role": "feature",
"measure": "discrete"
}
},
{
"name": "BP",
"type": "string",
"nullable": true,
"metadata": {
"modeling_role": "feature",
"measure": "discrete"
}
},
{
"name": "CHOLESTEROL",
"type": "string",
"nullable": true,
"metadata": {
"modeling_role": "feature",
"measure": "discrete"
}
},
{
"name": "NA",
"type": "double",
"nullable": true,
"metadata": {
"modeling_role": "feature"
}
},
{
"name": "K",
"type": "double",
"nullable": true,
"metadata": {
"modeling_role": "feature"
}
},
{
"name": "DRUG",
"type": "string",
"nullable": true,
"metadata": {}
}
]
},
"feature_fields": [
"AGE",
"SEX",
"BP",
"CHOLESTEROL",
"NA",
"K"
],
"categorical_fields": [
"SEX",
"BP",
"CHOLESTEROL"
]
},
"explainability_configuration": {
"feature_columns": [
"AGE",
"SEX",
"BP",
"CHOLESTEROL",
"NA",
"K"
],
"categorical_columns": [
"SEX",
"BP",
"CHOLESTEROL"
],
"feature_values": {
"0": [
1,
0,
3,
2
],
"1": [
1,
0
],
"2": [
0,
1,
2
],
"3": [
0,
1
],
"4": [
1,
0,
2,
3
],
"5": [
1,
2,
3,
0
]
},
"feature_frequencies": {
"0": [
24,
24,
22,
23
],
"1": [
46,
47
],
"2": [
27,
35,
31
],
"3": [
51,
42
],
"4": [
23,
24,
23,
23
],
"5": [
23,
23,
23,
24
]
},
"class_labels": [
"drugA",
"drugB",
"drugC",
"drugX",
"drugY"
],
"categorical_columns_encoding_mapping": {
"1": [
"F",
"M"
],
"2": [
"HIGH",
"LOW",
"NORMAL"
],
"3": [
"HIGH",
"NORMAL"
]
},
"d_means": {
"0": [
25.041666666666668,
38.541666666666664,
52.56521739130435,
66.77272727272727
],
"4": [
0.5337687083333332,
0.6277524782608694,
0.7490793478260869,
0.8357347391304348
],
"5": [
0.027481000000000005,
0.04314726086956521,
0.05919339130434784,
0.07265217391304347
]
},
"d_stds": {
"0": [
4.920020042877937,
3.6512459821676284,
4.679521407687813,
4.521984863699619
],
"4": [
0.018658267932646622,
0.033588532618187394,
0.022836053915304525,
0.03591834184644583
],
"5": [
0.003966101990114312,
0.004587145795091879,
0.004930648496665299,
0.0037917955311353477
]
},
"d_maxs": {
"0": [
32.0,
45.0,
59.0,
74
],
"4": [
0.559294,
0.6851430000000001,
0.785251,
0.896056
],
"5": [
0.035144,
0.04991,
0.06667999999999999,
0.07890599999999999
]
},
"d_mins": {
"0": [
16,
32.0,
45.0,
59.0
],
"4": [
0.5019560000000001,
0.559294,
0.6851430000000001,
0.785251
],
"5": [
0.020022,
0.035144,
0.04991,
0.06667999999999999
]
},
"d_bins": {
"0": [
32.0,
45.0,
59.0
],
"4": [
0.559294,
0.6851430000000001,
0.785251
],
"5": [
0.035144,
0.04991,
0.06667999999999999
]
},
"base_values": {
"1": "F",
"2": "LOW",
"3": "HIGH",
"0": 45.0,
"4": 0.6851430000000001,
"5": 0.04991
},
"stds": {
"0": 16.1168843141401,
"4": 0.11901356312682564,
"5": 0.01757776505563931
},
"mins": {
"0": 16,
"4": 0.5019560000000001,
"5": 0.020022
},
"maxs": {
"0": 74,
"4": 0.896056,
"5": 0.07890599999999999
},
"categorical_counts": {
"1": {
"M": 46,
"F": 47
},
"2": {
"HIGH": 27,
"LOW": 35,
"NORMAL": 31
},
"3": {
"HIGH": 51,
"NORMAL": 42
}
}
},
"fairness_configuration": {
"parameters": {
"features": [
{
"type": "string",
"feature": "SEX",
"majority": [
"M"
],
"minority": [
"F"
],
"threshold": 0.8
}
],
"favourable_class": [
"drugA",
"drugC"
],
"unfavourable_class": [
"drugB",
"drugX",
"drugY"
],
"min_records": 10
},
"distributions": [
{
"attribute": "SEX",
"distinct_values": [
"F",
"M"
],
"class_labels": [
{
"label": "F",
"counts": [
{
"class_value": "drugA",
"count": 2
},
{
"class_value": "drugB",
"count": 1
},
{
"class_value": "drugC",
"count": 3
},
{
"class_value": "drugX",
"count": 19
},
{
"class_value": "drugY",
"count": 22
}
]
},
{
"label": "M",
"counts": [
{
"class_value": "drugA",
"count": 4
},
{
"class_value": "drugB",
"count": 2
},
{
"class_value": "drugC",
"count": 5
},
{
"class_value": "drugX",
"count": 17
},
{
"class_value": "drugY",
"count": 18
}
]
}
]
},
{
"attribute": "DRUG",
"is_class_label": true,
"distinct_values": [
"drugY",
"drugB",
"drugX",
"drugA",
"drugC"
]
}
]
},
"notebook_version": 2.0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.