Machine Learning Services Sample Projects

Discover practical implementations and code samples for integrating machine learning models with SQL Server using Machine Learning Services. These samples cover a range of use cases, from predictive analytics to data transformation and more.

Customer Churn Prediction

Build and deploy a predictive model to identify customers likely to churn. This sample demonstrates data preparation, model training with R/Python, and scoring within SQL Server.

R Python Classification Prediction SQL Server 2017+
View SQL Script Learn More

Sales Forecasting

Implement a time-series forecasting model to predict future sales based on historical data. This sample showcases techniques for seasonal decomposition and regression analysis.

Python Forecasting Time Series Regression SQL Server 2019+
View SQL Script Learn More

Product Recommendation Engine

Develop a collaborative filtering model to recommend products to users based on their past behavior and preferences. This sample integrates with the Spark MLlib library.

Spark Scala Recommendation Spark MLlib SQL Server Big Data Clusters
View SQL Script Learn More

Anomaly Detection in IoT Data

Detect unusual patterns or anomalies in streaming IoT data using unsupervised learning techniques. This sample uses isolation forests for outlier detection.

Python Anomaly Detection Unsupervised Learning IoT SQL Server 2017+
View SQL Script Learn More

For more advanced scenarios, please refer to the Advanced Analytics documentation.