NORA Iron Ore Detection Model

NORA Iron Ore Detection Models

Building Intelligence for the Real World.

Machine learning models for satellite-based iron ore prospectivity prediction and mineral exploration.

GitHub Hugging Face LinkedIn X

Website · Training Dataset · Research & Tools


Overview

Mineral exploration begins with a fundamental question: Where should we look first?

Identifying prospective mineral deposits requires analysing large volumes of geological, geophysical, geochemical, and remote-sensing data. This process can be time-consuming and resource-intensive, particularly during early-stage reconnaissance.

At NORA Research Lab, we are developing intelligent systems to transform mineral exploration into an increasingly automated, data-driven workflow.

As part of this effort, we developed eight machine-learning classifiers that estimate iron ore prospectivity using freely available Earth observation and elevation data.

The models analyse 20 satellite-derived features at a location and return a prediction score representing how closely its characteristics resemble those of known iron ore deposit locations.

These models are designed to support reconnaissance screening, regional prospectivity mapping, and the prioritisation of areas for further geological investigation.

This release represents part of our broader research towards automating solid mineral exploration.

Model Performance

Eight machine-learning models were trained and evaluated using spatial cross-validation.

Model Spatial-CV ROC-AUC
XGBoost 0.858
Histogram Gradient Boosting 0.853
Random Forest 0.853
Extra Trees 0.852
LightGBM 0.849
Logistic Regression 0.848
SVM (RBF) 0.845
k-Nearest Neighbours 0.840
Statistical Baseline 0.782

XGBoost achieved the highest ROC-AUC of 0.858.

All eight machine-learning models outperformed the statistical baseline.

An ROC-AUC of 0.858 indicates that the model ranks a randomly selected known deposit location above a randomly selected background location approximately 85.8% of the time.

These results demonstrate the potential of combining satellite-derived spectral, thermal, and terrain information with machine learning for regional mineral prospectivity screening.

Available Models

File Model ROC-AUC
xgboost.joblib XGBoost 0.858
gradient_boosting.joblib Histogram Gradient Boosting 0.853
random_forest.joblib Random Forest 0.853
extra_trees.joblib Extra Trees 0.852
lightgbm.joblib LightGBM 0.849
logistic_regression.joblib Logistic Regression 0.848
svm_rbf.joblib Support Vector Machine (RBF) 0.845
k_nearest_neighbours.joblib k-Nearest Neighbours 0.840

Every model is a scikit-learn Pipeline saved using Joblib.

All pipelines include median imputation. Logistic Regression, SVM, and k-NN additionally include standard scaling.


Training Dataset

The models were trained using a global collection of known iron ore deposit locations and background samples.

Dataset: NoraResearchLab/global-iron-ore-deposits

Dataset composition

Item Detail
Known iron ore deposits 975
Background locations 1,950
Total samples 2,925
Geographic coverage 77 countries
Positive-to-background ratio 1:2
Background distance 25–300 km from nearest known deposit

Half of the background locations were sampled on bare or sparsely vegetated ground using ESA WorldCover class 60.

Snow, water, wetland, and moss were excluded.

Background samples are locations without known deposits, not necessarily confirmed barren ground. Some may contain undiscovered mineralisation.

Satellite and elevation data

The training process incorporated:

  • Sentinel-2: Multispectral surface reflectance from six optical bands.
  • Landsat 8/9: Surface temperature measurements and thermal percentiles.
  • ALOS AW3D30: Digital surface elevation and derived slope.
  • Derived spectral indices: Ferric oxide, iron, ferrous iron, gossan, clay, NDVI, bare soil index, and brightness.

Imagery was collected over the period 1 January 2024 to 31 December 2025.

Feature values represent averages over a 500 m radius, calculated at 30 m resolution.


Input Features

Each model requires 20 features in the exact order below.

