(self, fn)
| 231 | plt.show() |
| 232 | |
| 233 | def save(self, fn): |
| 234 | # function word_analogies expects a (V,D) matrx and a (D,V) matrix |
| 235 | arrays = [self.W, self.U.T] |
| 236 | np.savez(fn, *arrays) |
| 237 | |
| 238 | |
| 239 | def main(we_file, w2i_file, use_brown=True, n_files=100): |
no outgoing calls
no test coverage detected