Skip to content

Commit

Permalink
Added some starter javadoc for overview and a few packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkraljevic committed Aug 29, 2013
1 parent 6723bfe commit dede81a
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function build_javadoc() {
echo "creating javadoc files..."
local CLASSPATH="${JAR_ROOT}${SEP}${DEPENDENCIES}${SEP}${JAR_ROOT}/hadoop/${DEFAULT_HADOOP_VERSION}/*"
mkdir -p target/logs
"${JAVADOC}" -classpath "${CLASSPATH}" -d "${OUTDIR}"/javadoc -sourcepath "${SRC}" -subpackages hex:water >& target/logs/javadoc_build.log
"${JAVADOC}" -overview ${SRC}/overview.html -classpath "${CLASSPATH}" -d "${OUTDIR}"/javadoc -sourcepath "${SRC}" -subpackages hex:water >& target/logs/javadoc_build.log
}

function build_package() {
Expand All @@ -182,6 +182,10 @@ function junit() {
"$JAVA" -ea -cp ${JAR_FILE} water.Boot -mainClass water.JUnitRunner
}

if [ "$1" = "onlydoc" ]; then
build_javadoc
exit 0
fi
if [ "$1" = "noclean" ]; then
shift
else
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/hex/gbm/package.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<body>

Gradient Boosting Machine.

</body>
5 changes: 5 additions & 0 deletions src/main/java/hex/package.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<body>

The hex package contains math and machine learning algorithms for H2O.

</body>
5 changes: 5 additions & 0 deletions src/main/java/hex/rf/package.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<body>

Random Forest.

</body>
5 changes: 5 additions & 0 deletions src/main/java/hex/rng/package.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<body>

Random number generators.

</body>
13 changes: 13 additions & 0 deletions src/main/java/overview.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<body>

H2O is the open source math and prediction engine for Big Data Science.

The main two package groups are "water" and "hex".

The water package contains the implementation of H2O's core, including
the distributed key value store, parsing, and I/O.

The hex package conceptually layers on top of the water package, and
contains math and machine learning algorithms.

</body>
5 changes: 5 additions & 0 deletions src/main/java/water/package.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<body>

The water package contains the implementation of H2O's core.

</body>

0 comments on commit dede81a

Please sign in to comment.