Description Usage Arguments Value Examples
Predict flight delays model
1 | predict_flight_delay(flights_test, model)
|
flights_test |
Data frame with test data |
Prediction
1 2 3 4 5 6 7 8 9 | library(nycflights13)
data(flights)
set.seed(321)
ids <- sample(1:nrow(flights), size = 10000)
flights_train <- flights[ids,]
model <- train_flight_delay(flights_train)
ids <- sample(1:nrow(flights), size = 100)
flights_test <- flights[ids,]
results <- predict_flight_delay(flights_test, model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.