Frage im Vorstellungsgespräch bei Hulu

- 1 Python question: build a class that takes an array as input, and define a function that tkaes

Antwort im Vorstellungsgespräch

Anonym

21. Aug. 2024

1. Define class and init (self.vector = vector) 2. Def similarity(vec_ix_1, vec_ix_2) where inputs are index of vectors to evaluate similarity score for.