{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Calculating SHAP Values for DRF models in H2O\n", "\n", "Note: this example is adapted from an example published in the shap package https://github.com/slundberg/shap/blob/master/notebooks/tree_explainer/Front%20page%20example%20(XGBoost).ipynb" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Checking whether there is an H2O instance running at http://localhost:54321 . connected.\n" ] }, { "data": { "text/html": [ "
H2O cluster uptime: | \n", "5 mins 20 secs |
H2O cluster timezone: | \n", "America/Los_Angeles |
H2O data parsing timezone: | \n", "UTC |
H2O cluster version: | \n", "3.25.0.99999 |
H2O cluster version age: | \n", "9 minutes |
H2O cluster name: | \n", "navdeepgill |
H2O cluster total nodes: | \n", "1 |
H2O cluster free memory: | \n", "3.250 Gb |
H2O cluster total cores: | \n", "8 |
H2O cluster allowed cores: | \n", "8 |
H2O cluster status: | \n", "locked, healthy |
H2O connection url: | \n", "http://localhost:54321 |
H2O connection proxy: | \n", "None |
H2O internal security: | \n", "False |
H2O API Extensions: | \n", "XGBoost, Algos, AutoML, Core V3, Core V4 |
Python version: | \n", "3.6.0 final |