在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):h2oai/h2o-3开源软件地址(OpenSource Url):https://github.com/h2oai/h2o-3开源编程语言(OpenSource Language):Jupyter Notebook 34.7%开源软件介绍(OpenSource Introduction):H2OH2O is an in-memory platform for distributed, scalable machine learning. H2O uses familiar interfaces like R, Python, Scala, Java, JSON and the Flow notebook/web interface, and works seamlessly with big data technologies like Hadoop and Spark. H2O provides implementations of many popular algorithms such as Generalized Linear Models (GLM), Gradient Boosting Machines (including XGBoost), Random Forests, Deep Neural Networks, Stacked Ensembles, Naive Bayes, Generalized Additive Models (GAM), Cox Proportional Hazards, K-Means, PCA, Word2Vec, as well as a fully automatic machine learning algorithm (H2O AutoML). H2O is extensible so that developers can add data transformations and custom algorithms of their choice and access them through all of those clients. H2O models can be downloaded and loaded into H2O memory for scoring, or exported into POJO or MOJO format for extemely fast scoring in production. More information can be found in the H2O User Guide. H2O-3 (this repository) is the third incarnation of H2O, and the successor to H2O-2. Table of Contents
1. Downloading H2O-3While most of this README is written for developers who do their own builds, most H2O users just download and use a pre-built version. If you are a Python or R user, the easiest way to install H2O is via PyPI or Anaconda (for Python) or CRAN (for R): Pythonpip install h2o Rinstall.packages("h2o") For the latest stable, nightly, Hadoop (or Spark / Sparkling Water) releases, or the stand-alone H2O jar, please visit: https://h2o.ai/download More info on downloading & installing H2O is available in the H2O User Guide. 2. Open Source ResourcesMost people interact with three or four primary open source resources: GitHub (which you've already found), JIRA (for bug reports and issue tracking), Stack Overflow for H2O code/software-specific questions, and h2ostream (a Google Group / email discussion forum) for questions not suitable for Stack Overflow. There is also a Gitter H2O developer chat group, however for archival purposes & to maximize accessibility, we'd prefer that standard H2O Q&A be conducted on Stack Overflow. 2.1 Issue Tracking and Feature Requests
You can browse and create new issues in our open source JIRA: http://jira.h2o.ai
2.2 List of H2O Resources
3. Using H2O-3 ArtifactsEvery nightly build publishes R, Python, Java, and Scala artifacts to a build-specific repository. In particular, you can find Java artifacts in the maven/repo directory. Here is an example snippet of a gradle build file using h2o-3 as a dependency. Replace x, y, z, and nnnn with valid numbers.
Refer to the latest H2O-3 bleeding edge nightly build page for information about installing nightly build artifacts. Refer to the h2o-droplets GitHub repository for a working example of how to use Java artifacts with gradle.
4. Building H2O-3Getting started with H2O development requires JDK 1.8+, Node.js, Gradle, Python and R. We use the Gradle wrapper (called 4.1. Before buildingBuilding
To install these packages you can use pip or conda. If you have troubles installing these packages on Windows, please follow section Setup on Windows of this guide.
4.2. Building from the command line (Quick Start)To build H2O from the repository, perform the following steps. Recipe 1: Clone fresh, build, skip tests, and run H2O
Recipe 2: Clone fresh, build, and run tests (requires a working install of R)
Recipe 3: Pull, clean, build, and run tests
Notes
Recipe 4: Just building the docs
4.3. Setup on WindowsWinPython.Step 1: Download and installFrom the command line, validate Step 2: Install required Python packages:
Step 3: Install JDKInstall Java 1.8+ and add the appropriate directory
The CLASSPATH variable also needs to be set to the lib subfolder of the JDK:
Step 4. Install Node.jsInstall Node.js and add the installed directory Step 5. Install R, the required packages, and Rtools:Install R and add the bin directory to your PATH if not already included. Install the following R packages: To install these packages from within an R session: pkgs <- c("RCurl", "jsonlite", "statmod", "devtools", "roxygen2", "testthat")
for (pkg in pkgs) {
if (! (pkg %in% rownames(installed.packages()))) install.packages(pkg)
} Note that libcurl is required for installation of the RCurl R package. Note that this packages don't cover running tests, they for building H2O only. Finally, install Rtools, which is a collection of command line tools to facilitate R development on Windows.
CygwinStep 6. InstallNOTE: During installation of Cygwin, deselect the Python packages to avoid a conflict with the Python.org package. Step 6b. Validate CygwinIf Cygwin is already installed, remove the Python packages or ensure that Native Python is before Cygwin in the PATH variable. Step 7. Update or validate the Windows PATH variable to include R, Java JDK, Cygwin.h2o-3Step 8. Git CloneIf you don't already have a Git client, please install one. The default one can be found here http://git-scm.com/downloads. Make sure that command prompt support is enabled before the installation. Download and update h2o-3 source codes:
Step 9. Run the top-level gradle build:
4.4. Setup on OS XIf you don't have Homebrew, we recommend installing it. It makes package management for OS X easy. Step 1. Install JDKInstall Java 1.8+. To make sure the command prompt is detecting the correct Java version, run:
Step 2. Install Node.js:Using Homebrew:
Otherwise, install from the NodeJS website. Step 3. Install R and the required packages:Install R and add the bin directory to your PATH if not already included. Install the following R packages: To install these packages from within an R session: pkgs <- c("RCurl", "jsonlite", "statmod", "devtools", "roxygen2", "testthat")
for (pkg in pkgs) {
if (! (pkg %in% rownames(installed.packages()))) install.packages(pkg)
} Note that libcurl is required for installation of the RCurl R package. Note that this packages don't cover running tests, they for building H2O only. Step 4. Install python and the required packages:Install python:
Install pip package manager:
Next install required packages:
h2o-3Step 5. Git CloneOS X should already have Git installed. To download and update h2o-3 source codes:
Step 6. Run the top-level gradle build:
Note: on a regular machine it may take very long time (about an hour) to run all the tests.
4.5. Setup on Ubuntu 14.04Step 1. Install Node.js
Step 2. Install JDK:Install Java 8. Installation instructions can be found here JDK installation. To make sure the command prompt is detecting the correct Java version, run:
Step 3. Install R and the required packages:Installation instructions can be found here R installation. Click “Download R for Linux”. Click “ubuntu”. Follow the given instructions. To install the required packages, follow the same instructions as for OS X above.
h2o-3Step 4. Git CloneIf you don't already have a Git client:
Download and update h2o-3 source codes:
Step 5. Run the top-level gradle build:
4.6. Setup on Ubuntu 13.10Step 1. Install Node.js
Steps 2-4. Follow steps 2-4 for Ubuntu 14.04 (above)4.7. Setup on CentOS 7全部评论
专题导读
上一篇:FrancescaLazzeri/Machine-Learning-for-Time-Series-Forecasting发布时间:2022-08-19下一篇:Finance-781/FinML: Financial Machine Learning发布时间:2022-08-19热门推荐
热门话题
阅读排行榜
|
请发表评论