Converts a GBM into a list of SQL queries that, when summed, yield predictions for the model.
1 2 |
x |
A gbm object |
n.trees |
Number of trees at which to score |
total_queries |
Final number of queries to return. If total_queries< n.trees, SQL queries for sets of trees will be combined into one query. Defaults to 1 query per tree, which can be very slow but scales well. |
... |
Ignored |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.