Update README.md
Browse files
README.md
CHANGED
|
@@ -15,11 +15,11 @@ tags:
|
|
| 15 |
- subsurface
|
| 16 |
- formation-evaluation
|
| 17 |
size_categories:
|
| 18 |
-
- 1K<n<10K
|
| 19 |
---
|
| 20 |
|
| 21 |
[](https://github.com/Nora-Research-Lab)
|
| 22 |
-
[](https://huggingface.co/NoraResearchLab)
|
| 23 |
[](https://www.linkedin.com/company/nora-research-lab)
|
| 24 |
[](https://x.com/noraresearchlab)
|
| 25 |
[](https://noraresearchlab.site)
|
|
@@ -28,9 +28,9 @@ size_categories:
|
|
| 28 |
|
| 29 |
A supervised training dataset for machine learning and AI systems that learn to identify **lithology from well-log data**.
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
**Training dataset:**
|
| 34 |
https://huggingface.co/datasets/NoraResearchLab/Lithology-Training-Dataset
|
| 35 |
|
| 36 |
---
|
|
@@ -43,14 +43,14 @@ The core task is:
|
|
| 43 |
|
| 44 |
The dataset is designed for:
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
|
| 55 |
This dataset is intended for **training and model development**.
|
| 56 |
|
|
@@ -60,14 +60,14 @@ It is separate from the independent evaluation benchmark.
|
|
| 60 |
|
| 61 |
## Dataset Size
|
| 62 |
|
| 63 |
-
| Property
|
| 64 |
-
|---|---:|
|
| 65 |
-
| Total wells
|
| 66 |
-
| Lithological classes |
|
| 67 |
-
| Primary data type
|
| 68 |
-
| Label type
|
| 69 |
-
| Sampling
|
| 70 |
-
| Primary task
|
| 71 |
|
| 72 |
---
|
| 73 |
|
|
@@ -75,19 +75,47 @@ It is separate from the independent evaluation benchmark.
|
|
| 75 |
|
| 76 |
The dataset contains:
|
| 77 |
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
|
| 87 |
`UNKNOWN/MIXED` represents intervals where the available log evidence does not provide sufficient confidence for assigning one of the principal lithological classes.
|
| 88 |
|
| 89 |
---
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
## Dataset Configurations
|
| 92 |
|
| 93 |
### `logs`
|
|
@@ -106,4 +134,428 @@ PEF
|
|
| 106 |
DT
|
| 107 |
RT
|
| 108 |
CALI
|
| 109 |
-
...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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kedin.com/company/nora-research-lab)
|
| 24 |
[](https://x.com/noraresearchlab)
|
| 25 |
[](https://noraresearchlab.site)
|
|
|
|
| 28 |
|
| 29 |
A supervised training dataset for machine learning and AI systems that learn to identify **lithology from well-log data**.
|
| 30 |
|
| 31 |
+
The dataset contains **400 wells** with standardized wireline-log measurements and corresponding lithological labels.
|
| 32 |
|
| 33 |
+
**Training dataset:**
|
| 34 |
https://huggingface.co/datasets/NoraResearchLab/Lithology-Training-Dataset
|
| 35 |
|
| 36 |
---
|
|
|
|
| 43 |
|
| 44 |
The dataset is designed for:
|
| 45 |
|
| 46 |
+
* Lithology classification
|
| 47 |
+
* Well-log interpretation
|
| 48 |
+
* Sequence modelling
|
| 49 |
+
* Lithological interval segmentation
|
| 50 |
+
* Petrophysical machine learning
|
| 51 |
+
* Geoscience AI
|
| 52 |
+
* Subsurface representation learning
|
| 53 |
+
* Benchmark and model development
|
| 54 |
|
| 55 |
This dataset is intended for **training and model development**.
|
| 56 |
|
|
|
|
| 60 |
|
| 61 |
## Dataset Size
|
| 62 |
|
| 63 |
+
| Property | Value |
|
| 64 |
+
| -------------------- | -----------------------------: |
|
| 65 |
+
| Total wells | **400** |
|
| 66 |
+
| Lithological classes | **8** |
|
| 67 |
+
| Primary data type | Wireline well logs |
|
| 68 |
+
| Label type | Rule-derived supervised labels |
|
| 69 |
+
| Sampling | Standardized depth grid |
|
| 70 |
+
| Primary task | Lithology identification |
|
| 71 |
|
| 72 |
---
|
| 73 |
|
|
|
|
| 75 |
|
| 76 |
The dataset contains:
|
| 77 |
|
| 78 |
+
* `SHALE`
|
| 79 |
+
* `SANDSTONE`
|
| 80 |
+
* `LIMESTONE`
|
| 81 |
+
* `DOLOMITE`
|
| 82 |
+
* `ANHYDRITE`
|
| 83 |
+
* `SALT`
|
| 84 |
+
* `COAL`
|
| 85 |
+
* `UNKNOWN/MIXED`
|
| 86 |
|
| 87 |
`UNKNOWN/MIXED` represents intervals where the available log evidence does not provide sufficient confidence for assigning one of the principal lithological classes.
|
| 88 |
|
| 89 |
---
|
| 90 |
|
| 91 |
+
# Dataset Structure
|
| 92 |
+
|
| 93 |
+
The repository contains multiple Parquet tables representing different levels of the dataset.
|
| 94 |
+
|
| 95 |
+
These tables **do not share an identical schema** and should therefore be loaded independently.
|
| 96 |
+
|
| 97 |
+
```text
|
| 98 |
+
data/
|
| 99 |
+
├── logs/
|
| 100 |
+
│ ├── train.parquet
|
| 101 |
+
│ ├── validation.parquet
|
| 102 |
+
│ └── test.parquet
|
| 103 |
+
│
|
| 104 |
+
├── depthwise/
|
| 105 |
+
│ ├── train.parquet
|
| 106 |
+
│ ├── validation.parquet
|
| 107 |
+
│ └── test.parquet
|
| 108 |
+
│
|
| 109 |
+
└── intervals/
|
| 110 |
+
├── train.parquet
|
| 111 |
+
├── validation.parquet
|
| 112 |
+
└── test.parquet
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
The exact files available in the repository should be treated as the authoritative source for the current release.
|
| 116 |
+
|
| 117 |
+
---
|
| 118 |
+
|
| 119 |
## Dataset Configurations
|
| 120 |
|
| 121 |
### `logs`
|
|
|
|
| 134 |
DT
|
| 135 |
RT
|
| 136 |
CALI
|
| 137 |
+
...
|
| 138 |
+
```
|
| 139 |
+
|
| 140 |
+
This table is intended to provide the primary input features for machine-learning models.
|
| 141 |
+
|
| 142 |
+
---
|
| 143 |
+
|
| 144 |
+
### `depthwise`
|
| 145 |
+
|
| 146 |
+
Depthwise supervised labels and derived information associated with individual log samples.
|
| 147 |
+
|
| 148 |
+
Typical structure may include:
|
| 149 |
+
|
| 150 |
+
```text
|
| 151 |
+
well_id
|
| 152 |
+
depth_ft
|
| 153 |
+
lithology_pointwise
|
| 154 |
+
score
|
| 155 |
+
...
|
| 156 |
+
```
|
| 157 |
+
|
| 158 |
+
This configuration is useful for:
|
| 159 |
+
|
| 160 |
+
* Pointwise lithology classification
|
| 161 |
+
* Sequence modelling
|
| 162 |
+
* Depthwise prediction
|
| 163 |
+
* Label analysis
|
| 164 |
+
* Training supervised models
|
| 165 |
+
|
| 166 |
+
---
|
| 167 |
+
|
| 168 |
+
### `intervals`
|
| 169 |
+
|
| 170 |
+
Lithological intervals represented as continuous depth ranges.
|
| 171 |
+
|
| 172 |
+
Typical structure:
|
| 173 |
+
|
| 174 |
+
```text
|
| 175 |
+
well_id
|
| 176 |
+
interval_id
|
| 177 |
+
top_depth_ft
|
| 178 |
+
base_depth_ft
|
| 179 |
+
thickness_ft
|
| 180 |
+
lithology
|
| 181 |
+
...
|
| 182 |
+
```
|
| 183 |
+
|
| 184 |
+
This configuration is useful for:
|
| 185 |
+
|
| 186 |
+
* Lithological sequence reconstruction
|
| 187 |
+
* Interval segmentation
|
| 188 |
+
* Continuous geological interpretation
|
| 189 |
+
* Comparing predicted and reference intervals
|
| 190 |
+
|
| 191 |
+
---
|
| 192 |
+
|
| 193 |
+
# Recommended Loading Method
|
| 194 |
+
|
| 195 |
+
Because the repository contains **multiple heterogeneous Parquet tables**, the recommended approach is to load each Parquet file directly.
|
| 196 |
+
|
| 197 |
+
### Python
|
| 198 |
+
|
| 199 |
+
```python
|
| 200 |
+
import pandas as pd
|
| 201 |
+
|
| 202 |
+
BASE_URL = (
|
| 203 |
+
"https://huggingface.co/datasets/"
|
| 204 |
+
"NoraResearchLab/Lithology-Training-Dataset/"
|
| 205 |
+
"resolve/main/data"
|
| 206 |
+
)
|
| 207 |
+
|
| 208 |
+
# Logs
|
| 209 |
+
logs_train = pd.read_parquet(
|
| 210 |
+
f"{BASE_URL}/logs/train.parquet"
|
| 211 |
+
)
|
| 212 |
+
|
| 213 |
+
logs_validation = pd.read_parquet(
|
| 214 |
+
f"{BASE_URL}/logs/validation.parquet"
|
| 215 |
+
)
|
| 216 |
+
|
| 217 |
+
logs_test = pd.read_parquet(
|
| 218 |
+
f"{BASE_URL}/logs/test.parquet"
|
| 219 |
+
)
|
| 220 |
+
|
| 221 |
+
# Depthwise labels
|
| 222 |
+
depthwise_train = pd.read_parquet(
|
| 223 |
+
f"{BASE_URL}/depthwise/train.parquet"
|
| 224 |
+
)
|
| 225 |
+
|
| 226 |
+
depthwise_validation = pd.read_parquet(
|
| 227 |
+
f"{BASE_URL}/depthwise/validation.parquet"
|
| 228 |
+
)
|
| 229 |
+
|
| 230 |
+
depthwise_test = pd.read_parquet(
|
| 231 |
+
f"{BASE_URL}/depthwise/test.parquet"
|
| 232 |
+
)
|
| 233 |
+
|
| 234 |
+
# Lithological intervals
|
| 235 |
+
intervals_train = pd.read_parquet(
|
| 236 |
+
f"{BASE_URL}/intervals/train.parquet"
|
| 237 |
+
)
|
| 238 |
+
|
| 239 |
+
intervals_validation = pd.read_parquet(
|
| 240 |
+
f"{BASE_URL}/intervals/validation.parquet"
|
| 241 |
+
)
|
| 242 |
+
|
| 243 |
+
intervals_test = pd.read_parquet(
|
| 244 |
+
f"{BASE_URL}/intervals/test.parquet"
|
| 245 |
+
)
|
| 246 |
+
```
|
| 247 |
+
|
| 248 |
+
Install the required packages with:
|
| 249 |
+
|
| 250 |
+
```bash
|
| 251 |
+
pip install pandas pyarrow
|
| 252 |
+
```
|
| 253 |
+
|
| 254 |
+
This method reads the Parquet files directly from the Hugging Face repository without requiring the repository to be converted into a single Hugging Face `Dataset` object.
|
| 255 |
+
|
| 256 |
+
---
|
| 257 |
+
|
| 258 |
+
# Why `load_dataset()` Is Not Recommended
|
| 259 |
+
|
| 260 |
+
The repository contains different table types with different schemas.
|
| 261 |
+
|
| 262 |
+
For example, `logs` and `depthwise` are primarily **depthwise/pointwise data**, while `intervals` contains **range-based interval records**.
|
| 263 |
+
|
| 264 |
+
Their structures are therefore different.
|
| 265 |
+
|
| 266 |
+
Attempting:
|
| 267 |
+
|
| 268 |
+
```python
|
| 269 |
+
from datasets import load_dataset
|
| 270 |
+
|
| 271 |
+
dataset = load_dataset(
|
| 272 |
+
"NoraResearchLab/Lithology-Training-Dataset"
|
| 273 |
+
)
|
| 274 |
+
```
|
| 275 |
+
|
| 276 |
+
may cause Hugging Face Datasets to attempt to construct a unified schema across the repository's Parquet files.
|
| 277 |
+
|
| 278 |
+
This can result in errors such as:
|
| 279 |
+
|
| 280 |
+
```text
|
| 281 |
+
CastError:
|
| 282 |
+
Couldn't cast ...
|
| 283 |
+
because column names don't match
|
| 284 |
+
```
|
| 285 |
+
|
| 286 |
+
This is not an indication that the underlying Parquet files are invalid. The issue is that the repository contains multiple heterogeneous tabular structures.
|
| 287 |
+
|
| 288 |
+
**Load each table independently instead.**
|
| 289 |
+
|
| 290 |
+
---
|
| 291 |
+
|
| 292 |
+
# Loading Only One Configuration
|
| 293 |
+
|
| 294 |
+
If you only need the well-log features for model training, you do not need to download or load the other tables.
|
| 295 |
+
|
| 296 |
+
For example:
|
| 297 |
+
|
| 298 |
+
```python
|
| 299 |
+
import pandas as pd
|
| 300 |
+
|
| 301 |
+
url = (
|
| 302 |
+
"https://huggingface.co/datasets/"
|
| 303 |
+
"NoraResearchLab/Lithology-Training-Dataset/"
|
| 304 |
+
"resolve/main/data/logs/train.parquet"
|
| 305 |
+
)
|
| 306 |
+
|
| 307 |
+
logs_train = pd.read_parquet(url)
|
| 308 |
+
|
| 309 |
+
print(logs_train.shape)
|
| 310 |
+
print(logs_train.head())
|
| 311 |
+
```
|
| 312 |
+
|
| 313 |
+
For the depthwise labels:
|
| 314 |
+
|
| 315 |
+
```python
|
| 316 |
+
import pandas as pd
|
| 317 |
+
|
| 318 |
+
url = (
|
| 319 |
+
"https://huggingface.co/datasets/"
|
| 320 |
+
"NoraResearchLab/Lithology-Training-Dataset/"
|
| 321 |
+
"resolve/main/data/depthwise/train.parquet"
|
| 322 |
+
)
|
| 323 |
+
|
| 324 |
+
depthwise_train = pd.read_parquet(url)
|
| 325 |
+
|
| 326 |
+
print(depthwise_train.shape)
|
| 327 |
+
print(depthwise_train.head())
|
| 328 |
+
```
|
| 329 |
+
|
| 330 |
+
For lithological intervals:
|
| 331 |
+
|
| 332 |
+
```python
|
| 333 |
+
import pandas as pd
|
| 334 |
+
|
| 335 |
+
url = (
|
| 336 |
+
"https://huggingface.co/datasets/"
|
| 337 |
+
"NoraResearchLab/Lithology-Training-Dataset/"
|
| 338 |
+
"resolve/main/data/intervals/train.parquet"
|
| 339 |
+
)
|
| 340 |
+
|
| 341 |
+
intervals_train = pd.read_parquet(url)
|
| 342 |
+
|
| 343 |
+
print(intervals_train.shape)
|
| 344 |
+
print(intervals_train.head())
|
| 345 |
+
```
|
| 346 |
+
|
| 347 |
+
---
|
| 348 |
+
|
| 349 |
+
# Typical Training Workflow
|
| 350 |
+
|
| 351 |
+
A typical lithology-classification workflow can use the `logs` and `depthwise` tables together.
|
| 352 |
+
|
| 353 |
+
```python
|
| 354 |
+
import pandas as pd
|
| 355 |
+
|
| 356 |
+
BASE_URL = (
|
| 357 |
+
"https://huggingface.co/datasets/"
|
| 358 |
+
"NoraResearchLab/Lithology-Training-Dataset/"
|
| 359 |
+
"resolve/main/data"
|
| 360 |
+
)
|
| 361 |
+
|
| 362 |
+
logs = pd.read_parquet(
|
| 363 |
+
f"{BASE_URL}/logs/train.parquet"
|
| 364 |
+
)
|
| 365 |
+
|
| 366 |
+
labels = pd.read_parquet(
|
| 367 |
+
f"{BASE_URL}/depthwise/train.parquet"
|
| 368 |
+
)
|
| 369 |
+
```
|
| 370 |
+
|
| 371 |
+
The two tables can then be related using their common identifiers, typically:
|
| 372 |
+
|
| 373 |
+
```text
|
| 374 |
+
well_id
|
| 375 |
+
depth_ft
|
| 376 |
+
```
|
| 377 |
+
|
| 378 |
+
For example:
|
| 379 |
+
|
| 380 |
+
```python
|
| 381 |
+
training_data = logs.merge(
|
| 382 |
+
labels,
|
| 383 |
+
on=["well_id", "depth_ft"],
|
| 384 |
+
how="inner"
|
| 385 |
+
)
|
| 386 |
+
```
|
| 387 |
+
|
| 388 |
+
Before training, users should inspect the resulting schema and verify that the expected feature and target columns are present:
|
| 389 |
+
|
| 390 |
+
```python
|
| 391 |
+
print(training_data.shape)
|
| 392 |
+
print(training_data.columns.tolist())
|
| 393 |
+
print(training_data.head())
|
| 394 |
+
```
|
| 395 |
+
|
| 396 |
+
The exact columns should always be determined from the released Parquet files rather than assumed from this README.
|
| 397 |
+
|
| 398 |
+
---
|
| 399 |
+
|
| 400 |
+
# Working With Individual Wells
|
| 401 |
+
|
| 402 |
+
The dataset is organized around complete wells. A model can therefore be trained using individual depth sequences rather than treating every row as an independent observation.
|
| 403 |
+
|
| 404 |
+
Example:
|
| 405 |
+
|
| 406 |
+
```python
|
| 407 |
+
well_id = logs["well_id"].iloc[0]
|
| 408 |
+
|
| 409 |
+
well_logs = logs[
|
| 410 |
+
logs["well_id"] == well_id
|
| 411 |
+
].sort_values("depth_ft")
|
| 412 |
+
|
| 413 |
+
print(well_logs)
|
| 414 |
+
```
|
| 415 |
+
|
| 416 |
+
This is particularly important for sequence-based approaches such as:
|
| 417 |
+
|
| 418 |
+
* LSTM/GRU models
|
| 419 |
+
* Temporal convolutional networks
|
| 420 |
+
* Transformers
|
| 421 |
+
* Sequence-to-sequence models
|
| 422 |
+
* Depthwise segmentation models
|
| 423 |
+
|
| 424 |
+
---
|
| 425 |
+
|
| 426 |
+
# Train / Validation / Test Splits
|
| 427 |
+
|
| 428 |
+
The dataset provides separate splits where available:
|
| 429 |
+
|
| 430 |
+
```text
|
| 431 |
+
train
|
| 432 |
+
validation
|
| 433 |
+
test
|
| 434 |
+
```
|
| 435 |
+
|
| 436 |
+
Users should preserve these splits when developing models.
|
| 437 |
+
|
| 438 |
+
Do not randomly mix rows from the same well across training and test sets unless the experimental design explicitly requires this.
|
| 439 |
+
|
| 440 |
+
For geological sequence modelling, **well-level separation** is important because neighboring depth samples from the same well are highly correlated.
|
| 441 |
+
|
| 442 |
+
---
|
| 443 |
+
|
| 444 |
+
# Relationship to the Lithology Sequence Identification Benchmark
|
| 445 |
+
|
| 446 |
+
This training dataset is intended for **model development and training**.
|
| 447 |
+
|
| 448 |
+
It is separate from the:
|
| 449 |
+
|
| 450 |
+
**Lithology Sequence Identification Benchmark**
|
| 451 |
+
|
| 452 |
+
The benchmark is designed to evaluate whether a model can reconstruct the lithological sequence of a complete well from raw wireline measurements.
|
| 453 |
+
|
| 454 |
+
The intended workflow is:
|
| 455 |
+
|
| 456 |
+
```text
|
| 457 |
+
Lithology Training Dataset
|
| 458 |
+
│
|
| 459 |
+
▼
|
| 460 |
+
Model Training
|
| 461 |
+
│
|
| 462 |
+
▼
|
| 463 |
+
Model Development
|
| 464 |
+
│
|
| 465 |
+
▼
|
| 466 |
+
Lithology Sequence Identification
|
| 467 |
+
Benchmark
|
| 468 |
+
│
|
| 469 |
+
▼
|
| 470 |
+
Independent
|
| 471 |
+
Evaluation
|
| 472 |
+
```
|
| 473 |
+
|
| 474 |
+
Models should not use benchmark evaluation wells as training data.
|
| 475 |
+
|
| 476 |
+
---
|
| 477 |
+
|
| 478 |
+
# Data Loading Notes
|
| 479 |
+
|
| 480 |
+
### Remote Parquet
|
| 481 |
+
|
| 482 |
+
`pandas.read_parquet()` can read the Parquet files directly from their Hugging Face HTTPS URLs when the appropriate Parquet engine is installed.
|
| 483 |
+
|
| 484 |
+
Recommended dependencies:
|
| 485 |
+
|
| 486 |
+
```bash
|
| 487 |
+
pip install pandas pyarrow
|
| 488 |
+
```
|
| 489 |
+
|
| 490 |
+
### Hugging Face Resolve URLs
|
| 491 |
+
|
| 492 |
+
The general URL pattern is:
|
| 493 |
+
|
| 494 |
+
```text
|
| 495 |
+
https://huggingface.co/datasets/{USER}/{REPOSITORY}/resolve/{BRANCH}/{PATH}
|
| 496 |
+
```
|
| 497 |
+
|
| 498 |
+
For this dataset:
|
| 499 |
+
|
| 500 |
+
```text
|
| 501 |
+
https://huggingface.co/datasets/NoraResearchLab/Lithology-Training-Dataset/resolve/main/data/
|
| 502 |
+
```
|
| 503 |
+
|
| 504 |
+
Individual files can then be addressed directly:
|
| 505 |
+
|
| 506 |
+
```text
|
| 507 |
+
data/logs/train.parquet
|
| 508 |
+
data/depthwise/train.parquet
|
| 509 |
+
data/intervals/train.parquet
|
| 510 |
+
```
|
| 511 |
+
|
| 512 |
+
---
|
| 513 |
+
|
| 514 |
+
# Important Usage Recommendation
|
| 515 |
+
|
| 516 |
+
**Do not assume that every Parquet file in the repository has the same schema.**
|
| 517 |
+
|
| 518 |
+
Treat each configuration as a separate table:
|
| 519 |
+
|
| 520 |
+
```text
|
| 521 |
+
logs → depthwise wireline measurements
|
| 522 |
+
depthwise → pointwise labels / derived depthwise information
|
| 523 |
+
intervals → continuous lithological intervals
|
| 524 |
+
```
|
| 525 |
+
|
| 526 |
+
Load only the tables required for the task you are performing.
|
| 527 |
+
|
| 528 |
+
---
|
| 529 |
+
|
| 530 |
+
## License and Usage
|
| 531 |
+
|
| 532 |
+
This dataset is provided under the license specified in the repository metadata.
|
| 533 |
+
|
| 534 |
+
Users are responsible for reviewing the applicable dataset provenance, source-data licenses, and restrictions before redistribution or commercial use.
|
| 535 |
+
|
| 536 |
+
The dataset is intended for research, machine-learning development, and geoscience AI applications.
|
| 537 |
+
|
| 538 |
+
---
|
| 539 |
+
|
| 540 |
+
## Citation
|
| 541 |
+
|
| 542 |
+
If you use this dataset in research, benchmarking, or a software project, please cite the NORA Research Lab dataset repository:
|
| 543 |
+
|
| 544 |
+
**NORA Research Lab — Lithology Training Dataset**
|
| 545 |
+
|
| 546 |
+
Hugging Face:
|
| 547 |
+
https://huggingface.co/datasets/NoraResearchLab/Lithology-Training-Dataset
|
| 548 |
+
|
| 549 |
+
---
|
| 550 |
+
|
| 551 |
+
## Organization
|
| 552 |
+
|
| 553 |
+
**NORA Research Lab**
|
| 554 |
+
|
| 555 |
+
Building intelligence for the real world.
|
| 556 |
+
|
| 557 |
+
* GitHub: https://github.com/Nora-Research-Lab
|
| 558 |
+
* Hugging Face: https://huggingface.co/NoraResearchLab
|
| 559 |
+
* LinkedIn: https://www.linkedin.com/company/nora-research-lab
|
| 560 |
+
* X: https://x.com/noraresearchlab
|
| 561 |
+
* Website: https://noraresearchlab.site
|