TimStats commited on
Commit
c418f25
·
verified ·
1 Parent(s): 717050a

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +1 -1
app.R CHANGED
@@ -79,7 +79,7 @@ server <- function(input, output) {
79
  data <- as.matrix(data)
80
  FBMod <- xgb.load('FB.model')
81
  prediction <-predict(FBMod,data)
82
- TimStuff <- (50 - (prediction - -0.0004397118)/ 0.2180433 * 10)
83
  # FBMod <- xgb.load("FB.model")
84
  # vip(FBMod)
85
  return(TimStuff)
 
79
  data <- as.matrix(data)
80
  FBMod <- xgb.load('FB.model')
81
  prediction <-predict(FBMod,data)
82
+ TimStuff <- (50 - (prediction - -0.0011801)/ 0.007989927 * 10)
83
  # FBMod <- xgb.load("FB.model")
84
  # vip(FBMod)
85
  return(TimStuff)