Machine learning functions - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon Redshift will no longer support the creation of new Python UDFs starting Patch 198. Existing Python UDFs will continue to function until June 30, 2026. For more information, see the blog post .

Machine learning functions

By using Amazon Redshift machine learning (ML), you can train ML models using SQL statements and invoke them in SQL queries for prediction. Amazon Redshift model explainability includes feature-importance values to help you understand how each attribute in your training data contributes to the predicted result.

Following, you can find descriptions for the machine learning functions for SQL that Amazon Redshift supports.