Skip to content

Commit

Permalink
Correct off-by-10 numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher committed Sep 17, 2024
1 parent d8b0bde commit edb1580
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker-resources/plumber.R
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,12 @@ function(
# which makes things easier since most libraries can't work with an H2OFrame
results_adults_1day_df <- as.data.frame(results_adults_1day)
results_adults_7day_df <- as.data.frame(results_adults_7day) %>%
select(predicted_prob_disengage_7day = Disengaged)
select(predicted_prob_disengage_7day = Disengaged) %>%
mutate(predicted_prob_disengage_7day = predicted_prob_disengage_7day * 10)
results_minors_1day_df <- as.data.frame(results_minors_1day)
results_minors_7day_df <- as.data.frame(results_minors_7day) %>%
select(predicted_prob_disengage_7day = Disengaged)
select(predicted_prob_disengage_7day = Disengaged) %>%
mutate(predicted_prob_disengage_7day = predicted_prob_disengage_7day * 10)

# for the case where we need this, it should be safe to assume
# that the start week has the correct values
Expand Down

0 comments on commit edb1580

Please sign in to comment.