# Feature Definition Unit
1 B2 Sentinel-2 blue Reflectance
2 B3 Sentinel-2 green Reflectance
3 B4 Sentinel-2 red Reflectance
4 B8 Sentinel-2 near-infrared Reflectance
5 B11 Sentinel-2 SWIR 1 Reflectance
6 B12 Sentinel-2 SWIR 2 Reflectance
7 ferric_oxide B4 / B2 Ratio
8 iron_nd (B4 - B2) / (B4 + B2) -1 to 1
9 ferrous_iron B11 / B8 Ratio
10 gossan B11 / B4 Ratio
11 clay B11 / B12 Ratio
12 ndvi (B8 - B4) / (B8 + B4) -1 to 1
13 bsi Bare Soil Index -1 to 1
14 brightness Mean of six optical bands Reflectance
15 ST_p10 Landsat temperature 10th percentile Kelvin
16 ST_p50 Landsat temperature median Kelvin
17 ST_p90 Landsat temperature 90th percentile Kelvin
18 lst_range ST_p90 - ST_p10 Kelvin
19 elevation ALOS surface elevation Metres
20 slope Derived terrain slope Degrees

Important preprocessing requirements

  • Sentinel-2 reflectance must be scaled to 0–1.
  • Landsat surface temperature must be converted to Kelvin using ST_B10 × 0.00341802 + 149.0.
  • Spectral indices must be calculated from the averaged band values.
  • Feature extraction must use the same 500 m radius and preprocessing methodology used during training.

Quick Start

1. Installation

pip install "scikit-learn==1.6.1" joblib numpy pandas xgboost lightgbm huggingface_hub

The models were saved using scikit-learn 1.6.1. Use this version for compatibility.

2. Load a model

import joblib
import pandas as pd
from huggingface_hub import hf_hub_download

REPO = "NoraResearchLab/ore-all-models"

path = hf_hub_download(REPO, "xgboost.joblib")
model = joblib.load(path)

FEATURES = [
    "B2", "B3", "B4", "B8", "B11", "B12",
    "ferric_oxide", "iron_nd", "ferrous_iron",
    "gossan", "clay", "ndvi", "bsi", "brightness",
    "ST_p10", "ST_p50", "ST_p90", "lst_range",
    "elevation", "slope"
]

X = pd.DataFrame([[
    0.099, 0.139, 0.179, 0.281, 0.318, 0.263,
    1.81, 0.29, 1.13, 1.78, 1.21, 0.22, 0.134, 0.213,
    290.2, 306.2, 318.8, 28.5, 869.0, 6.9
]], columns=FEATURES)

probability = model.predict_proba(X)[:, 1]

print("Iron ore prospectivity score:", probability[0])

3. Run all eight models

import numpy as np
import pandas as pd
import joblib
from huggingface_hub import hf_hub_download

NAMES = [
    "xgboost",
    "gradient_boosting",
    "random_forest",
    "extra_trees",
    "lightgbm",
    "logistic_regression",
    "svm_rbf",
    "k_nearest_neighbours"
]

models = {
    name: joblib.load(hf_hub_download(REPO, f"{name}.joblib"))
    for name in NAMES
}

scores = pd.DataFrame({
    name: model.predict_proba(X)[:, 1]
    for name, model in models.items()
})

scores["ensemble_mean"] = scores.mean(axis=1)

print(scores.round(3))

The ensemble mean provides an additional way to compare model outputs.


Feature Extraction

The original training feature extraction was implemented using Google Earth Engine.

To reproduce the feature extraction, an authenticated Earth Engine account is required.

The following example illustrates the extraction process.

import ee
import numpy as np
import pandas as pd

ee.Initialize(project="YOUR_PROJECT_ID")

START, END = "2024-01-01", "2025-12-31"

S2_BANDS = ["B2", "B3", "B4", "B8", "B11", "B12"]

