Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengruifeng committed Jan 23, 2025
1 parent c426783 commit ac8d9b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/pyspark/ml/tests/test_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ def test_word2vec(self):
self.assertEqual(synonyms.columns, ["word", "similarity"])
self.assertEqual(synonyms.count(), 2)

# TODO(SPARK-50958): Support Word2VecModel.findSynonymsArray
# synonyms = model.findSynonymsArray("a", 2)
# self.assertEqual(len(synonyms), 2)
# self.assertEqual(synonyms[0][0], "b")
Expand Down

0 comments on commit ac8d9b3

Please sign in to comment.