Common Probability Distributions That Occur In Nature And Why Mathematics Is The Language Of The Universe
Fundamentally the patterns of the universe repeat themselves making machine learning and AI possible.
Basically, when training ML models, including NNs we are attempting to model the patterns in the data. A good model can predict unseen data points that are part of the original data distribution.
Here are the common probability distributions and where they occur naturally
Symmetry and normal distributions - Nature loves balance. You see it in butterfly wings, faces, and even in physical laws. Natural phenomena that exhibit symmetry often fit well with a normal distribution.
The Central Limit Theorem tells us that the sum of many independent, identically distributed variables approaches a normal distribution. These distributions are characterized by a mean and a standard deviation and everything from human heights, IQ scores, and even the velocities of molecules in a gas follow a normal distribution
Log-normal distribution - If the logarithm of the variable follows a normal distribution, then the variable itself has a log-normal distribution. The distribution of financial assets, or the sizes of particles generated by grinding, blood pressure, and metabolic rates in various organisms often follow a log-normal distribution.
The Log-Normal Distribution often arises from multiplicative growth processes, where you're repeatedly multiplying by some random factor.
Uniform Distribution. This is self-explanatory. All outcomes are equally likely. In the continuous case, the probability density function is flat between the minimum and maximum values. Rolling a fair die, or picking a card from a well-shuffled deck follows uniform distributions
Poisson Distribution It describes the probability of a given number of events occurring in a fixed interval of time or space. The events must occur with a known constant mean rate and independently of each other. It is the go-to for predicting rare events.
Poisson distribution models the number of times a radioactive atom decays in a given time period, or the number of cars passing through a certain point in a given time frame.
If a particular intersection sees an average of 10 cars passing through it per minute, the Poisson Distribution can estimate the probability of 15 cars passing through in the next minute. Similarly in sports like hockey or soccer where goals are rare, you can use distribution to model the number of goals scored by each team.
Bernoulli Distribution, the binary star of the probability universe! Scientifically speaking, it's a discrete probability distribution that models a single experiment with exactly two outcomes, often termed "success" and "failure," and is characterized by a single parameter p, the probability of success.
The flip of a coin, genetic inheritance (you either have a trait or you don't), and the polarization of a single photon (either vertical or horizontal) model this distribution.
Binomial Distribution It describes the number of successes in a fixed number of independent Bernoulli trials, each with the same probability of success.
For example, The number of heads when flipping a coin multiple times, or the number of defective items in a batch of manufactured goods can be modeled with this distribution.
Exponential Distribution models the time you have to wait for the next event in scenarios where events happen independently and at a constant average rate. It's often used to describe phenomena like the time between bus arrivals or the intervals between radioactive decay events.
In essence, it's the go-to distribution for understanding "waiting times" in various natural and man-made systems.
This is a summary of the most common distributions. There are a bunch of other distributions that are related or variations on the above distributions and the image below captures some of them.
These naturally occurring distributions speak to why mathematics is the language of the universe and how you can use it to model and predict its behavior
• • •
Missing some Tweet in this thread? You can try to
force a refresh
CodeLLM - AI CODE EDITOR THAT COMBINES ALL THE BEST CODING LLMs
We combined all the best coding LLMs, including o1, Sonnet 3.5, Gemini, and Qwen, and created CodeLLM. The new CodeLLM is available in a VS code-based client by the same name.
We also get UNLIMITED INTRODUCTORY QUOTA, so you can help us test and improve it.
CodeLLM finishes your code, responds to prompts, and can chat with your code base. You can also chat with CodeLLM or any other SOTA LLMs to get answers to your questions.
Over the next few months, CodeLLM will intuit your thoughts from a simple phrase and code magically ;)
HERE IS THE BEST PART - ChatLLM and CodeLLM are bundled together... So it comes FOR FREE with ChatLLM.
Thread show casing CodeLLM.
1/. Simple Auto-complete
2/ Choose CodeLLM from the pull-down and it automatically routes to the best LLM based on query
LAUNCHING COMPUTER AGENT - AI USES BROWSER / COMPUTER TO PERFORM WORK
Today, we are excited to make the world’s FIRST COMPUTER AGENT generally available on ChatLLM.
A computer Agent is an AI agent that uses a browser and computer to perform work like humans do. You can log into different accounts like LinkedIn, Salesforce, or Google Docs and ask the computer to complete your job.
This feature is launching in Beta, but you can already do many fun things.
Some examples
- Go to LinkedIn, find all the CIOs in the food industry, and enter them into Salesforce
- Scrape a website for pricing and start a Google sheet to track prices
- Create a new spaceship game on my computer
- Play my favorite songs on YouTube!
The LLM will control the browser and other apps on your behalf. Over time, this will become a new approach for AI agents.
See the thread for fun examples of what the COMPUTER AGENT can do.