Skip to content

Commit 15b6bab

Browse files
Typo
1 parent 664ba99 commit 15b6bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ graph = nx.fast_gnp_random_graph(n=100, p=0.5)
2020
node2vec = Node2Vec(graph, dimensions=64, walk_length=30, num_walks=200, workers=4) # Use temp_folder for big graphs
2121

2222
# Embed nodes
23-
model = node2vec.fit(window=10, min_count=1, batch_words=4) # Any keywords acceptable by gensim.Word2Vec can be passed, `diemnsions` and `workers` are automatically passed (from the Node2Vec constructor)
23+
model = node2vec.fit(window=10, min_count=1, batch_words=4) # Any keywords acceptable by gensim.Word2Vec can be passed, `dimensions` and `workers` are automatically passed (from the Node2Vec constructor)
2424

2525
# Look for most similar nodes
2626
model.wv.most_similar('2') # Output node names are always strings

0 commit comments

Comments
 (0)