forked from h2oai/h2o-3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/h2oai/h2o-3
- Loading branch information
Showing
3 changed files
with
23 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -623,9 +623,6 @@ H2O Classic | H2O 3.0 | Model Type | |
`@model$mcc` | `@model$training_metrics$thresholds_and_metric_scores$absolute_MCC` | `binomial` | ||
`@model$max_per_class_err` | currently replaced by `@model$training_metrics$thresholds_and_metric_scores$min_per_class_correct` | `binomial` | ||
|
||
<!--- | ||
##commenting out until repo is renamed - the information below will change | ||
|
||
##Github Users | ||
|
||
|
@@ -643,7 +640,7 @@ This is the easiest way to change your local repo and is recommended for most us | |
origin https://{[email protected]}/h2oai/h2o.git (fetch) | ||
origin https://{[email protected]}/h2oai/h2o.git (push) | ||
``` | ||
0. Enter `git remote set-url origin {[email protected]}:h2oai/h2o-classic.git`, where `{[email protected]}` represents the address copied in the previous step. | ||
0. Enter `git remote set-url origin {[email protected]}:h2oai/h2o-2.git`, where `{[email protected]}` represents the address copied in the previous step. | ||
|
||
**The more complicated way** | ||
|
||
|
@@ -657,8 +654,7 @@ This method involves editing the Github config file and should only be attempted | |
url = https://[email protected]/h2oai/h2o.git | ||
fetch = +refs/heads/*:refs/remotes/origin/* | ||
``` | ||
0. In the `url =` line, change `h2o.git` to `h2o-classic.git`. | ||
0. In the `url =` line, change `h2o.git` to `h2o-2.git`. | ||
0. Save the changes. | ||
--> | ||
The latest version of H2O is stored in the `h2o-3` repository. All previous links to this repo will still work, but if you would like to manually update your Github configuration, follow the instructions above, replacing `h2o-2` with `h2o-3`. |
18 changes: 18 additions & 0 deletions
18
h2o-r/tests/testdir_jira/runit_NOPASS_pubdev_1140_nonspdmatrix_exception.R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f"))) | ||
source('../h2o-runit.R') | ||
|
||
test.glm.nonspdmatrix.exception <- function(conn) | ||
{ | ||
cars.hex <- h2o.uploadFile(conn, locate("smalldata/junit/cars.csv")) | ||
cars.hex[,3] <- as.factor(cars.hex[,3]) | ||
c.sid <- h2o.runif(cars.hex) | ||
cars.train <- h2o.assign(cars.hex[c.sid > .2, ], "cars.train") | ||
cars.test <- h2o.assign(cars.hex[c.sid <= .2, ], "cars.test") | ||
|
||
my.glm1 <- h2o.glm(x = 3:7, y = 2, training_frame = cars.train, family = "gamma", prior = 0.5, lambda_search = TRUE) | ||
my.glm3 <- h2o.glm(x = 3:7, y = 2, training_frame = cars.train, family = "poisson", prior = 0.5, lambda_search = TRUE) | ||
|
||
testEnd() | ||
} | ||
|
||
doTest("Testing GLM NonSPDMatrix Exception", test.glm.nonspdmatrix.exception) |