In [ ]:
#---------------------------------------------------------------------
#
# Include and run all the Python code snippets from the H2O Deep Learning Vignette.
#
# The snippets are broken out into separate files so the exact same
# piece of code both shows up in the document and is run by this
# script.
#
# Currently these scripts replicate the GLM ipynb version, but are not finished.#
#---------------------------------------------------------------------
In [ ]:
import h2o
In [ ]:
import os
print(os.getcwd())
In [ ]:
h2o.init()
In [ ]:
h2o.remove_all()
execfile("deeplearning/deeplearning_gaussian_example.py")
h2o.remove_all()
execfile("deeplearning/deeplearning_binomial_example.py")
h2o.remove_all()
execfile("deeplearning/deeplearning_poisson_example.py")
h2o.remove_all()
execfile("deeplearning/deeplearning_gamma_example.py")
h2o.remove_all()
execfile("deeplearning/deeplearning_tweedie_example.py")
In [ ]:
h2o.remove_all()
execfile("deeplearning/coerce_column_to_factor.py")
In [ ]:
h2o.remove_all()
execfile("deeplearning/deeplearning_cross_validation.py")
In [ ]:
h2o.remove_all()
execfile("deeplearning/deeplearning_stopping_criteria.py")
In [ ]:
h2o.remove_all()
execfile("deeplearning/deeplearning_grid_search_over_alpha.py")
In [ ]:
# Not supported right now.
#
# h2o.remove_all()
# execfile("deeplearning/deeplearning_grid_search_over_lambda.py")
In [ ]:
h2o.remove_all()
execfile("deeplearning/deeplearning_model_output_10.py")
execfile("deeplearning/deeplearning_model_output_20.py")
execfile("deeplearning/deeplearning_model_output_30.py")
execfile("deeplearning/deeplearning_model_output_40.py")
execfile("deeplearning/deeplearning_accessors.py")
execfile("deeplearning/deeplearning_confusion_matrix.py")
execfile("deeplearning/deeplearning_scoring_history.py")
In [ ]:
h2o.remove_all()
execfile("deeplearning/deeplearning_binomial_predictions_with_response.py")
execfile("deeplearning/deeplearning_binomial_predictions_without_response.py")
execfile("deeplearning/deeplearning_recalculate_predict.py")
In [ ]:
h2o.remove_all()
execfile("deeplearning/deeplearning_download_pojo.py")