Skip to content

Commit

Permalink
Renamed compute_feature_vector function to compute_label_histogram
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Gascon committed Jan 18, 2015
1 parent cc01c3a commit fa031a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adagio/core/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(self, dataset_dir, families, split, precomputed_matrix="", y="", fn
if size > 0:

t0 = time.time()
x_i = self.compute_feature_vector(g)
x_i = self.compute_label_histogram(g)
# save feature vector computing time for
# performance evaluation
self.feature_vector_times.append(time.time() - t0)
Expand Down Expand Up @@ -149,7 +149,7 @@ def read_files(self, d, file_extension, max_files=0):

return files

def compute_feature_vector(self, g):
def compute_label_histogram(self, g):
""" Compute the neighboorhood hash of a graph g and return
the histogram of the hashed labels.
"""
Expand Down

0 comments on commit fa031a2

Please sign in to comment.