Skip to content

Commit c4d3302

Browse files
committed
Move data util files
1 parent fc78a30 commit c4d3302

11 files changed

+742
-112
lines changed
File renamed without changes.

data_analysis.ipynb renamed to data_processing/data_analysis.ipynb

Lines changed: 739 additions & 109 deletions
Large diffs are not rendered by default.

data_extraction.py renamed to data_processing/data_extraction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from graph_pb2 import FeatureNode, FeatureEdge
2-
from text_util import split_identifier_into_parts
2+
from data_processing.text_util import split_identifier_into_parts
33
from pathlib import Path
44
from graph_pb2 import Graph
55
import networkx as nx

data_generation.py renamed to data_processing/data_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from data_extraction import get_dataset_from_dir, get_tokens_dataset_from_dir
1+
from data_processing.data_extraction import get_dataset_from_dir
22
import pickle
33

44
methods_source, methods_names, methods_graphs = get_dataset_from_dir(
File renamed without changes.
File renamed without changes.

models/lstm_to_lstm_full_training.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import unicode_literals, print_function, division
22
import random
3-
from tokens_util import tensors_from_pair_tokens, plot_loss, tensors_from_pair_tokens_graph
3+
from data_processing import tensors_from_pair_tokens, plot_loss, tensors_from_pair_tokens_graph
44

55
import torch
66
import torch.nn as nn

plots/tokens_per_method.pdf

-13.7 KB
Binary file not shown.

plots/tokens_per_method.png

-10.8 KB
Binary file not shown.

plots/tokens_per_method_name.pdf

-11.7 KB
Binary file not shown.

plots/tokens_per_method_name.png

-10.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)