CompTIA
DY0-001 · Question #37
Which of the following measures would a data scientist most likely use to calculate the similarity of two text strings?
The correct answer is B. Edit distance. Edit distance quantifies how many single-character insertions, deletions, or substitutions are needed to transform one string into another, making it a direct measure of their similarity.
Specialized Applications of Data Science
Question
Which of the following measures would a data scientist most likely use to calculate the similarity of two text strings?
Options
- AWord cloud
- BEdit distance
- CString indexing
- Dk-nearest neighbors
How the community answered
(59 responses)- A2% (1)
- B92% (54)
- C2% (1)
- D5% (3)
Explanation
Edit distance quantifies how many single-character insertions, deletions, or substitutions are needed to transform one string into another, making it a direct measure of their similarity.
Topics
#edit distance#text similarity#string comparison#NLP
Community Discussion
No community discussion yet for this question.