Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Microsoft Machine Learning Server Samples and Solutions

Microsoft Machine Learning Server supports R and Python deployments on Windows, Linux and Hadoop. See the Machine Learning server documentation for more information about supported platforms.

Microsoft Machine Learning Services brings the compute to the data by allowing R or Python to run on the same computer as the database. It includes the Trusted Launchpad service, which runs outside the SQL Server process and communicates securely with the R or Python runtime.

Use the MSDN Forum Microsoft Machine Learning Server for questions about ML Server. If you have questions about the samples and solutions, please open an issue in the relevant repository.

This repository serves as a landing page for you to more easily find the samples and solutions in other repositories. Please create a pull request if you have a repository you'd like to add to this list.


The following repositories contain sample code for you to try.

Repository Description
Microsoft/SQL-Server-R-Services-Samples Samples on how to use SQL Server ML Services with R.
Microsoft/ML-Server-Python-Samples Python Samples for ML Server
Microsoft/microsoft-r Operationalization and the MicrosoftML package

Direct links to all the samples and solutions offered are below. They may contain multiple languages and/or platform code.

Solution Documentation Languages
Binary Classification (1) Code Python
Binary Classification (2) Documentation Python
Campaign Optimization Website R
Categorical features Code Python
Customer Churn Repository R
Energy Demand Forecasting Repository R
Feature selection Code Python
Formulas Code Python
Fraud Detection Website R
Galaxy Classification Repository R
Hyperparameter tuning Code Python
Image classification Code Python
Image similarity Code Python
Input schemas Code Python
Length of Stay Website R Python
Loss function Code Python
Multi-class classification Code Python
Image Similarity Website Python
Loan ChargeOff Prediction Website R
Loan Credit Risk Website R
Predictive Maintenance (1) Repository R
Predictive Maintenance (2) Repository R
Product Cross Sell Repository R
Regression with MicrosoftML Code Python
Regression with RevoscalePy Code Python
Resume Matching Repository R
Retail Forecasting Repository R
Sentiment Analysis Code Python
Text Classification Website R Python
Text Featurization Code Python


Please create a pull request if you have a repository you'd like to add to this list.

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

Legal Notices

Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at

Privacy information can be found at

Microsoft and any contributors reserve all others rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise.


GitHub repositories for Machine Learning Server



Code of conduct


No releases published


No packages published

Contributors 4