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"name": "UCI_Model",
3
+ "version": "0.1",
4
+ "short_description": "UCI Adult Data analysis using Tensorflow for demonstration of Patra Model Cards.",
5
+ "full_description": "We have trained a ML model using the tensorflow framework to predict income for the UCI Adult Dataset. We leverage this data to run the Patra model cards to capture metadata about the model as well as fairness and explainability metrics.",
6
+ "keywords": "uci adult, tensorflow, explainability, fairness, patra",
7
+ "author": "neelk",
8
+ "input_type": "Tabular",
9
+ "category": "classification",
10
+ "citation": "Becker, B. & Kohavi, R. (1996). Adult [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C5XW20.",
11
+ "input_data": "https://archive.ics.uci.edu/ml/datasets/adult",
12
+ "output_data": "https://huggingface.co/nkarthikeyan/neelk-uci_model-0.1",
13
+ "foundational_model": "None",
14
+ "ai_model": {
15
+ "name": "Tensorflow Model",
16
+ "version": "0.1",
17
+ "description": "Census classification problem using TensorFlow Neural Network using the UCI Adult Dataset",
18
+ "owner": "Neelesh Karthikeyan",
19
+ "location": "https://huggingface.co/nkarthikeyan/neelk-uci_model-0.1/blob/main/neelk-uci_model-0.1.h5",
20
+ "license": "BSD-3 Clause",
21
+ "framework": "tensorflow",
22
+ "model_type": "dnn",
23
+ "test_accuracy": 0.7663135528564453,
24
+ "inference_label": "",
25
+ "model_structure": {
26
+ "module": "keras",
27
+ "class_name": "Sequential",
28
+ "config": {
29
+ "name": "sequential",
30
+ "trainable": true,
31
+ "dtype": {
32
+ "module": "keras",
33
+ "class_name": "DTypePolicy",
34
+ "config": {
35
+ "name": "float32"
36
+ }
37
+ },
38
+ "layers": [
39
+ {
40
+ "module": "keras.layers",
41
+ "class_name": "InputLayer",
42
+ "config": {
43
+ "batch_shape": [
44
+ 100
45
+ ],
46
+ "dtype": "float32",
47
+ "sparse": false,
48
+ "ragged": false,
49
+ "name": "input_layer"
50
+ }
51
+ },
52
+ {
53
+ "module": "keras.layers",
54
+ "class_name": "Dense",
55
+ "config": {
56
+ "name": "dense",
57
+ "trainable": true,
58
+ "dtype": {
59
+ "module": "keras",
60
+ "class_name": "DTypePolicy",
61
+ "config": {
62
+ "name": "float32"
63
+ }
64
+ },
65
+ "units": 64,
66
+ "activation": "relu",
67
+ "use_bias": true,
68
+ "kernel_initializer": {
69
+ "module": "keras.initializers",
70
+ "class_name": "GlorotUniform",
71
+ "config": {}
72
+ },
73
+ "bias_initializer": {
74
+ "module": "keras.initializers",
75
+ "class_name": "Zeros",
76
+ "config": {}
77
+ }
78
+ },
79
+ "build_config": {
80
+ "input_shape": [
81
+ 100
82
+ ]
83
+ }
84
+ },
85
+ {
86
+ "module": "keras.layers",
87
+ "class_name": "Dense",
88
+ "config": {
89
+ "name": "dense_1",
90
+ "trainable": true,
91
+ "dtype": {
92
+ "module": "keras",
93
+ "class_name": "DTypePolicy",
94
+ "config": {
95
+ "name": "float32"
96
+ }
97
+ },
98
+ "units": 128,
99
+ "activation": "relu",
100
+ "use_bias": true,
101
+ "kernel_initializer": {
102
+ "module": "keras.initializers",
103
+ "class_name": "GlorotUniform",
104
+ "config": {}
105
+ },
106
+ "bias_initializer": {
107
+ "module": "keras.initializers",
108
+ "class_name": "Zeros",
109
+ "config": {}
110
+ }
111
+ },
112
+ "build_config": {
113
+ "input_shape": [
114
+ 64
115
+ ]
116
+ }
117
+ },
118
+ {
119
+ "module": "keras.layers",
120
+ "class_name": "Dense",
121
+ "config": {
122
+ "name": "dense_2",
123
+ "trainable": true,
124
+ "dtype": {
125
+ "module": "keras",
126
+ "class_name": "DTypePolicy",
127
+ "config": {
128
+ "name": "float32"
129
+ }
130
+ },
131
+ "units": 64,
132
+ "activation": "relu",
133
+ "use_bias": true,
134
+ "kernel_initializer": {
135
+ "module": "keras.initializers",
136
+ "class_name": "GlorotUniform",
137
+ "config": {}
138
+ },
139
+ "bias_initializer": {
140
+ "module": "keras.initializers",
141
+ "class_name": "Zeros",
142
+ "config": {}
143
+ }
144
+ },
145
+ "build_config": {
146
+ "input_shape": [
147
+ 128
148
+ ]
149
+ }
150
+ },
151
+ {
152
+ "module": "keras.layers",
153
+ "class_name": "Dense",
154
+ "config": {
155
+ "name": "dense_3",
156
+ "trainable": true,
157
+ "dtype": {
158
+ "module": "keras",
159
+ "class_name": "DTypePolicy",
160
+ "config": {
161
+ "name": "float32"
162
+ }
163
+ },
164
+ "units": 1,
165
+ "activation": "sigmoid",
166
+ "use_bias": true,
167
+ "kernel_initializer": {
168
+ "module": "keras.initializers",
169
+ "class_name": "GlorotUniform",
170
+ "config": {}
171
+ },
172
+ "bias_initializer": {
173
+ "module": "keras.initializers",
174
+ "class_name": "Zeros",
175
+ "config": {}
176
+ }
177
+ },
178
+ "build_config": {
179
+ "input_shape": [
180
+ 64
181
+ ]
182
+ }
183
+ }
184
+ ],
185
+ "build_input_shape": [
186
+ 100
187
+ ]
188
+ },
189
+ "build_config": {
190
+ "input_shape": [
191
+ 100
192
+ ]
193
+ },
194
+ "compile_config": {
195
+ "optimizer": {
196
+ "module": "keras.optimizers",
197
+ "class_name": "Adam",
198
+ "config": {
199
+ "name": "adam",
200
+ "learning_rate": 0.0010000000474974513,
201
+ "use_ema": false,
202
+ "ema_momentum": 0.99,
203
+ "beta_1": 0.9,
204
+ "beta_2": 0.999,
205
+ "epsilon": 1e-07,
206
+ "amsgrad": false
207
+ }
208
+ },
209
+ "loss": "binary_crossentropy",
210
+ "metrics": [
211
+ "accuracy"
212
+ ],
213
+ "run_eagerly": false,
214
+ "steps_per_execution": 1,
215
+ "jit_compile": false
216
+ }
217
+ },
218
+ "metrics": {
219
+ "Test loss": 0.5416663885116577,
220
+ "Epochs": 100,
221
+ "Batch Size": 32,
222
+ "Optimizer": "Adam",
223
+ "Learning Rate": 0.001,
224
+ "Input Shape": "(26048, 100)"
225
+ }
226
+ },
227
+ "bias_analysis": {
228
+ "demographic_parity_diff": 0.007677798575754372,
229
+ "equal_odds_difference": 0.011425675372248634
230
+ },
231
+ "xai_analysis": {
232
+ "fnlwgt": 0.007139739427301619,
233
+ "capital_gain": 0.007126364939742618,
234
+ "hours_per_week": 1.1592639817132382e-05,
235
+ "age": 2.7945637702944362e-06,
236
+ "relationship__Wife": 1.6353527704876526e-06,
237
+ "sex__Male": 8.985069062975953e-07,
238
+ "workclass__Self_emp_not_inc": 2.0090076658497835e-07,
239
+ "workclass__State_gov": 7.496939765063962e-08,
240
+ "native_country__Holand_Netherlands": 0.0,
241
+ "native_country__Haiti": 0.0
242
+ },
243
+ "model_requirements": [
244
+ "absl-py==2.1.0",
245
+ "aiohappyeyeballs==2.5.0",
246
+ "aiohttp==3.11.13",
247
+ "aiosignal==1.3.2",
248
+ "annotated-types==0.7.0",
249
+ "anyio==4.8.0",
250
+ "appnope==0.1.4",
251
+ "argon2-cffi-bindings==21.2.0",
252
+ "argon2-cffi==23.1.0",
253
+ "arrow==1.3.0",
254
+ "asttokens==3.0.0",
255
+ "astunparse==1.6.3",
256
+ "async-lru==2.0.4",
257
+ "attrs==23.1.0",
258
+ "autocommand==2.2.2",
259
+ "babel==2.17.0",
260
+ "backports.tarfile==1.2.0",
261
+ "beautifulsoup4==4.13.3",
262
+ "bleach==6.2.0",
263
+ "boto3==1.36.26",
264
+ "botocore==1.36.26",
265
+ "certifi==2025.1.31",
266
+ "cffi==1.17.1",
267
+ "charset-normalizer==3.4.1",
268
+ "click==8.1.8",
269
+ "cloudpickle==3.1.1",
270
+ "comm==0.2.2",
271
+ "contourpy==1.3.1",
272
+ "cryptography==44.0.2",
273
+ "cycler==0.12.1",
274
+ "debugpy==1.8.12",
275
+ "decorator==5.2.0",
276
+ "defusedxml==0.7.1",
277
+ "deprecated==1.2.18",
278
+ "distro==1.9.0",
279
+ "executing==2.2.0",
280
+ "fastjsonschema==2.21.1",
281
+ "filelock==3.17.0",
282
+ "filetype==1.2.0",
283
+ "fire==0.7.0",
284
+ "flatbuffers==25.2.10",
285
+ "fonttools==4.56.0",
286
+ "fqdn==1.5.1",
287
+ "frozenlist==1.5.0",
288
+ "fsspec==2025.2.0",
289
+ "gast==0.6.0",
290
+ "gitdb==4.0.12",
291
+ "gitpython==3.1.44",
292
+ "google-pasta==0.2.0",
293
+ "grpcio==1.70.0",
294
+ "h11==0.14.0",
295
+ "h5py==3.13.0",
296
+ "httpcore==1.0.7",
297
+ "httpx==0.28.1",
298
+ "huggingface-hub==0.24.7",
299
+ "idna==3.7",
300
+ "importlib-metadata==8.0.0",
301
+ "inflect==7.3.1",
302
+ "iniconfig==2.0.0",
303
+ "ipykernel==6.29.5",
304
+ "ipython==8.32.0",
305
+ "isoduration==20.11.0",
306
+ "jaraco.collections==5.1.0",
307
+ "jaraco.context==5.3.0",
308
+ "jaraco.functools==4.0.1",
309
+ "jaraco.text==3.12.1",
310
+ "jedi==0.19.2",
311
+ "jinja2==3.1.5",
312
+ "jiter==0.8.2",
313
+ "jmespath==1.0.1",
314
+ "joblib==1.4.2",
315
+ "json5==0.10.0",
316
+ "jsonpointer==3.0.0",
317
+ "jsonschema-specifications==2024.10.1",
318
+ "jsonschema==4.18.6",
319
+ "jupyter-client==8.6.3",
320
+ "jupyter-core==5.7.2",
321
+ "jupyter-events==0.12.0",
322
+ "jupyter-lsp==2.2.5",
323
+ "jupyter-server-terminals==0.5.3",
324
+ "jupyter-server==2.15.0",
325
+ "jupyterlab-pygments==0.3.0",
326
+ "jupyterlab-server==2.27.3",
327
+ "jupyterlab==4.3.5",
328
+ "keras==3.9.0",
329
+ "kiwisolver==1.4.8",
330
+ "libclang==18.1.1",
331
+ "llvmlite==0.44.0",
332
+ "markdown-it-py==3.0.0",
333
+ "markdown==3.7",
334
+ "markupsafe==3.0.2",
335
+ "matplotlib-inline==0.1.7",
336
+ "matplotlib==3.10.0",
337
+ "mdurl==0.1.2",
338
+ "mistune==3.1.2",
339
+ "ml-dtypes==0.4.1",
340
+ "more-itertools==10.3.0",
341
+ "mpmath==1.3.0",
342
+ "multidict==6.1.0",
343
+ "namex==0.0.8",
344
+ "nbclient==0.10.2",
345
+ "nbconvert==7.16.6",
346
+ "nbformat==5.10.4",
347
+ "nest-asyncio==1.6.0",
348
+ "networkx==3.4.2",
349
+ "notebook-shim==0.2.4",
350
+ "notebook==7.3.2",
351
+ "numba==0.61.0",
352
+ "numpy==1.26.4",
353
+ "openai==0.28.0",
354
+ "opencv-python-headless==4.10.0.84",
355
+ "opencv-python==4.10.0.84",
356
+ "opt-einsum==3.4.0",
357
+ "optree==0.14.1",
358
+ "overrides==7.7.0",
359
+ "packaging==24.2",
360
+ "pandas==2.2.3",
361
+ "pandocfilters==1.5.1",
362
+ "parso==0.8.4",
363
+ "patra-toolkit==0.1.2",
364
+ "pexpect==4.9.0",
365
+ "pillow==11.1.0",
366
+ "pip==23.2.1",
367
+ "platformdirs==4.3.6",
368
+ "pluggy==1.5.0",
369
+ "prometheus-client==0.21.1",
370
+ "prompt-toolkit==3.0.50",
371
+ "propcache==0.3.0",
372
+ "protobuf==5.29.3",
373
+ "psutil==7.0.0",
374
+ "ptyprocess==0.7.0",
375
+ "pure-eval==0.2.3",
376
+ "py-cpuinfo==9.0.0",
377
+ "pybboxes==0.1.6",
378
+ "pycparser==2.22",
379
+ "pydantic-core==2.27.2",
380
+ "pydantic==2.10.6",
381
+ "pygithub==2.6.1",
382
+ "pygments==2.19.1",
383
+ "pyjwt==2.10.1",
384
+ "pynacl==1.5.0",
385
+ "pyparsing==3.2.1",
386
+ "pyrsistent==0.19.3",
387
+ "pytest==8.3.4",
388
+ "python-dateutil==2.9.0.post0",
389
+ "python-dotenv==1.0.1",
390
+ "python-json-logger==3.2.1",
391
+ "pytz==2025.1",
392
+ "pyyaml==6.0.2",
393
+ "pyzmq==26.2.1",
394
+ "referencing==0.36.2",
395
+ "requests-toolbelt==1.0.0",
396
+ "requests==2.32.3",
397
+ "rfc3339-validator==0.1.4",
398
+ "rfc3986-validator==0.1.1",
399
+ "rich==13.9.4",
400
+ "roboflow==1.1.54",
401
+ "rpds-py==0.22.3",
402
+ "s3transfer==0.11.2",
403
+ "sahi==0.11.20",
404
+ "scikit-learn==1.5.2",
405
+ "scipy==1.13.1",
406
+ "seaborn==0.13.2",
407
+ "send2trash==1.8.3",
408
+ "setuptools==75.4.0",
409
+ "shapely==2.0.7",
410
+ "six==1.17.0",
411
+ "slicer==0.0.8",
412
+ "smmap==5.0.2",
413
+ "sniffio==1.3.1",
414
+ "soupsieve==2.6",
415
+ "stack-data==0.6.3",
416
+ "sympy==1.13.1",
417
+ "tensorboard-data-server==0.7.2",
418
+ "tensorboard==2.18.0",
419
+ "tensorflow-io-gcs-filesystem==0.37.1",
420
+ "tensorflow==2.18.0",
421
+ "termcolor==2.5.0",
422
+ "terminado==0.18.1",
423
+ "terminaltables==3.1.10",
424
+ "thop==0.1.1.post2209072238",
425
+ "threadpoolctl==3.5.0",
426
+ "tinycss2==1.4.0",
427
+ "tomli==2.0.1",
428
+ "torch==2.6.0",
429
+ "torchvision==0.21.0",
430
+ "tornado==6.4.2",
431
+ "tqdm==4.67.1",
432
+ "traitlets==5.14.3",
433
+ "typeguard==4.3.0",
434
+ "types-python-dateutil==2.9.0.20241206",
435
+ "typing-extensions==4.12.2",
436
+ "tzdata==2025.1",
437
+ "ultralytics-thop==2.0.14",
438
+ "ultralytics==8.3.78",
439
+ "uri-template==1.3.0",
440
+ "urllib3==2.3.0",
441
+ "wcwidth==0.2.13",
442
+ "webcolors==24.11.1",
443
+ "webencodings==0.5.1",
444
+ "websocket-client==1.8.0",
445
+ "werkzeug==3.1.3",
446
+ "wheel==0.44.0",
447
+ "wrapt==1.17.2",
448
+ "yarl==1.18.3",
449
+ "yolov5==7.0.14",
450
+ "zipp==3.19.2"
451
+ ],
452
+ "id": "neelk-uci_model-0.1"
453
+ }