Skip to content

Commit

Permalink
update directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Junxiang Wang committed Apr 4, 2024
1 parent 4a8b964 commit bd9f5a6
Show file tree
Hide file tree
Showing 34 changed files with 26 additions and 79 deletions.
16 changes: 7 additions & 9 deletions GraphSL.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
Metadata-Version: 2.1
Name: GraphSL
Version: 0.6
Version: 0.7
Summary: Graph Source Localization Approaches and Benchmark Datasets
Home-page: https://xianggebenben.github.io/Junxiang_Wang.github.io/
Download-URL: https://github.com/xianggebenben/GraphSL/archive/refs/tags/v.0.6.tar.gz
Author: Junxiang Wang
Author-email: junxiang.wang@alumni.emory.edu
License: MIT
Download-URL: https://github.com/xianggebenben/GraphSL/archive/refs/tags/v.0.6.tar.gz
Keywords: Graph Diffusion,Graph Source Localization,Prescribed Methods,GNN Methods,Benchmark
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.9
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: networkx
Requires-Dist: ndlib
Requires-Dist: torch
Requires-Dist: scikit-learn
Requires-Dist: scipy
Requires-Dist: torch_geometric

UNKNOWN

5 changes: 1 addition & 4 deletions GraphSL.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
Evaluation
GNN
Prescribed
data

File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions GNN/GCNSI/main.py → GraphSL/GNN/GCNSI/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
from scipy.sparse import csgraph,coo_matrix
import copy
import numpy as np
from GNN.GCNSI.model import GCNSI_model
from Prescribed import LPSI
from GraphSL.GNN.GCNSI.model import GCNSI_model
from GraphSL.Prescribed import LPSI
from sklearn.metrics import roc_auc_score,f1_score,accuracy_score,precision_score,recall_score
from Evaluation import Metric
from GraphSL.Evaluation import Metric
class GCNSI:
"""
Implement the Graph Convolutional Networks based Source Identification (GCNSI).
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions GNN/IVGD/main.py → GraphSL/GNN/IVGD/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
import numpy as np
import torch
import torch.nn as nn
from GNN.IVGD.correction import correction
from GNN.IVGD.i_deepis import i_DeepIS, DiffusionPropagate
from GNN.IVGD.training import FeatureCons, get_idx_new_seeds
from GNN.IVGD.model.MLP import MLPTransform
from GNN.IVGD.training import train_model
from GraphSL.GNN.IVGD.correction import correction
from GraphSL.GNN.IVGD.i_deepis import i_DeepIS, DiffusionPropagate
from GraphSL.GNN.IVGD.training import FeatureCons, get_idx_new_seeds
from GraphSL.GNN.IVGD.model.MLP import MLPTransform
from GraphSL.GNN.IVGD.training import train_model
from sklearn.metrics import roc_auc_score,f1_score,accuracy_score,precision_score,recall_score
from Evaluation import Metric
from GraphSL.Evaluation import Metric
import torch.optim as optim
import warnings
warnings.filterwarnings("ignore")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions GNN/SLVAE/main.py → GraphSL/GNN/SLVAE/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
import torch
import torch.nn.functional as F
import numpy as np
from GNN.SLVAE.model import VAE,GNN,DiffusionPropagate
from GraphSL.GNN.SLVAE.model import VAE,GNN,DiffusionPropagate
from torch.optim import Adam
from sklearn.metrics import roc_auc_score,f1_score,accuracy_score,precision_score,recall_score
from Evaluation import Metric
from GraphSL.Evaluation import Metric
class SLVAE_model(nn.Module):
"""
Source Localization Variational Autoencoder (SLVAE) model combining VAE, GNN, and propagation modules.
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Prescribed.py → GraphSL/Prescribed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import torch
from sklearn.metrics import roc_auc_score,f1_score,accuracy_score,precision_score,recall_score
from scipy.sparse import csgraph,coo_matrix
from Evaluation import Metric
from GraphSL.Evaluation import Metric

class LPSI:
"""
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion data/utils.py → GraphSL/data/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import copy


def load_dataset(dataset, data_dir='data'):
def load_dataset(dataset, data_dir='GraphSL\data'):
"""
Load a dataset from a pickle file.
Expand Down
49 changes: 0 additions & 49 deletions all.py

This file was deleted.

Binary file removed dist/GraphSL-0.6.tar.gz
Binary file not shown.
Binary file added dist/GraphSL-0.7.tar.gz
Binary file not shown.
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from distutils.core import setup
from setuptools import setup, find_packages

setup(
name = 'GraphSL', # How you named your package folder (MyLib)
packages = ['GraphSL','GraphSL.data','GraphSL.Evaluation','GraphSL.GNN','GraphSL.Prescribed'], # Chose the same as "name"
version = '0.6', # Start with a small number and increase it with every change you make
packages = find_packages(), # Chose the same as "name"
version = '0.7', # Start with a small number and increase it with every change you make
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
description = 'Graph Source Localization Approaches and Benchmark Datasets', # Give a short description about your library
author = 'Junxiang Wang', # Type in your name
author_email = 'junxiang.wang@alumni.emory.edu', # Type in your E-Mail
url = 'https://xianggebenben.github.io/Junxiang_Wang.github.io/', # Provide either the link to your github or to your website
download_url = 'https://github.com/xianggebenben/GraphSL/archive/refs/tags/v.0.6.tar.gz', # I explain this later on
download_url = 'https://github.com/xianggebenben/GraphSL/archive/refs/tags/v.0.7.tar.gz', # I explain this later on
keywords = ['Graph Diffusion', 'Graph Source Localization', 'Prescribed Methods', 'GNN Methods','Benchmark'], # Keywords that define your package best
install_requires=[ # I get to this in a second
'numpy',
Expand All @@ -26,4 +26,5 @@
'Programming Language :: Python :: 3', #Specify which pyhton versions that you want to support
'Programming Language :: Python :: 3.10'
],
python_requires=">=3.9",
)

0 comments on commit bd9f5a6

Please sign in to comment.