Skip to content

Instantly share code, notes, and snippets.

@crawles
Last active February 23, 2020 20:48
Show Gist options
  • Save crawles/a695cb3b25dc5305ce5a4d40658cb5c9 to your computer and use it in GitHub Desktop.
Save crawles/a695cb3b25dc5305ce5a4d40658cb5c9 to your computer and use it in GitHub Desktop.
explanation_metadata = {
"inputs": {
"dayofweek": {
"input_tensor_name": "dayofweek:0",
"input_baselines": [baselines_mode[0][0]] # Thursday
},
"hourofday": {
"input_tensor_name": "hourofday:0",
"input_baselines": [baselines_mode[0][1]] # 8pm
},
"dropofflon": {
"input_tensor_name": "dropofflon:0",
"input_baselines": [baselines_med[4]]
},
"dropofflat": {
"input_tensor_name": "dropofflat:0",
"input_baselines": [baselines_med[5]]
},
"pickuplon": {
"input_tensor_name": "pickuplon:0",
"input_baselines": [baselines_med[2]]
},
"pickuplat": {
"input_tensor_name": "pickuplat:0",
"input_baselines": [baselines_med[3]]
},
},
"outputs": {
"dense": {
"output_tensor_name": "output/BiasAdd:0"
}
},
"framework": "tensorflow"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment