Note: If you’re interested in just the AutoML part, skip the ‘Building a
Hello, World! Model’ section, which gets into the nitty gritty for
developing a single model. You can come back there and use it more
as a reference guide, as well as the H2O documentation links
provided.
You can follow along using the code snippets in the post or the
interactive Python Notebook linked below.
GitHub:https://github.com/elyselee/H2O
Walkthrough/blob/master/H2O%20Walkthrough.ipynb
Getting Started with H2OPython
Setting Up Dependencies
As much as I wish I could say implementation is just as easy as
throwing out another pip install command, it’s a fair bit more
involved than that.
To begin, head over to the H2O stable link here, and download the
zip file containing the most recent version. Follow the commands
below to finish installing the package.
cd ~/Downloads
unzip h2o-3.25.0.4698.zip
cd h2o-3.25.0.4698
java -jar h2o.jar
As of writing this article (June 2019), H2O only supports Java SE
Runtime Environment Versions 8–11. You can check your version
using the java -version command. If you have Java SDK 12, you’ll
have to uninstall and downgrade to Java SDK 11 to maintain
compatibility with H2O. To do so, execute the following command:
/usr/libexec/java_home -V in terminal. Copy the pathname it
returns, and use the following command to uninstall: sudo rm -rf
pathname . Head over to the Oracle JDK 11 download site, create an
account, and follow the instructions there to install.
评论0
最新资源