petrobras/3W

Timely detections for more proactive and effective actions in offshore oil wells!

What it solves

Oil wells can experience undesirable events (like failures or anomalies) that cause production losses, high maintenance costs, and even environmental or safety risks. Detecting these events quickly is hard because they are rare and real-world data is messy. 3W provides a public benchmark dataset and a Python toolkit so researchers and engineers can develop and compare machine learning models for this problem.

How it works

The project has two main parts: the 3W Dataset and the 3W Toolkit. The dataset is a collection of realistic, rare events recorded from three different sources in offshore oil wells, stored as Parquet files. The toolkit is a Python package that helps you generate dataset overviews, run experiments, and standardize the machine learning pipeline (e.g., data split, evaluation). It includes example notebooks that show how to use the data and toolkit together. The project is open source, with code under Apache 2.0 and data under CC BY 4.0.

Who it’s for

This is aimed at anyone working on machine learning for oil and gas operations: researchers, data scientists, engineers, startups, and other oil operators. It is also useful for educators looking for a realistic benchmark dataset with rare-event challenges. Because it is open and evolving, contributions from the community are welcome.

Highlights

  • First public realistic dataset of rare undesirable events in offshore oil wells.
  • Python toolkit that simplifies dataset exploration and supports comparative analysis of ML algorithms.
  • Designed to be extended: the dataset and toolkit grow over time with community contributions.
  • Clear licensing: code Apache 2.0, data CC BY 4.0.
  • Examples and documentation available (Jupyter notebooks, Read the Docs).

Related

  • Project
  • Project
  • Project
  • Project
  • Project