Problem: Top K Most Similar Documents You are given: an integer array queryEmb of length D, representing a query embedding a 2D integer array docEmbs of size N x D, representing N document embeddings an integer k All embeddings are already L2-normalized. The cosine similarity between two normalized vectors is equal to their dot product. Return the indices of the k documents with the highest cosine similarity to queryEmb, ordered from most similar to least similar. If k > N, return all document indices sorted by similarity. Function Signature def topKSimilar(queryEmb: np.ndarray, docEmbs: np.ndarray, k: int) -> np.ndarray
Applied Scientist Interview Questions
1,167 applied scientist interview questions shared by candidates
How can you convince me that a number is irrational?
Problem Solving on Data structure and algorithm
* ML Basics, Past projects walk through, DSA
ML basics, NLP, Leetcode, behavioral
1. How would you design a pipeline for a dataset comprises students, class and scores
What type of model would you use to identify corn fields?
How would you build a machine learning algorithm to recognize dog or cat sounds?
A short chat about my experiences, residence status and salary expectations.
What is TPR, ROC? How can one construct confidence interval on the TPR?
Viewing 951 - 960 interview questions
See Interview Questions for Similar Jobs
Deep Learning ScientistMl EngineerData Scientist NlpSenior Machine Learning ScientistDeep Learning Data ScientistApplied Research ScientistNlp Data ScientistAi Machine Learning EngineerDeep Learning Research EngineerApplied ResearchJr Data ScientistArtificial Intelligence ScientistData Scientist TraineeDeep Learning / Machine Learning ResearcherJunior Machine Learning EngineerApplied Machine Learning EngineerSenior Machine Learning EngineerMachine Learning Researcher