Browse Source

[Exp] Update exceptions in fcsp exps.

v0.2.x
jajupmochi 4 years ago
parent
commit
367c8e400a
2 changed files with 49 additions and 11 deletions
  1. +15
    -7
      gklearn/experiments/thesis/graph_kernels/fcsp/run_jobs_compare_fcsp.py
  2. +34
    -4
      gklearn/experiments/thesis/graph_kernels/fcsp/run_jobs_compare_fcsp_space.py

+ 15
- 7
gklearn/experiments/thesis/graph_kernels/fcsp/run_jobs_compare_fcsp.py View File

@@ -10,7 +10,7 @@ import os
import re import re




OUT_TIME_LIST = [('ShortestPath', 'ENZYMES', 'False'),
OUT_TIME_LIST = set({('ShortestPath', 'ENZYMES', 'False'),
('StructuralSP', 'ENZYMES', 'True'), ('StructuralSP', 'ENZYMES', 'True'),
('StructuralSP', 'ENZYMES', 'False'), ('StructuralSP', 'ENZYMES', 'False'),
('StructuralSP', 'AIDS', 'False'), ('StructuralSP', 'AIDS', 'False'),
@@ -26,20 +26,28 @@ OUT_TIME_LIST = [('ShortestPath', 'ENZYMES', 'False'),
('ShortestPath', 'COX2', 'False'), ('ShortestPath', 'COX2', 'False'),
('StructuralSP', 'COX2', 'False'), ('StructuralSP', 'COX2', 'False'),
('ShortestPath', 'DHFR', 'False'), ('ShortestPath', 'DHFR', 'False'),
]

OUT_MEM_LIST = [('StructuralSP', 'PROTEINS', 'True'),
('StructuralSP', 'DHFR', 'False'),
('StructuralSP', 'OHSU', 'True'),
('StructuralSP', 'OHSU', 'False'),
('ShortestPath', 'SYNTHETICnew', 'False'),
('StructuralSP', 'SYNTHETICnew', 'True'),
('StructuralSP', 'SYNTHETICnew', 'False'),
('ShortestPath', 'Synthie', 'False'),
('StructuralSP', 'Synthie', 'True'),
})

OUT_MEM_LIST = set({('StructuralSP', 'PROTEINS', 'True'),
('StructuralSP', 'PROTEINS', 'False'), ('StructuralSP', 'PROTEINS', 'False'),
('StructuralSP', 'PROTEINS_full', 'True'), ('StructuralSP', 'PROTEINS_full', 'True'),
('StructuralSP', 'PROTEINS_full', 'False'), ('StructuralSP', 'PROTEINS_full', 'False'),
('ShortestPath', 'REDDIT-BINARY', 'True'), ('ShortestPath', 'REDDIT-BINARY', 'True'),
]
})


MISS_LABEL_LIST = [('StructuralSP', 'GREC', 'True'),
MISS_LABEL_LIST = set({('StructuralSP', 'GREC', 'True'),
('StructuralSP', 'GREC', 'False'), ('StructuralSP', 'GREC', 'False'),
('StructuralSP', 'Web', 'True'), ('StructuralSP', 'Web', 'True'),
('StructuralSP', 'Web', 'False'), ('StructuralSP', 'Web', 'False'),
]
})




def get_job_script(kernel, dataset, fcsp): def get_job_script(kernel, dataset, fcsp):


+ 34
- 4
gklearn/experiments/thesis/graph_kernels/fcsp/run_jobs_compare_fcsp_space.py View File

@@ -14,10 +14,14 @@ import pickle
OUT_TIME_LIST = [] OUT_TIME_LIST = []




OUT_MEM_LIST = [('ShortestPath', 'REDDIT-BINARY', 'True'),
OUT_MEM_LIST = set({('ShortestPath', 'REDDIT-BINARY', 'True'),
('ShortestPath', 'REDDIT-BINARY', 'False'), ('ShortestPath', 'REDDIT-BINARY', 'False'),
('ShortestPath', 'DD', 'True'), ('ShortestPath', 'DD', 'True'),
('ShortestPath', 'DD', 'False'), ('ShortestPath', 'DD', 'False'),
('ShortestPath', 'COLORS-3', 'True'),
('ShortestPath', 'COLORS-3', 'False'),
('StructuralSP', 'COLORS-3', 'True'),
('StructuralSP', 'COLORS-3', 'False'),
('ShortestPath', 'MCF-7', 'True'), ('ShortestPath', 'MCF-7', 'True'),
('ShortestPath', 'MCF-7', 'False'), ('ShortestPath', 'MCF-7', 'False'),
('StructuralSP', 'MCF-7', 'True'), ('StructuralSP', 'MCF-7', 'True'),
@@ -35,7 +39,13 @@ OUT_MEM_LIST = [('ShortestPath', 'REDDIT-BINARY', 'True'),
('StructuralSP', 'MOLT-4H', 'True'), ('StructuralSP', 'MOLT-4H', 'True'),
('StructuralSP', 'MOLT-4H', 'False'), ('StructuralSP', 'MOLT-4H', 'False'),
('ShortestPath', 'P388', 'True'), ('ShortestPath', 'P388', 'True'),
('ShortestPath', 'P388', 'False'),
('StructuralSP', 'P388', 'True'),
('StructuralSP', 'P388', 'False'),
('ShortestPath', 'P388H', 'True'), ('ShortestPath', 'P388H', 'True'),
('ShortestPath', 'P388H', 'False'),
('StructuralSP', 'P388H', 'True'),
('StructuralSP', 'P388H', 'False'),
('ShortestPath', 'NCI-H23', 'True'), ('ShortestPath', 'NCI-H23', 'True'),
('ShortestPath', 'NCI-H23', 'False'), ('ShortestPath', 'NCI-H23', 'False'),
('StructuralSP', 'NCI-H23', 'True'), ('StructuralSP', 'NCI-H23', 'True'),
@@ -48,7 +58,9 @@ OUT_MEM_LIST = [('ShortestPath', 'REDDIT-BINARY', 'True'),
('ShortestPath', 'OVCAR-8', 'False'), ('ShortestPath', 'OVCAR-8', 'False'),
('StructuralSP', 'OVCAR-8', 'True'), ('StructuralSP', 'OVCAR-8', 'True'),
('StructuralSP', 'OVCAR-8', 'False'), ('StructuralSP', 'OVCAR-8', 'False'),
('ShortestPath', 'OVCAR-8H', 'True'),
('ShortestPath', 'OVCAR-8H', 'False'), ('ShortestPath', 'OVCAR-8H', 'False'),
('StructuralSP', 'OVCAR-8H', 'True'),
('StructuralSP', 'OVCAR-8H', 'False'), ('StructuralSP', 'OVCAR-8H', 'False'),
('ShortestPath', 'SN12C', 'True'), ('ShortestPath', 'SN12C', 'True'),
('ShortestPath', 'SN12C', 'False'), ('ShortestPath', 'SN12C', 'False'),
@@ -60,21 +72,30 @@ OUT_MEM_LIST = [('ShortestPath', 'REDDIT-BINARY', 'True'),
('ShortestPath', 'SF-295', 'False'), ('ShortestPath', 'SF-295', 'False'),
('StructuralSP', 'SF-295', 'True'), ('StructuralSP', 'SF-295', 'True'),
('StructuralSP', 'SF-295', 'False'), ('StructuralSP', 'SF-295', 'False'),
('ShortestPath', 'SF-295H', 'True'),
('ShortestPath', 'SF-295H', 'False'), ('ShortestPath', 'SF-295H', 'False'),
('StructuralSP', 'SF-295H', 'True'),
('StructuralSP', 'SF-295H', 'False'), ('StructuralSP', 'SF-295H', 'False'),
('ShortestPath', 'SW-620', 'True'), ('ShortestPath', 'SW-620', 'True'),
('ShortestPath', 'SW-620', 'False'), ('ShortestPath', 'SW-620', 'False'),
('StructuralSP', 'SW-620', 'True'), ('StructuralSP', 'SW-620', 'True'),
('StructuralSP', 'SW-620', 'False'), ('StructuralSP', 'SW-620', 'False'),
('ShortestPath', 'SW-620H', 'True'),
('ShortestPath', 'SW-620H', 'False'), ('ShortestPath', 'SW-620H', 'False'),
('StructuralSP', 'SW-620H', 'True'),
('StructuralSP', 'SW-620H', 'False'), ('StructuralSP', 'SW-620H', 'False'),
('ShortestPath', 'TRIANGLES', 'True'),
('ShortestPath', 'TRIANGLES', 'False'), ('ShortestPath', 'TRIANGLES', 'False'),
('StructuralSP', 'TRIANGLES', 'True'),
('StructuralSP', 'TRIANGLES', 'False'), ('StructuralSP', 'TRIANGLES', 'False'),
('ShortestPath', 'Yeast', 'True'), ('ShortestPath', 'Yeast', 'True'),
('ShortestPath', 'Yeast', 'False'), ('ShortestPath', 'Yeast', 'False'),
('StructuralSP', 'Yeast', 'True'), ('StructuralSP', 'Yeast', 'True'),
('StructuralSP', 'Yeast', 'False'), ('StructuralSP', 'Yeast', 'False'),
('ShortestPath', 'YeastH', 'True'), ('ShortestPath', 'YeastH', 'True'),
('ShortestPath', 'YeastH', 'False'),
('StructuralSP', 'YeastH', 'True'),
('StructuralSP', 'YeastH', 'False'),
('ShortestPath', 'FRANKENSTEIN', 'True'), ('ShortestPath', 'FRANKENSTEIN', 'True'),
('ShortestPath', 'FRANKENSTEIN', 'False'), ('ShortestPath', 'FRANKENSTEIN', 'False'),
('StructuralSP', 'FRANKENSTEIN', 'True'), ('StructuralSP', 'FRANKENSTEIN', 'True'),
@@ -97,22 +118,31 @@ OUT_MEM_LIST = [('ShortestPath', 'REDDIT-BINARY', 'True'),
('ShortestPath', 'PC-3H', 'False'), ('ShortestPath', 'PC-3H', 'False'),
('StructuralSP', 'PC-3H', 'True'), ('StructuralSP', 'PC-3H', 'True'),
('StructuralSP', 'PC-3H', 'False'), ('StructuralSP', 'PC-3H', 'False'),
('ShortestPath', 'DBLP_v1', 'True'),
('ShortestPath', 'DBLP_v1', 'False'), ('ShortestPath', 'DBLP_v1', 'False'),
('StructuralSP', 'DBLP_v1', 'True'), ('StructuralSP', 'DBLP_v1', 'True'),
('ShortestPath', 'COLLAB', 'True'),
('ShortestPath', 'COLLAB', 'False'),
('StructuralSP', 'COLLAB', 'True'),
('StructuralSP', 'COLLAB', 'False'),
('ShortestPath', 'REDDIT-BINARY', 'False'), ('ShortestPath', 'REDDIT-BINARY', 'False'),
('StructuralSP', 'REDDIT-MULTI-5K', 'True'),
('StructuralSP', 'REDDIT-MULTI-5K', 'False'),
('ShortestPath', 'REDDIT-MULTI-12K', 'True'),
('ShortestPath', 'REDDIT-MULTI-12K', 'False'), ('ShortestPath', 'REDDIT-MULTI-12K', 'False'),
('StructuralSP', 'REDDIT-MULTI-12K', 'True'),
('StructuralSP', 'REDDIT-MULTI-12K', 'False'), ('StructuralSP', 'REDDIT-MULTI-12K', 'False'),
('ShortestPath', 'TWITTER-Real-Graph-Partial', 'True'), ('ShortestPath', 'TWITTER-Real-Graph-Partial', 'True'),
('ShortestPath', 'TWITTER-Real-Graph-Partial', 'False'), ('ShortestPath', 'TWITTER-Real-Graph-Partial', 'False'),
('StructuralSP', 'TWITTER-Real-Graph-Partial', 'True'), ('StructuralSP', 'TWITTER-Real-Graph-Partial', 'True'),
('StructuralSP', 'TWITTER-Real-Graph-Partial', 'False'), ('StructuralSP', 'TWITTER-Real-Graph-Partial', 'False'),
]
})


MISS_LABEL_LIST = [('StructuralSP', 'GREC', 'True'),
MISS_LABEL_LIST = set({('StructuralSP', 'GREC', 'True'),
('StructuralSP', 'GREC', 'False'), ('StructuralSP', 'GREC', 'False'),
('StructuralSP', 'Web', 'True'), ('StructuralSP', 'Web', 'True'),
('StructuralSP', 'Web', 'False'), ('StructuralSP', 'Web', 'False'),
]
})




def get_job_script(kernel, dataset, fcsp): def get_job_script(kernel, dataset, fcsp):


Loading…
Cancel
Save