{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "Tce3stUlHN0L" }, "source": [ "##### Copyright 2020 The TensorFlow Authors." ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "cellView": "form", "execution": { "iopub.execute_input": "2022-04-27T09:10:30.993660Z", "iopub.status.busy": "2022-04-27T09:10:30.993128Z", "iopub.status.idle": "2022-04-27T09:10:30.996797Z", "shell.execute_reply": "2022-04-27T09:10:30.996333Z" }, "id": "tuOe1ymfHZPu" }, "outputs": [], "source": [ "#@title Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", "# You may obtain a copy of the License at\n", "#\n", "# https://www.apache.org/licenses/LICENSE-2.0\n", "#\n", "# Unless required by applicable law or agreed to in writing, software\n", "# distributed under the License is distributed on an \"AS IS\" BASIS,\n", "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n", "# See the License for the specific language governing permissions and\n", "# limitations under the License." ] }, { "cell_type": "markdown", "metadata": { "id": "23R0Z9RojXYW" }, "source": [ "# MLMD Model Card Toolkit Demo" ] }, { "cell_type": "markdown", "metadata": { "id": "MfBg1C5NB3X0" }, "source": [ "
\n",
" ![]() | \n",
" \n",
" ![]() | \n",
" \n",
" ![]() | \n",
" \n",
" ![]() | \n",
"
.execution_id | 1 | ||||||||||||||||||||||||||||||||||||||||||||
.component | \n",
"\n",
" CsvExampleGen at 0x7f4824620710
| ||||||||||||||||||||||||||||||||||||||||||||
.component.inputs | {} | ||||||||||||||||||||||||||||||||||||||||||||
.component.outputs |
|
.execution_id | 2 | ||||||||||||||||||||||||||||||||||||||||||||
.component | \n",
"\n",
" StatisticsGen at 0x7f4993f16910
| ||||||||||||||||||||||||||||||||||||||||||||
.component.inputs |
| ||||||||||||||||||||||||||||||||||||||||||||
.component.outputs |
|
.execution_id | 3 | ||||||||||||||||||||||||||||||||||||||
.component | \n",
"\n",
" SchemaGen at 0x7f49ad43f990
| ||||||||||||||||||||||||||||||||||||||
.component.inputs |
| ||||||||||||||||||||||||||||||||||||||
.component.outputs |
|
\n", " | Type | \n", "Presence | \n", "Valency | \n", "Domain | \n", "
---|---|---|---|---|
Feature name | \n", "\n", " | \n", " | \n", " | \n", " |
'Age' | \n", "INT | \n", "required | \n", "single | \n", "- | \n", "
'Capital-Gain' | \n", "INT | \n", "required | \n", "single | \n", "- | \n", "
'Capital-Loss' | \n", "INT | \n", "required | \n", "single | \n", "- | \n", "
'Country' | \n", "STRING | \n", "required | \n", "single | \n", "'Country' | \n", "
'Education' | \n", "STRING | \n", "required | \n", "single | \n", "'Education' | \n", "
'Education-Num' | \n", "INT | \n", "required | \n", "single | \n", "- | \n", "
'Hours-per-week' | \n", "INT | \n", "required | \n", "single | \n", "- | \n", "
'Marital-Status' | \n", "STRING | \n", "required | \n", "single | \n", "'Marital-Status' | \n", "
'Occupation' | \n", "STRING | \n", "required | \n", "single | \n", "'Occupation' | \n", "
'Over-50K' | \n", "INT | \n", "required | \n", "single | \n", "- | \n", "
'Race' | \n", "STRING | \n", "required | \n", "single | \n", "'Race' | \n", "
'Relationship' | \n", "STRING | \n", "required | \n", "single | \n", "'Relationship' | \n", "
'Sex' | \n", "STRING | \n", "required | \n", "single | \n", "'Sex' | \n", "
'Workclass' | \n", "STRING | \n", "required | \n", "single | \n", "'Workclass' | \n", "
'fnlwgt' | \n", "INT | \n", "required | \n", "single | \n", "- | \n", "
\n", " | Values | \n", "
---|---|
Domain | \n", "\n", " |
'Country' | \n", "' ?', ' Cambodia', ' Canada', ' China', ' Columbia', ' Cuba', ' Dominican-Republic', ' Ecuador', ' El-Salvador', ' England', ' France', ' Germany', ' Greece', ' Guatemala', ' Haiti', ' Honduras', ' Hong', ' Hungary', ' India', ' Iran', ' Ireland', ' Italy', ' Jamaica', ' Japan', ' Laos', ' Mexico', ' Nicaragua', ' Outlying-US(Guam-USVI-etc)', ' Peru', ' Philippines', ' Poland', ' Portugal', ' Puerto-Rico', ' Scotland', ' South', ' Taiwan', ' Thailand', ' Trinadad&Tobago', ' United-States', ' Vietnam', ' Yugoslavia', ' Holand-Netherlands' | \n", "
'Education' | \n", "' 10th', ' 11th', ' 12th', ' 1st-4th', ' 5th-6th', ' 7th-8th', ' 9th', ' Assoc-acdm', ' Assoc-voc', ' Bachelors', ' Doctorate', ' HS-grad', ' Masters', ' Preschool', ' Prof-school', ' Some-college' | \n", "
'Marital-Status' | \n", "' Divorced', ' Married-AF-spouse', ' Married-civ-spouse', ' Married-spouse-absent', ' Never-married', ' Separated', ' Widowed' | \n", "
'Occupation' | \n", "' ?', ' Adm-clerical', ' Armed-Forces', ' Craft-repair', ' Exec-managerial', ' Farming-fishing', ' Handlers-cleaners', ' Machine-op-inspct', ' Other-service', ' Priv-house-serv', ' Prof-specialty', ' Protective-serv', ' Sales', ' Tech-support', ' Transport-moving' | \n", "
'Race' | \n", "' Amer-Indian-Eskimo', ' Asian-Pac-Islander', ' Black', ' Other', ' White' | \n", "
'Relationship' | \n", "' Husband', ' Not-in-family', ' Other-relative', ' Own-child', ' Unmarried', ' Wife' | \n", "
'Sex' | \n", "' Female', ' Male' | \n", "
'Workclass' | \n", "' ?', ' Federal-gov', ' Local-gov', ' Never-worked', ' Private', ' Self-emp-inc', ' Self-emp-not-inc', ' State-gov', ' Without-pay' | \n", "
.execution_id | 4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
.component | \n",
"\n",
" Transform at 0x7f49af161810
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
.component.inputs |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
.component.outputs |
|
.type_name | TransformGraph | ||||||
._artifacts |
|
.execution_id | 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
.component | \n",
"\n",
" Trainer at 0x7f4993e65310
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
.component.inputs |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
.component.outputs |
|