bowrango / ClashRoyale

An effort to understand the complex meta within the Clash Royale universe through web scraping and data analysis
3 stars 1 forks source link

TypeError in Word2VecTrainables.reset_weights #17

Closed bowrango closed 3 years ago

bowrango commented 3 years ago

When setting the randomized weights, wv.index2word[i] is added to str(self.seed). However, each value in index2word is an int, not the expected (?) string format.

This is doubtbly an error with Word2Vec source, but rather my walks input type.

bowrango commented 3 years ago

TODO: Test against a graph with initialize node attributes. What does the walks variable capture for weighted edges

bowrango commented 3 years ago

This was fixed by converting each entry in walks to a string.