# Normal Distribution Generator API

Generate a set of values that are normally distributed.

> **Note:** This is depreciated.
The Normal Distribution Generator API is an example built with Microsoft Azure Machine Learning that helps generate and handle normal distributions. This service is a part of the Normal distribution suite of services that allows the user to generate a normal distribution sequence of any length (this specific service), calculate quantiles out of given probability and calculate probability from a given quantile. Each of the services emit different outputs based on the selected service. The Normal Distribution Suite is based on R functions qnorm, rnorm and pnorm that are included in R stats package.
##Consumption of Web Service##
This service accepts 3 arguments of a normal distribution and generates a random sequence of numbers that are normally distributed. The input arguments are:
- n - Number of observations,
- mean - The normal distribution mean,
- sd - the normal distribution standard deviation.
The output of the service is a sequence of length n with a normal distribution based on the mean and sd arguments
There are multiple ways of consuming the service in an automated fashion. One example apps is here: [Normal Distribution Generator](http://microsoftazuremachinelearning.azurewebsites.net/NormalDistributionGenerator.aspx).
*While this web service could be consumed by users - potentially through a mobile app, website, or even on a local computer for example, the purpose of the web service is also to serve as an example of how Azure ML can be used to create web services on top of R code. With just a few lines of R code and clicks of a button within the Azure ML Studio, an experiment can be created with R code and published as a web service. The web service can then be published to the Azure Marketplace and consumed by users and devices across the world with no infrastructure set-up by the author of the web service.*