Icon

03_Snowflake_Model_Deployment

Customer Churn Predictor Deployment with KNIME and Snowflake

This workflow is an example of how to deploy a customer churn predictor as Snowflake User-Defined Function. This way the prediction is pushed down into Snowflake were the data resides. The prediction result is persistet as new database table in Snowflake.

URL: Blog post https://medium.com/snowflake/build-a-churn-predictor-with-knime-and-snowflake-5f32a1fa8f7a
URL: KNIME Snowflake Extension Guide https://docs.knime.com/latest/snowflake_extension_guide/index.html
URL: Snowflake ETL workflow https://kni.me/w/vDONDGR5-kZAtvtw
URL: Kaggle dataset https://www.kaggle.com/becksddf/churn-in-telecoms-dataset

Annotations and comments
  • Customer Churn Predictor Deployment with KNIME and Snowflake This workflow is an example of how to deploy a customer churn predictor as Snowflake User-Defined Function. This way the prediction is pushed down into Snowflake were the data resides. The prediction result is persistet as new database table in Snowflake. Example data provided from kaggle: https://www.kaggle.com/becksddf/churn-in-telecoms-dataset
  • 1. Selection. Selects the "calls_contracts" table to use for prediction. If you haven't executed the 01b_Snowflake_ETL workflow before you can use the upper branch to create the "calls_contracts" table in Snowflake with example data.
  • 2. Deployment and Execution. Convert the customer churn prediction model into a User-Defined Function in Snowflake.
  • 3. Persisting. The prediction result can either be read back into KNIME or persisted as new database table within Snowflake.
  • Read new data
  • Persist prediction result in Snowflake
  • Read data into KNIME
  • Select existing table with new data
  • Create db table with data
  • Read the learned model
  • Change connection information to your Snowflake account
  • Apply H2O model at scale in Snowflake

Nodes

Extensions

Links