- This manuscript was published in Earth and Planetary Science Letters in 2025.
by L. C. Gallo1, M. Domeier1, P.Y. Antonio2, F. Sapienza3, A. Rapalini4, E. Font5, T. Adatte6, R.I.F. Trindade7, F. Temporim8, J. Tonti-Filippini1, P. Silkoset1 and L. Warren9
(1) Centre for Planetary Habitability, University of Oslo, Norway. (2) Géosciences Montpellier, Université de Montpellier, France. (3) Department of Geophysics, Stanford University, Stanford, United States. (4) Consejo Nacional de Investigaciones Científicas y Técnicas, Buenos Aires, Argentina. (5) Departamento de Ciências da Terra, Universidade de Coimbra, Portugal. (6) Institute of Earth Sciences (ISTE), University of Lausanne, Switzerland. (7) Department of Geophysics, University of São Paulo (USP), Brazil. (8) Faculdade de Ciências e Tecnologias, Universidade Federal de Goiás, Brazil. (9) Instituto de Geociências e Ciências Exatas, Departamento de Geologia, Rio Claro (SP), Brazil.
Citation: Gallo, L. C., Domeier, M., Antonio, P. Y., Sapienza, F., et al. (2025). Unraveling Remagnetization Sources using Statistical Learning. Earth and planetary Science Letters, 662, 119390. https://doi.org/10.1016/j.epsl.2025.119390
In this project, we introduce a novel approach that integrates geochemical data with rock magnetic measurements. By training a Random Forest regressor on the extracted geochemical features, our method provides accurate predictions of remagnetization. Unlike traditional machine learning methods, which often prioritize predictive accuracy, our statistical learning framework focuses on uncovering the geochemical mechanisms behind remagnetization through feature importance analysis. This approach not only yields robust predictions but also offers valuable insights into the complex processes driving remagnetization.
This repository contains all the notebooks and code required to reproduce our analysis. Using a geochemical dataset collected alongside rock magnetic data, we employ a Random Forest regressor trained on the geochemical features to accurately predict the extent of remagnetization.
- Code: Detailed Jupyter notebooks that guide you through the entire analysis workflow—from data preprocessing and feature extraction to model training and evaluation.
- Data: Documentation and links to the high-resolution geochemical and rock magnetic datasets used in our study.
- Clone the Repository:
git clone https://github.com/LenGallo/Gallo-etal-2025_Statistical-Learning-Remagnetizations
- Set Up the Environment:
conda env create -f environment.yml conda activate ml_env
- Run the Notebooks:
Open the Jupyter notebooks in theml_envenvironment and execute the cells sequentially to reproduce the complete analysis pipeline.
To open a cloud JupyterHub version of the notebooks in this repository and run them on Binder used the following Binder link. Note that the repository will take a long time to load as the environment is being created: