marjandl commited on
Commit
302ad19
1 Parent(s): cd80e96

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -3
README.md CHANGED
@@ -1,3 +1,30 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - image-classification
5
+ ---
6
+
7
+ # Extended label set of BigEarthNet-19 for Hierarchical Multi-Label Classification
8
+
9
+ This dataset contains an extended version of the original label set of BigEarthNet-19 for Hierarchical Multi-Label Classification.
10
+
11
+ ## Loading the Dataset
12
+
13
+ To load the dataset into your project, you can use the following code snippet:
14
+
15
+ ```python
16
+ import pandas as pd
17
+ from datasets import load_dataset
18
+
19
+ # Load the dataset from Hugging Face
20
+ dataset = load_dataset(
21
+ "marjandl/BigEarthNet-19-HMLC",
22
+ split='train'
23
+ )
24
+
25
+ data = [line.split('\t')[1:] for line in dataset['text']]
26
+ df = pd.DataFrame(data)
27
+
28
+ # Set the first row as the header and drop it from the DataFrame
29
+ df.columns = df.iloc[0]
30
+ df = df.drop(0).reset_index(drop=True)