# Number - Random (Stochastic|Independent) or (Balanced)

Think of randomness as a lack of pattern.

Something random should be unpredictable. We shouldn’t be able to predict the next value of the sequence

The degree to which a system has no pattern is known as entropy.

The opposite of random is deterministic.

## Example of bad random sequence

Type Sequence Example
Uniform sequence 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
Repeated sequence 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
Too many low numbers 1 3 2 5 3 9 1 2 4 2 5 1 1 2 8 1 5 2 3 4
Too many even numbers 2 8 4 6 0 9 8 2 4 8 6 4 2 2 5 1 4 8 6 2

## Type

### True

A high-entropy source is completely chaotic, is unpredictable, and is called true randomness.

Where computers fail at creating true randomness (see pseudo), the physical world does not. Truly random seed numbers can be derived from the unpredictability of physical processes itself (radioactive decay, imprecision of taking measurements)

A truly random distribution is:

Demo with pseudo number:

• A helper function to draw an histogram
• Creating the population data randomly distributed
• Building and getting the bins
• Getting the bin
• The HTML page

### Pseudo

As digital computers are deterministic, truly randomness within a computer doesn't exist.

It turns out to be mathematically impossible to generate true random numbers using a digital computer, but it is possible to generate pseudo-random numbers. See Number - Pseudo-random Numbers

Pseudo-random distribution.

## Documentation / Reference

Recommended Pages (Probability|Statistics) - Binomial Distribution

The binomial distribution is the discrete probability distribution of the number of successes in a sequence of n independent yes/no experiments, each of which yields success with probability p. The... (Statistics|Probability|Machine Learning|Data Mining|Data and Knowledge Discovery|Pattern Recognition|Data Science|Data Analysis)

The terms pattern recognition, machine learning, data mining and knowledge discovery in databases (KDD) are hard to separate, as they largely overlap in their scope.Machine Learninsupervised learning methodKDD... Cryptography - Nonce (Number Only used once)

In cryptography, a nonce is an arbitrary number that can only be used once. A value that is used only once. It is similar in spirit to a nonce word, hence the name. It is often a random or pseudo-random... Data Mining - (Prediction|Guess)

Something predictable is showing a pattern and is therefore not truly random. entropytrue randomness Many forms of data mining model are predictive. For example, a model might predict income based on... Data Mining - Entropy (Information Gain)

The degree to which a system has no pattern is known as entropy. A high-entropy source is completely chaotic, is unpredictable, and is called true randomness. Entropy is a function “Information”... Data Mining - Noise (Unwanted variation)

Information from all past experience can be divided into two groups: information that is relevant for the future (“signal”) information that is irrelevant (“noise”). In many cases the factors... Data Mining - Random forest

Random forest (or random forests) is a trademark term for an ensemble classifier that consists of many decision trees and outputs the class that is the mode of the classes output by individual trees. ... Function - (Non) Deterministic - Predictable

All functions are deterministic or non-deterministic: Deterministic functions always return the same result any time they are called with a specific set of input values. If you give them the same set... Machine Learning - Area under the curve (AUC)

The Area under the curve (AUC) is a performance metrics for a binary classifiers. By comparing the ROC curves with the area under the curve, or AUC, it captures the extent to which the curve is up in the... Number - Pseudo-random Numbers

Pseudo-random numbers is a sequence of numbers that is predictable if you know the seed. Because true randomness is unpredictable, this is called pseudo randomness (If you know the seed, you can predict... 