EC2 Default User
commited on
Commit
•
20e855d
1
Parent(s):
3a4a990
Change labels from int to float
Browse files- README.md +1 -1
- deeploc-test.parquet +2 -2
- deeploc-train.parquet +2 -2
- deploc-val.parquet +2 -2
- prep.py +1 -1
README.md
CHANGED
@@ -13,7 +13,7 @@ Data downloaded and processed using the following Python script:
|
|
13 |
import pandas as pd
|
14 |
|
15 |
df = pd.read_csv('https://services.healthtech.dtu.dk/services/DeepLoc-2.0/data/Swissprot_Train_Validation_dataset.csv').drop(['Unnamed: 0', 'Partition'], axis=1)
|
16 |
-
df['labels'] = df[['Cell membrane', 'Cytoplasm','Endoplasmic reticulum', 'Extracellular', 'Golgi apparatus', 'Lysosome/Vacuole', 'Mitochondrion', 'Nucleus', 'Peroxisome', 'Plastid']].astype('
|
17 |
df['Membrane'] = df['Membrane'].astype('int8')
|
18 |
df = df[['Kingdom', 'ACC', 'Sequence','Membrane','labels']]
|
19 |
|
|
|
13 |
import pandas as pd
|
14 |
|
15 |
df = pd.read_csv('https://services.healthtech.dtu.dk/services/DeepLoc-2.0/data/Swissprot_Train_Validation_dataset.csv').drop(['Unnamed: 0', 'Partition'], axis=1)
|
16 |
+
df['labels'] = df[['Cell membrane', 'Cytoplasm','Endoplasmic reticulum', 'Extracellular', 'Golgi apparatus', 'Lysosome/Vacuole', 'Mitochondrion', 'Nucleus', 'Peroxisome', 'Plastid']].astype('float16').values.tolist()
|
17 |
df['Membrane'] = df['Membrane'].astype('int8')
|
18 |
df = df[['Kingdom', 'ACC', 'Sequence','Membrane','labels']]
|
19 |
|
deeploc-test.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d48167a2babeb7074f6e2396cc637e026a0e65586efb8c71cfc8e9e2115f23fb
|
3 |
+
size 1631338
|
deeploc-train.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d27b7603157aaba2ac9b2d93d0a5264826f744177c5838f9395d1e8b80c32814
|
3 |
+
size 12865785
|
deploc-val.parquet
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9817999ed6508ee98621dd70791356c1f681b9e1380ea1a814371babbffdec57
|
3 |
+
size 1633138
|
prep.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import pandas as pd
|
2 |
|
3 |
df = pd.read_csv('https://services.healthtech.dtu.dk/services/DeepLoc-2.0/data/Swissprot_Train_Validation_dataset.csv').drop(['Unnamed: 0', 'Partition'], axis=1)
|
4 |
-
df['labels'] = df[['Cell membrane', 'Cytoplasm','Endoplasmic reticulum', 'Extracellular', 'Golgi apparatus', 'Lysosome/Vacuole', 'Mitochondrion', 'Nucleus', 'Peroxisome', 'Plastid']].astype('
|
5 |
df['Membrane'] = df['Membrane'].astype('int8')
|
6 |
df = df[['Kingdom', 'ACC', 'Sequence','Membrane','labels']]
|
7 |
|
|
|
1 |
import pandas as pd
|
2 |
|
3 |
df = pd.read_csv('https://services.healthtech.dtu.dk/services/DeepLoc-2.0/data/Swissprot_Train_Validation_dataset.csv').drop(['Unnamed: 0', 'Partition'], axis=1)
|
4 |
+
df['labels'] = df[['Cell membrane', 'Cytoplasm','Endoplasmic reticulum', 'Extracellular', 'Golgi apparatus', 'Lysosome/Vacuole', 'Mitochondrion', 'Nucleus', 'Peroxisome', 'Plastid']].astype('float16').values.tolist()
|
5 |
df['Membrane'] = df['Membrane'].astype('int8')
|
6 |
df = df[['Kingdom', 'ACC', 'Sequence','Membrane','labels']]
|
7 |
|