learn/model families
Random forest
A random forest is a prediction method that grows many simple decision trees on random slices of the data and lets them vote on the answer.
What it is
A decision tree is a chain of yes-or-no questions about the measurements describing something. Each question splits the data, and the end of the chain gives an answer: a class, such as yes or no, or a number. A single tree learns the quirks of the data it was shown and so often predicts badly on anything new. A random forest avoids this by growing many trees instead of one. Each tree is trained on a different random sample of the data, drawn with replacement, and at each question it may only choose between a random handful of the available measurements. The trees therefore differ from one another.
To make a prediction, every tree in the forest answers, and the answers are combined: a majority vote for classes, or an average for numbers. The share of trees voting for a class can be read as a rough confidence, often reported as a probability. Because the trees disagree in different directions, their errors partly cancel, and the combined answer is steadier than any one tree. Building many trees on random samples and combining them this way is called bagging. The measurements fed in are usually quantities a researcher has computed in advance, one row of numbers per item.
Why scientists use it
Scientists reach for random forests when they have a table of computed measurements and want a classification or a number out, without much tuning. The method copes with measurements on wildly different scales, with inputs that matter only in combination, and with relationships that are not straight lines. It does not need the data to follow any particular statistical shape. It also works on modest numbers of labelled examples, which matters when labels come from slow simulations or from careful laboratory work.
A forest can also report which measurements its trees relied on most, giving a crude ranking of what carries the signal. Because it is quick to train and quick to run, it suits jobs where answers are needed immediately, such as sorting a nightly stream of observations, or where it serves as a sensible baseline before anything more elaborate is tried.
In the record
Limits
A forest only knows the measurements it is given, so poor or missing ones cannot be rescued by more trees. It cannot sensibly predict outside the range of values it was trained on, and it inherits any bias in how its training examples were gathered, including classes that are rare in the data. The vote share resembles a probability but need not be a well-calibrated one. Its importance rankings show association, not cause. And because the answer is spread across many trees, no single readable rule explains why it decided as it did.
Written by AIxSci: the background from general knowledge, the examples from checked records.
By field
- Random forests in structural biology and protein science
- Random forests in materials and computational chemistry
- Random forests in astronomy and astrophysics
- Random forests in weather, climate and oceans
Every article
aix-00286
AI fills gaps in river temperature records to track overlapping heatwaves
aix-00288
Machine learning turns satellite cloud images into hourly rainfall maps for central Vietnam
aix-00289
Machine learning points to filter loading as main driver of levoglucosan desorption temperature
aix-00281
Bacteria-derived aerosol matter made to produce oxidants, then modelled from its optical fingerprints
aix-00290
Machine learning separates weather from policy in China's winter heating air pollution
aix-00293
Machine learning used to predict fine particle emissions at a Greek regional airport
aix-00294
Neural network trained on simple equations spots tipping points in real data
aix-00279
Machine learning predicts where dopant atoms sit in hexaferrite crystals before refinement
aix-00273
Deep learning model flags bacterial proteins likely to drive infection
aix-00272
Tree-based models predict sliding wear of carburised and plain engineering steels
aix-00271
Machine learning predicts galaxy 'relicness' from survey measurements, cutting spectroscopy demand
aix-00227
Machine learning sifts a million candidate moving objects to find 258 new cool stars
aix-00235
Random forest sorts 130 million Magellanic Cloud sources into ten classes
aix-00238
Classifiers label individual TESS brightness readings as planet transits or not
aix-00206
Neural network designs five hard metallic glasses, all confirmed by experiment
aix-00155
Neural network predicts crystal density of candidate explosives from molecular structure
aix-00151
Classifier sorts true from false AlphaFold predictions of human protein pairs
aix-00170
Machine learning predicts strength of PLA plastic filled with boron nitride flakes
aix-00172
Machine learning tested against three definitions of protein shape-shifting
aix-00143
Software models of two cancer proteins used to rank mutations by likely effect
aix-00173
Machine learning predicts nanofibre thickness from electrospinning settings, tested against new scaffolds
aix-00178
Machine learning picked catalyst recipes for a loop of 44 lab cycles
aix-00133
Regression models predict how graphene loading changes aluminium's electron emission
aix-00181
Protein language model embeddings used to predict succinylation sites in proteins
aix-00188
Machine learning sorts antibody heavy chains by the germ they target
aix-00129
Neural networks sort supernovae and estimate their distances from brightness alone
aix-00122
Random Forest sorts 9,446 white dwarfs by type from Gaia spectra
aix-00121
Machine learning sorts mitochondrial proteins into three compartments from sequence alone
aix-00112
Protein language model embeddings tested against classical descriptors for spotting resistance genes
aix-00108
Oxidation potentials for 15,238 molecules assembled from quantum calculations and lab measurements
aix-00107
Machine learning sorts plant protein sequences into disease-resistance proteins or not
aix-00101
Simulations map three sodium–bismuth compounds, then models predict their heat-to-electricity performance
aix-00081
Language models trained on protein sequences used to predict sugar-attachment sites
aix-00080
Machine learning sifts three-colour infrared survey data for cold brown dwarfs
aix-00071
Simulations map how surface atoms rearrange in alloys when molecules attach
aix-00070
Neural network scores candidate composite microstructures in a strength–toughness design loop
aix-00068
Machine learning predicts marine steel corrosion from seawater conditions and alloy make-up
aix-00066
Machine learning sifts 25,000 known materials for quantum-technology host candidates
aix-00051
Ultrasound-treated clay bleaches cooking oil, with machine learning picking the settings
aix-00050
Machine learning tool flags protein helices likely to bind DNA or RNA
aix-00049
Eight machine learning methods sorted supernova gravitational wave signals by nuclear physics model
aix-00039
Machine learning predicts whether a dying massive star explodes, from its density profile
aix-00035
GPT-4 reads band gap values from paper sentences to train better predictors
aix-00025
Machine learning picks a new metal mixture, which casting and X-rays confirm
aix-00018