File size: 983 Bytes
302ad19
 
 
 
 
 
 
 
 
 
52b0da4
 
 
 
302ad19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
license: mit
task_categories:
- image-classification
---

# Extended label set of BigEarthNet-19 for Hierarchical Multi-Label Classification

This dataset contains an extended version of the original label set of BigEarthNet-19 for Hierarchical Multi-Label Classification.

## Dataset creation

It was created based on the CORINE Land Cover database of the year 2018 (CLC 2018), which provides detailed information about the land cover classes at multiple levels of the hierarchy

## Loading the Dataset

To load the dataset into your project, you can use the following code snippet:

```python
import pandas as pd
from datasets import load_dataset

# Load the dataset from Hugging Face
dataset = load_dataset(
    "marjandl/BigEarthNet-19-HMLC", 
    split='train'
)

data = [line.split('\t')[1:] for line in dataset['text']]
df = pd.DataFrame(data)

# Set the first row as the header and drop it from the DataFrame
df.columns = df.iloc[0]
df = df.drop(0).reset_index(drop=True)