Using Python UDF’s and Snowflake’s Snowpark to build and deploy Machine Learning Models, Part 2 | by Chris Kuchar | Aug, 2022
How to train and predict all within a UDF uploaded to SnowparkImage from Anthi K via UnsplashIn Part 1, I showed how to train a local model, wrap it in a Python udf, push it to Snowflake using Snowpark, and use Snowpark or Snowflake Sql to make predictions using that udf.This guide, on the other hand, will show you how to make a Python udf that builds, trains, and predicts on a model all using Snowpark and Snowflake compute. We will use Regression here, while Part 1 used Classification.This article will also highlight…