def feature_image():

    def s2_mask(img):
        scl = img.select("SCL")
        ok = (
            scl.neq(0).And(scl.neq(1)).And(scl.neq(3))
            .And(scl.neq(8)).And(scl.neq(9))
            .And(scl.neq(10)).And(scl.neq(11))
        )
        return img.updateMask(ok)

    s2 = (
        ee.ImageCollection("COPERNICUS/S2_SR_HARMONIZED")
        .filterDate(START, END)
        .filter(ee.Filter.lt("CLOUDY_PIXEL_PERCENTAGE", 50))
        .map(s2_mask)
        .select(S2_BANDS)
        .median()
        .multiply(0.0001)
    )

    def ls_prep(img):
        qa = img.select("QA_PIXEL")

        bad = (
            qa.bitwiseAnd(1 << 1)
            .Or(qa.bitwiseAnd(1 << 3))
            .Or(qa.bitwiseAnd(1 << 4))
            .Or(qa.bitwiseAnd(1 << 5))
        )

        return (
            img.select("ST_B10")
            .multiply(0.00341802)
            .add(149.0)
            .rename("ST")
            .updateMask(bad.eq(0))
        )

    ls = (
        ee.ImageCollection("LANDSAT/LC08/C02/T1_L2")
        .merge(ee.ImageCollection("LANDSAT/LC09/C02/T1_L2"))
        .filterDate(START, END)
        .filter(ee.Filter.lt("CLOUD_COVER", 60))
        .map(ls_prep)
        .reduce(ee.Reducer.percentile([10, 50, 90]))
    )

    dsm = (
        ee.ImageCollection("JAXA/ALOS/AW3D30/V3_2")
        .select("DSM")
    )

    elev = dsm.mosaic().setDefaultProjection(
        dsm.first().select(0).projection()
    )

    terrain = ee.Image.cat([
        elev.rename("elevation"),
        ee.Terrain.slope(elev).rename("slope")
    ])

    return ee.Image.cat([s2, ls, terrain])


def raw_features(lon, lat, buffer_m=500):

    geom = ee.Geometry.Point([lon, lat]).buffer(buffer_m)

    return feature_image().reduceRegion(
        ee.Reducer.mean(),
        geom,
        scale=30,
        tileScale=4
    ).getInfo()


def to_model_row(raw):

    b2, b3, b4, b8, b11, b12 = (
        raw[b] for b in S2_BANDS
    )

    row = {
        **{b: raw[b] for b in S2_BANDS},

        "ferric_oxide": b4 / b2,
        "iron_nd": (b4 - b2) / (b4 + b2),
        "ferrous_iron": b11 / b8,
        "gossan": b11 / b4,
        "clay": b11 / b12,

        "ndvi": (b8 - b4) / (b8 + b4),

        "bsi": (
            ((b11 + b4) - (b8 + b2))
            / ((b11 + b4) + (b8 + b2))
        ),

        "brightness": (
            b2 + b3 + b4 + b8 + b11 + b12
        ) / 6,

        "ST_p10": raw["ST_p10"],
        "ST_p50": raw["ST_p50"],
        "ST_p90": raw["ST_p90"],

        "elevation": raw["elevation"],
        "slope": raw["slope"]
    }

    row["lst_range"] = row["ST_p90"] - row["ST_p10"]

    return pd.DataFrame([row])[FEATURES]

If a location has no usable satellite observations, missing values may be returned. The model pipelines include median imputation for missing features.


Model Training Configuration

All models use median imputation and random seed 42.

Model Configuration
XGBoost 300 trees, max depth 4, learning rate 0.06
Histogram Gradient Boosting 300 iterations, max depth 4
Random Forest 400 trees, minimum 3 samples per leaf
Extra Trees 400 trees, minimum 3 samples per leaf
LightGBM 300 trees, 15 leaves, learning rate 0.06
Logistic Regression Standard scaling, max 3,000 iterations
SVM (RBF) Standard scaling, probability outputs
k-NN 25 neighbours, distance-weighted

