SELECT
statement fetches predictions from the model table. The data is returned on the fly and the result set is not persisted.
But there are ways to save predictions data! You can save your predictions as a view using the CREATE VIEW
statement. Please note that a view is a saved query and does not store data like a table. Another way is to create a table using the CREATE TABLE
statement or insert your predictions into an existing table using the INSERT INTO
statement.
column_name = value
pairs may be joined by AND
or OR
keywords.Name | Description |
---|---|
target_name | Name of the column to be predicted. |
target_name_explain | Object of the JSON type that contains the predicted_value and additional information such as confidence , anomaly , truth , confidence_lower_bound , confidence_upper_bound . |
predictor_name | Name of the model used to make the prediction. |
WHERE column_name = value AND ... | WHERE clause used to pass the data values for which the prediction is made. |
rental_price
value using the home_rentals_model
model for the property having sqft=823
, location='good'
, neighborhood='downtown'
, and days_on_market=10
.