Description Usage Arguments Details
This function assigns tiles to the live
data by using the tilings from the train
data.
1 | deploy.tile(df_deploy = ds, df_train = ds1, prob = "p_", tile_name = "p_Tile", model = NULL, model_var = "X1", n = 10)
|
df_deploy |
Live (Deployment) data. |
df_train |
Train data. |
prob |
The model output variable; this could be the Propensity variable and is used to rank order and create the tiles. |
tile_name |
The desired name for the tile variable; "p_Tile" is a good option. |
model |
The name of the model in focus. If not NULL, then the prob argument becomes irrelevant and predictions are made directly through this function. |
model_var |
If model prediction is of type "prob", then the name of the required predicted variable. By default this is "X1" which indicates the probability of the event. |
n |
The number of desired tiles. |
Note that prob is assumed to be variables in a dataset, and needs to be inputted in quotes, such that y = "target".
This function automatically assign objects to the global environment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.