Deploying ML models to Snowflake with Modelbit and Hex
Jan 20, 2024

Summary
This post details the process of building an XGBoost classification model in Hex using NBA player stats from Snowflake. It covers feature selection, target encoding with a label encoder, and model training. Crucially, it introduces the integration with Modelbit to deploy the trained model as a function. The post demonstrates how to call this deployed model directly from Snowflake using a generated SQL function for batch predictions on large datasets, highlighting the efficiency and scalability of this workflow.