Balanced class weights or equivalent class-balancing configurations were used where specified in the original training setup.


Evaluation Methodology

Geographic datasets introduce spatial dependence. Conventional random cross-validation can overestimate model performance because neighbouring locations often share environmental and geological characteristics.

To reduce this issue, we employed spatial cross-validation.

The world was divided into 10° × 10° geographic blocks. A five-fold StratifiedGroupKFold evaluation ensured that individual geographic blocks remained entirely within either the training or testing partition.

The evaluation used 122 geographic blocks containing data.

Detailed evaluation results

Model ROC-AUC ± Std Average Precision Deposits Found at 10% False Alarms
XGBoost 0.858 ± 0.032 0.792 60%
Gradient Boosting 0.853 ± 0.035 0.783 59%
Random Forest 0.853 ± 0.039 0.790 59%
Extra Trees 0.852 ± 0.037 0.787 57%
LightGBM 0.849 ± 0.035 0.784 61%
Logistic Regression 0.848 ± 0.045 0.750 60%
SVM (RBF) 0.845 ± 0.039 0.788 61%
k-Nearest Neighbours 0.840 ± 0.047 0.772 57%
Statistical Baseline 0.782 ± 0.049 0.640 42%

Additional observations

  • Adding thermal and terrain features improved XGBoost performance from 0.818 using multispectral features alone, to 0.822 with thermal features, and 0.858 after adding terrain features.
  • Tree-based models and Logistic Regression achieved relatively close ROC-AUC results.
  • Averaging predictions from multiple models provides an additional comparative screening approach.

Intended Applications

These models are intended to support:

  • Regional iron ore prospectivity mapping.
  • Reconnaissance survey prioritisation.
  • Identification of areas for further geological investigation.
  • Satellite-based mineral exploration research.
  • Development of automated mineral exploration workflows.
  • Scientific research and experimentation in geospatial machine learning.

Limitations and Responsible Use

These models are designed for preliminary screening and research applications.

Commodity coverage: The current models are specifically trained for iron ore prospectivity. They are not designed to predict other mineral commodities.

Surface sensitivity: Satellite observations capture surface characteristics. Vegetation, soil cover, weathering, and cloud conditions can obscure geological signals.

Probability interpretation: Model outputs are not calibrated probabilities of discovering an economic deposit. Background samples represent locations without known deposits, not confirmed barren ground.

Independent validation: The models have been evaluated against known deposits using spatial cross-validation. They have not yet undergone blind field validation against new discoveries.

Geographic generalisation: Performance may vary across geological settings, climates, and deposit types that are underrepresented in the training dataset.

Exploration decisions: Predictions should be interpreted alongside geological mapping, geophysical surveys, geochemical analysis, field investigations, and other relevant evidence.

The models do not replace professional geological judgement, fieldwork, or drilling.


Reproducing and Compatibility

  • Python-compatible Joblib model files.
  • scikit-learn 1.6.1.
  • XGBoost and LightGBM dependencies for their respective models.
  • NumPy and Pandas for feature preparation.

Only load model files from sources you trust.

Citation

If you use these models in research, publications, or other applications, please cite:

@misc{nora_iron_ore_models_2026,
  author = {NORA Research Lab},
  title = {Iron Ore Prospectivity Prediction Models},
  year = {2026},
  publisher = {Hugging Face},
  url = {https://huggingface.co/NoraResearchLab/ore-all-models}
}

About NORA Research Lab

NORA Research Lab is an independent AI research organization developing intelligent systems, machine-learning models, datasets, and computational tools for real-world applications.

Our mission is to build intelligence that automates complex real-world processes.

We are beginning with solid mineral exploration, working towards an integrated system capable of identifying potential deposits, evaluating geological characteristics, directing field investigations, and supporting subsurface exploration.

This model collection is one component of that broader research objective.

Connect With Us


NORA Research Lab
Building Intelligence for the Real World.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support