Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 2.14 KB

ml-coding.md

File metadata and controls

47 lines (36 loc) · 2.14 KB

2. ML/Data Coding 🤖

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:

ML Algorithms

  • Linear regression (code) ✅

  • Logistic regression (code) ✅

  • K-means clustering (code) ✅

  • K-nearest neighbors (code 1 - code 2) ✅

  • Decision trees (code) ✅

  • Linear SVM (code)

  • Neural networks
    • Perceptron (code)
    • FeedForward NN (code)
    • Softmax (code)
    • Convolution (code)
    • CNN
    • RNN

Sampling

  • stratified sampling (link)
  • uniform sampling
  • reservoir sampling
  • sampling multinomial distribution
  • random generator

NLP algorithms

  • bigrams
  • tf-idf

Other

  • Random int in range (link1, link2)
  • Triangle closing
  • Meeting point

Sample codes

  • You can find some sample codes under the Notebooks.