Cognex interview question

Basic ML, probability and stats questions.