Skip to content

Commit

Permalink
updates/modifications to yhat example
Browse files Browse the repository at this point in the history
  • Loading branch information
rdpeng committed Sep 4, 2014
1 parent b1e8d75 commit 729c43c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 09_DevelopingDataProducts/yhat/AP_example.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ model.predict <- function(df) {
yhat.config <- c(
username="[email protected]",
apikey="90d2a80bb532cabb2387aa51ac4553cc",
env="http://sandbox.yhathq.com/"
env="http://cloud.yhathq.com/"
)

yhat.deploy("pollutant")
Expand All @@ -76,4 +76,5 @@ yhat.config <- c(
)
df <- data.frame(lon = c(-76.6167, -118.25), lat = c(39.2833, 34.05),
radius = 20)
df <- data.frame(lon = -76.6167, lat = 39.2833, radius = 50)
yhat.predict("pollutant", df)

0 comments on commit 729c43c

Please sign in to comment.