Spaces:
Runtime error
Runtime error
Update app.R
Browse files
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.
|
| 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)
|