Skip to content

Commit

Permalink
Merge pull request #14 from heathersherry/patch-1
Browse files Browse the repository at this point in the history
Update classifier.py
  • Loading branch information
wetneb committed Dec 10, 2019
2 parents bc6ebb2 + 25f2c68 commit 10890f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opentapioca/classifier.py
Expand Up @@ -295,6 +295,8 @@ def build_feature_vectors_for_doc(self, mentions):

mixed_features = feature_array
mixed_features_array = [feature_array]
mixed_features = mixed_features.astype(float)

for i in range(self.nb_steps):
mixed_features = numpy.dot(adj_matrix, mixed_features)
mixed_features_array.append(mixed_features)
Expand Down

0 comments on commit 10890f9

Please sign in to comment.