-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new /prototype
endpoint
#220
Conversation
This is working well, I think! I put a model deployed with this PR here: This means we can finally resolve #116 like this: url <- "https://colorado.posit.co/rsc/chicago-ridership/prototype"
r <- httr::GET(url)
prototype <- httr::content(r, as = "text", encoding = "UTF-8")
cereal::cereal_from_json(prototype)
#> # A tibble: 0 × 49
#> # ℹ 49 variables: Austin <dbl>, Quincy_Wells <dbl>, Belmont <dbl>,
#> # Archer_35th <dbl>, Oak_Park <dbl>, Western <dbl>, Clark_Lake <dbl>,
#> # Clinton <dbl>, Merchandise_Mart <dbl>, Irving_Park <dbl>,
#> # Washington_Wells <dbl>, Harlem <dbl>, Monroe <dbl>, Polk <dbl>,
#> # Ashland <dbl>, Kedzie <dbl>, Addison <dbl>, Jefferson_Park <dbl>,
#> # Montrose <dbl>, California <dbl>, temp_min <dbl>, temp <dbl>,
#> # temp_max <dbl>, temp_change <dbl>, dew <dbl>, humidity <dbl>, … Created on 2023-06-09 with reprex v2.0.2 |
When you get a chance @isabelizimm, I redeployed this model as well and you can see the Could you try out what it would look like to use that from Python to determine what data needs to look like to make predictions? I'll do the same the other way around. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closes #197