How to create RANDOM Numbers in Python?
DATA MUNGING DATA CLEANING PYTHON MACHINE LEARNING RECIPES PANDAS CHEATSHEET     ALL TAGS

# How to create RANDOM Numbers in Python?

This recipe helps you create RANDOM Numbers in Python

0
This python source code does the following: 1. Imports the necessary libraries 2. Generates the numpy numbers with unifrom distribution 3. Generates the numpy numbers with normal distribution
In :
```## How to create RANDOM Numbers in Python
def Kickstarter_Example_60():
print()
print(format('How to create RANDOM Numbers in Python','*^82'))

import warnings
warnings.filterwarnings("ignore")

import numpy as np

# Generate A Random Number From The Normal Distribution
print(); print(np.random.normal())

# Generate Four Random Numbers From The Normal Distribution
print(); print(np.random.normal(size=14))

# Generate Four Random Numbers From The Uniform Distribution
print(); print(np.random.uniform(size=14))

# Generate Four Random Integers Between 1 and 100
print(); print(np.random.randint(low=1, high=100, size=14))

Kickstarter_Example_60()
```
```**********************How to create RANDOM Numbers in Python**********************

0.5718079692879499

[-0.61879245  0.65817166 -0.41865909 -0.94647033 -0.01689476 -0.47632777
1.2639386  -0.11208773  0.14831378  0.84344252  1.22783882  1.0624572
-0.71145307 -0.24354584]

[0.66456188 0.86262981 0.8608813  0.40233827 0.07954986 0.2030632
0.37323321 0.28267457 0.67675625 0.10700224 0.89255879 0.38690977
0.66770101 0.16143554]

[ 4 99 10 66 28 81 22  5 36 25 28 92 39 93]
```

#### Relevant Projects

##### Perform Time series modelling using Facebook Prophet
In this project, we are going to talk about Time Series Forecasting to predict the electricity requirement for a particular house using Prophet.

##### Predict Census Income using Deep Learning Models
In this project, we are going to work on Deep Learning using H2O to predict Census income.

##### Solving Multiple Classification use cases Using H2O
In this project, we are going to talk about H2O and functionality in terms of building Machine Learning models.

##### Customer Market Basket Analysis using Apriori and Fpgrowth algorithms
In this NLP AI application, we build the core conversational engine for a chatbot. We use the popular NLTK text classification library to achieve this.

##### Sequence Classification with LSTM RNN in Python with Keras
In this project, we are going to work on Sequence to Sequence Prediction using IMDB Movie Review Dataset​ using Keras in Python.

##### Machine Learning project for Retail Price Optimization
In this machine learning pricing project, we implement a retail price optimization algorithm using regression trees. This is one of the first steps to building a dynamic pricing model.

##### Walmart Sales Forecasting Data Science Project
Data Science Project in R-Predict the sales for each department using historical markdown data from the Walmart dataset containing data of 45 Walmart stores.

##### Choosing the right Time Series Forecasting Methods
There are different time series forecasting methods to forecast stock price, demand etc. In this machine learning project, you will learn to determine which forecasting method to be used when and how to apply with time series forecasting example.

##### Deep Learning with Keras in R to Predict Customer Churn
In this deep learning project, we will predict customer churn using Artificial Neural Networks and learn how to model an ANN in R with the keras deep learning package.

##### Forecast Inventory demand using historical sales data in R
In this machine learning project, you will develop a machine learning model to accurately forecast inventory demand based on historical sales data.