ML coding module may or may not exist in particular companies interviews. The good news is that, there are only a limited number of ML algorithms that candidates are expected to be able to code. The most common ones include:
-
Linear regression (code) ✅
-
Logistic regression (code) ✅
-
K-means clustering (code) ✅
-
Decision trees (code) ✅
-
Linear SVM (code)
- stratified sampling (link)
- uniform sampling
- reservoir sampling
- sampling multinomial distribution
- random generator
- bigrams
- tf-idf
- You can find some sample codes under the Notebooks.