Mineral prospectivity mapping (MPM) is the process of combining multiple spatial datasets to produce a map showing how likely each location in a study area is to host a mineral deposit of a given type. It is an exploration decision-support tool. Rather than asking “Is there gold here?” it asks “Given everything we know about geology, structure, geochemistry, geophysics and known deposits, where is the best place to look next?”
Prospectivity mapping has existed for decades, long before machine learning. Early approaches relied on expert-driven (knowledge-driven) methods, in which geologists assign weights to evidence layers using their understanding of the mineral system, and data-driven statistical methods, such as weights of evidence, that learn relationships from known deposits. Machine learning (ML) extends the data-driven approach with more flexible algorithms that can capture complex, non-linear relationships among many layers.
The goal is not to replace geological thinking but to organise it, test it quantitatively and apply it consistently over large areas, helping exploration teams prioritise targets and allocate limited budgets.
Why Use Machine Learning?
- Many evidence layers. Modern exploration generates dozens of datasets (geology, structure, alteration indices, magnetic and radiometric derivatives, geochemical element maps and more). ML can handle high-dimensional data that overwhelms manual weighting.
- Non-linear and interacting factors. Deposits form where several conditions combine, such as a favourable rock, a structural trap and a geochemical anomaly. Algorithms like random forests capture such interactions.
- Objectivity and repeatability. Models can be re-run with new data, and the process is documented.
- Feature importance. Many ML methods indicate which layers contribute most, giving geological insight and helping refine exploration models.
- Scalability. Processing large regions or entire countries is practical.
ML also has limitations, which we discuss below. It works best as part of a hybrid approach in which geological knowledge guides the choice of inputs and the interpretation of outputs.
The Mineral Systems Approach: Start with Geology
The most successful prospectivity models begin with a mineral systems conceptual model, which describes the critical processes that form a deposit type:
- Source: where do the metals and fluids come from?
- Pathways: what structures and permeable zones transport the fluids?
- Traps: what physical or chemical conditions concentrate the metals (such as rheological contrasts, fault bends, reactive host rocks or redox boundaries)?
- Deposition and preservation: what ensures that the deposit forms and survives erosion?
Each process can be represented by spatial evidence layers, sometimes called predictor maps or proxies. For example, for orogenic gold in a greenstone belt:
- Pathways: proximity to major shear zones and faults, lineament density, fault intersection density and structural complexity from magnetic data.
- Traps: contacts between competent and incompetent rocks, proximity to granite-greenstone contacts, fault jogs and dilational bends.
- Host rocks: favourable lithologies, such as banded iron formation, mafic volcanics or certain intrusive rocks.
- Alteration: sericite, carbonate, silica or iron oxide alteration indices from remote sensing and radiometrics (potassium enrichment).
- Geochemistry: gold and pathfinder elements such as arsenic and antimony in soil or stream sediments.
- Geophysics: magnetic highs and lows, gravity gradients, and induced polarisation or resistivity anomalies where available.
By designing layers around the mineral system, you embed geological knowledge in the model and reduce reliance on blind pattern matching.
Typical Evidence Layers (Predictors)
| Category | Examples |
|---|---|
| Geology | Lithology, age, intrusive contacts, distance to key units |
| Structure | Distance to faults and shear zones, fault density, lineament density, intersection density |
| Remote sensing | Iron oxide, clay and hydroxyl indices, band ratios, ASTER mineral indices, vegetation indices |
| Geophysics | Magnetic intensity and derivatives, analytic signal, radiometric potassium, thorium and uranium, gravity |
| Geochemistry | Soil, stream sediment or rock chip assays, element ratios, multi-element associations |
| Topography | Slope, curvature, topographic position, drainage density |
| Other | Distance to known deposits (use carefully), regolith or weathering maps |
Use evidence layers that represent real geological controls, and be careful with layers that mainly reflect exploration activity (such as sample density or distance to roads).
Training Data: Positives and Negatives
Supervised ML needs labelled examples. In MPM:
- Positive (mineralised) samples are known deposits, mines and significant occurrences of the target type. They are usually few, often tens to a few hundred, even in well-explored areas.
- Negative (barren) samples are much harder to define. Absence of a known deposit does not prove absence of mineralisation, because many areas remain unexplored. Common approaches include selecting random locations away from known deposits, choosing locations that were explored and found barren (when records exist), or using positive-unlabelled (PU) learning, which treats non-deposit locations as unlabelled rather than truly negative.
This class imbalance and label uncertainty is a central challenge. The selection of training data strongly influences the results, so document the assumptions clearly.
Common Machine Learning Algorithms for MPM
Random forest. An ensemble of decision trees trained on random subsets of data and features. Random forests are the most widely used algorithm in MPM because they handle many layers, capture non-linear interactions, tolerate noise, are relatively resistant to overfitting and provide feature importance measures.
Gradient boosting (XGBoost, LightGBM, CatBoost). Sequentially built trees that correct earlier errors. Often highly accurate, but need careful tuning and can overfit small datasets.
Support vector machines (SVM). Find the boundary that best separates classes, effective with limited samples and high-dimensional data.
Logistic regression and weights of evidence. Simple, interpretable statistical models that remain valuable benchmarks. Weights of evidence, a Bayesian method, computes how strongly each binary evidence layer is associated with known deposits.
Artificial neural networks and deep learning. Capable of learning complex patterns, and convolutional neural networks can use raw raster patches as input, learning spatial features directly. They typically need more data, and are harder to interpret. Applied cautiously, they have shown promise in several studies.
Unsupervised and anomaly detection methods. Clustering, self-organising maps and autoencoders can identify unusual multivariate patterns where labelled deposits are scarce, which is useful in frontier regions.
Fuzzy logic and knowledge-driven models. Where known deposits are very few, expert-defined fuzzy membership functions can combine evidence layers, sometimes blended with data-driven methods in hybrid approaches.
Ensemble and hybrid approaches. Combining multiple models, or integrating knowledge-driven weights with data-driven learning, often improves robustness.
A Step-by-Step Workflow
Step 1: Define the target and the mineral system model. Specify the deposit type (for example orogenic gold or iron oxide copper-gold), the scale (regional or district) and the objective. Describe the key controls and how they can be represented spatially.
Step 2: Compile and quality-check data. Gather geological maps, geophysical grids, remote sensing data, geochemical datasets and the deposit database. Harmonise coordinate systems and resolutions, fill or flag gaps and verify the deposit locations and types.
Step 3: Engineer features. Create layers that represent the controls: distances to structures, densities, alteration indices, geophysical derivatives and so on. Consider multi-scale features, such as the density of faults within several search radii. Avoid redundant or leaking variables.
Step 4: Prepare training data. Define the positive and negative or unlabelled samples. Consider the spatial distribution, and use buffering so that the sampling windows are consistent.
Step 5: Split data for training and testing using spatial strategies. Randomly splitting nearby pixels between training and test sets inflates accuracy because neighbouring pixels are similar. Use spatial block cross-validation or hold out entire areas or deposits to evaluate how the model performs in new locations.
Step 6: Train models and tune hyperparameters. Compare several algorithms against a simple baseline (for example logistic regression). Tune parameters using cross-validation.
Step 7: Evaluate performance with appropriate metrics. Because deposits are rare, overall accuracy is misleading (a model predicting “no deposit” everywhere may be 99 percent accurate). Use:
- ROC curves and AUC, measuring the ability to rank positives above negatives.
- Precision-recall curves, more informative for imbalanced data.
- Prediction-area plots or success-rate curves, showing the percentage of known deposits captured within the top X percent of the area. A good model captures a large share of deposits in a small, high-prospectivity area.
- Confusion-matrix based metrics at chosen thresholds.
Step 8: Interpret the model. Examine feature importance and use explainable AI tools (such as SHAP values or partial dependence plots) to see how each layer influences predictions. Check that the relationships make geological sense. If the most important predictor is something unrelated to geology (such as proximity to a road), investigate bias.
Step 9: Produce the prospectivity map and quantify uncertainty. Apply the model to the whole study area to produce a continuous map, then classify into prospectivity classes (very high to very low). Map uncertainty by running multiple models or bootstrap samples and showing variability. Highlight areas where predictions rely on extrapolation.
Step 10: Validate and prioritise targets. Review the high-prospectivity zones with geologists, check them against independent data, such as new discoveries, drill results or recent geochemical surveys, and rank targets considering geological plausibility, accessibility, land status and exploration stage.
Step 11: Field verification and iteration. Follow up with mapping, sampling, geophysics or drilling. Use the results to update the dataset and retrain the model. MPM is an iterative learning process.
Pitfalls and How to Avoid Them
Learning exploration history, not geology. Known deposits cluster where companies have explored. The model may predict high prospectivity near existing mines and roads. Mitigate by excluding exploration-effort proxies, using geologically meaningful predictors and testing in unexplored areas.
Data leakage. Using variables derived from the deposits themselves (for example geochemical anomalies sampled at the deposit, or distance to known deposits) can cause circular reasoning. Make sure predictors are independent of the labels.
Too few deposits. With very small positive sets, complex models overfit. Use simpler models, strong regularisation, knowledge-driven constraints, transfer learning from analogous areas or hybrid methods.
Spatial autocorrelation. Handle with spatial cross-validation and consider the effective sample size.
Inconsistent data quality and resolution. Layers at different resolutions and coverage can introduce artefacts. Resample thoughtfully and document it.
Over-reliance on a single metric or on pretty maps. Consider multiple evaluation metrics and always show uncertainty.
Ignoring cover. Where bedrock is covered by sediments or regolith, surface-based layers may not reflect the geology beneath. Geophysics and geochemistry become more important, and the model may need to be built separately for covered areas.
Black-box acceptance. Do not accept predictions without understanding the drivers. Compare with expert judgement.
Misreporting. Prospectivity maps are exploration tools, not resource estimates. Do not present them in a way that misleads investors or the public about the existence of mineral resources. Professional reporting standards apply to exploration results.
Combining Knowledge-Driven and Data-Driven Approaches
In greenfield areas with few known deposits, fully data-driven ML may not be feasible. Hybrid strategies include:
- Using analogue deposits from similar geological settings to train the model, then applying it to the new area (with caution about differences).
- Setting expert priors that constrain the model or weight the evidence layers, then updating them with limited data.
- Fuzzy logic or Bayesian networks that encode geological reasoning and uncertainty.
- Ensemble models that blend expert-based and data-driven maps.
- Active learning and iterative targeting, where each new result improves the model.
These approaches respect the limits of data while using machine learning’s strengths.
Tools and Software
- Python: scikit-learn, XGBoost, LightGBM, TensorFlow or PyTorch, GeoPandas, Rasterio and spatial cross-validation libraries.
- R: packages for spatial statistics, caret and mlr, and prospectivity-specific tools.
- QGIS and ArcGIS: data preparation, layer derivation and map production, with plugins for weights of evidence and other methods.
- Google Earth Engine: processing satellite data at scale for remote sensing predictors.
- Specialised exploration software: some commercial packages include prospectivity modules.
- Cloud computing: for large regional or national studies.
Using scripts and version control supports reproducibility.
Application in East Africa and Kenya
East Africa hosts a wide range of mineral systems, including orogenic gold in Archaean greenstone belts and Neoproterozoic mobile belts, rare earths in carbonatites, industrial minerals, gemstones, base metals and coastal heavy mineral sands. Many areas are lightly explored with sparse deposit data but have openly available satellite data and some regional geophysics. In such settings, MPM can:
- Prioritise licence areas and guide early-stage exploration, saving cost.
- Integrate legacy data from geological surveys and historic reports.
- Support national or county-level planning, and help junior explorers focus.
- Highlight underexplored structural corridors, such as shear zones in western Kenya’s greenstone belts, for field follow-up.
Because of data limitations, results should be treated as guides, with a strong emphasis on field mapping, geochemical sampling and local geological knowledge.
Frequently Asked Questions
Is machine learning more accurate than traditional methods? Not automatically. It can capture complex patterns, but accuracy depends on data quality, training samples and validation. Simple methods are sometimes competitive, and hybrid approaches often work best.
How many known deposits do I need? There is no fixed number. More examples help, but even with few, careful hybrid methods can be useful. Be transparent about uncertainty.
Can machine learning discover a deposit on its own? No. It ranks areas based on patterns, and discovery still requires field work and drilling.
Which algorithm should I use? Random forests are a robust starting point. Compare with simpler baselines and other methods, and choose based on validation and interpretability.
How should I show uncertainty? Run multiple models or bootstrap samples, map the variation, and highlight where predictions rely on extrapolation.
Do I need programming skills? Python or R skills are very helpful. Some GIS packages offer point-and-click tools, but understanding the underlying concepts is essential.
Conclusion
Machine learning can make mineral prospectivity mapping more powerful, scalable and objective, by integrating many layers of geological, structural, geophysical, geochemical and remote sensing data. But the best models are built on sound mineral systems thinking, carefully engineered geological features, rigorous spatial validation and honest treatment of uncertainty. Treat the maps as hypotheses that focus exploration effort, then test them in the field.
For mineral exploration targeting, structural geology, GIS, remote sensing and data-driven geological interpretation, contact Reg. Geol. Mbugua Githae (MGSK) via consult.innercoregeoconsultants.co.ke.


