~/aixsci
weekly updates

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

Every article

45articles
11structural-biology
17materials-chemistry
10astronomy
7climate-weather

aix-00286

AI fills gaps in river temperature records to track overlapping heatwaves

property predictionforecasting

climate-weather · ai-result · Nature Geoscience · 2026

aix-00288

Machine learning turns satellite cloud images into hourly rainfall maps for central Vietnam

classificationproperty prediction

climate-weather · ai-result · PLoS ONE · 2026

aix-00289

Machine learning points to filter loading as main driver of levoglucosan desorption temperature

property predictionattribution

climate-weather · ai-result · Environmental Science & Technology · 2026

aix-00281

Bacteria-derived aerosol matter made to produce oxidants, then modelled from its optical fingerprints

property prediction

climate-weather · ai-supporting · Environmental Science & Technology · 2025

aix-00290

Machine learning separates weather from policy in China's winter heating air pollution

property predictiondenoisingattribution

climate-weather · ai-result · Environmental Science & Technology · 2023

aix-00293

Machine learning used to predict fine particle emissions at a Greek regional airport

property prediction

climate-weather · ai-supporting · Toxics · 2025

aix-00294

Neural network trained on simple equations spots tipping points in real data

classificationforecasting

climate-weather · ai-result · Royal Society Open Science · 2022

aix-00279

Machine learning predicts where dopant atoms sit in hexaferrite crystals before refinement

classificationproperty prediction

materials-chemistry · ai-result · Advanced Science · 2026

aix-00273

Deep learning model flags bacterial proteins likely to drive infection

classificationstructure determination

structural-biology · ai-result · Bioinformatics · 2026

aix-00272

Tree-based models predict sliding wear of carburised and plain engineering steels

property prediction

materials-chemistry · ai-result · Materials · 2026

aix-00271

Machine learning predicts galaxy 'relicness' from survey measurements, cutting spectroscopy demand

property predictionclassification

astronomy · ai-result · Monthly Notices of the Royal Astronomical Society · 2026

aix-00227

Machine learning sifts a million candidate moving objects to find 258 new cool stars

classification

astronomy · ai-result · Astronomy and Astrophysics · 2025

aix-00235

Random forest sorts 130 million Magellanic Cloud sources into ten classes

classification

astronomy · ai-result

aix-00238

Classifiers label individual TESS brightness readings as planet transits or not

classificationdetectionanomaly detection

astronomy · ai-result · arXiv · 2026

aix-00206

Neural network designs five hard metallic glasses, all confirmed by experiment

property predictioncandidate generationsimulation surrogate

materials-chemistry · ai-result · Nature Communications · 2026

aix-00155

Neural network predicts crystal density of candidate explosives from molecular structure

property prediction

materials-chemistry · ai-result · Journal of Cheminformatics · 2023

aix-00151

Classifier sorts true from false AlphaFold predictions of human protein pairs

structure determinationclassification

structural-biology · ai-result · Molecular Cell · 2025

aix-00170

Machine learning predicts strength of PLA plastic filled with boron nitride flakes

property prediction

materials-chemistry · ai-supporting · Polymers · 2026

aix-00172

Machine learning tested against three definitions of protein shape-shifting

classificationproperty prediction

structural-biology · ai-result · Frontiers in Molecular Biosciences · 2022

aix-00143

Software models of two cancer proteins used to rank mutations by likely effect

structure determinationclassification

structural-biology · ai-result · Cancer Genetics · 2025

aix-00173

Machine learning predicts nanofibre thickness from electrospinning settings, tested against new scaffolds

property prediction

materials-chemistry · ai-result · Frontiers in Bioengineering and Biotechnology · 2026

aix-00178

Machine learning picked catalyst recipes for a loop of 44 lab cycles

property predictionexperimental design

materials-chemistry · ai-result · Nature Communications · 2023

aix-00133

Regression models predict how graphene loading changes aluminium's electron emission

property prediction

materials-chemistry · ai-result · Scientific Reports · 2025

aix-00181

Protein language model embeddings used to predict succinylation sites in proteins

classification

structural-biology · ai-result · Scientific Reports · 2022

aix-00188

Machine learning sorts antibody heavy chains by the germ they target

classification

structural-biology · ai-result · PLoS ONE · 2026

aix-00129

Neural networks sort supernovae and estimate their distances from brightness alone

classificationproperty predictiondenoising

astronomy · ai-result · arXiv · 2024

aix-00122

Random Forest sorts 9,446 white dwarfs by type from Gaia spectra

classification

astronomy · ai-result · Astronomy and Astrophysics · 2023

aix-00121

Machine learning sorts mitochondrial proteins into three compartments from sequence alone

classification

structural-biology · ai-result · Journal of Environmental and Public Health · 2022

aix-00112

Protein language model embeddings tested against classical descriptors for spotting resistance genes

classificationstructure determination

structural-biology · ai-result · Frontiers in Microbiology · 2026

aix-00108

Oxidation potentials for 15,238 molecules assembled from quantum calculations and lab measurements

property prediction

materials-chemistry · ai-supporting · Journal of Chemical Information and Modeling · 2025

aix-00107

Machine learning sorts plant protein sequences into disease-resistance proteins or not

classification

structural-biology · ai-result · Frontiers in Plant Science · 2022

aix-00101

Simulations map three sodium–bismuth compounds, then models predict their heat-to-electricity performance

property predictionsimulation surrogateattribution

materials-chemistry · ai-supporting · RSC Advances · 2025

aix-00081

Language models trained on protein sequences used to predict sugar-attachment sites

classification

structural-biology · ai-result · Bioinformatics Advances · 2024

aix-00080

Machine learning sifts three-colour infrared survey data for cold brown dwarfs

classificationproperty prediction

astronomy · ai-result · arXiv · 2024

aix-00071

Simulations map how surface atoms rearrange in alloys when molecules attach

property prediction

materials-chemistry · ai-supporting · The Journal of Physical Chemistry C · 2023

aix-00070

Neural network scores candidate composite microstructures in a strength–toughness design loop

property predictionsimulation surrogatecandidate generation

materials-chemistry · ai-result · Advanced Science · 2026

aix-00068

Machine learning predicts marine steel corrosion from seawater conditions and alloy make-up

property predictioncandidate generation

materials-chemistry · ai-result · Materials · 2025

aix-00066

Machine learning sifts 25,000 known materials for quantum-technology host candidates

classification

materials-chemistry · ai-result · npj Computational Materials · 2022

aix-00051

Ultrasound-treated clay bleaches cooking oil, with machine learning picking the settings

property predictionexperimental design

materials-chemistry · ai-supporting · Food Science & Nutrition · 2024

aix-00050

Machine learning tool flags protein helices likely to bind DNA or RNA

classification

structural-biology · ai-result · Journal of Chemical Information and Modeling · 2025

aix-00049

Eight machine learning methods sorted supernova gravitational wave signals by nuclear physics model

classification

astronomy · ai-result · Machine Learning Science and Technology · 2024

aix-00039

Machine learning predicts whether a dying massive star explodes, from its density profile

classification

astronomy · ai-result · The Astrophysical Journal Letters · 2022

aix-00035

GPT-4 reads band gap values from paper sentences to train better predictors

literature synthesisclassificationproperty prediction

materials-chemistry · ai-result · arXiv · 2023

aix-00025

Machine learning picks a new metal mixture, which casting and X-rays confirm

classification

materials-chemistry · ai-result · Scientific Reports · 2023

aix-00018

Telescope targets chosen nightly by a classifier learning from its own spectra

classificationexperimental design

astronomy · ai-result · Publications of the Astronomical Society of Australia · 2025