Nadeem (@ndm621) profile picture
London, England
Joined April 2010
Photo by Nadeem (@ndm621)Photo by Nadeem (@ndm621)Photo by Nadeem (@ndm621)Photo by Nadeem (@ndm621)Photo by Nadeem (@ndm621)
How a convolutional neural network turns pixels into a label. A small kernel K slides across the image, multiplying the pixels under it by its weights and summing: S(i,j) = Σₘ Σₙ I(i+m, j+n) K(m,n). The result is a feature map that lights up where the kernel's pattern appears. Several kernels give several maps. Max pooling keeps the largest value in each 2×2 block. Fully connected layers combine the features, and softmax turns the scores into class probabilities.
8
174
11
1,098
44,410
9 Essential ML Algorithms 🤖 ① Naïve Bayes ② Perceptron ③ Linear Regression ④ K-Nearest Neighbors ⑤ Neural Networks ⑥ Principal Component Analysis ⑦ Support Vector Machine ⑧ Gradient Descent ⑨ Logistic Regression Save this cheat sheet for your ML journey! 📌 #AI
2
18
1
127
2,225
Nadeem retweeted
27
2
219
4,757
Nine machine learning models, one formula each. Linear regression fits a weighted sum by gradient descent. The perceptron wraps it in a sign function and nudges the weights toward each misclassified point. Logistic regression squashes it into a probability with the sigmoid. KNN votes among the nearest points. PCA projects onto the top eigenvector of the covariance. An RBF SVM's boundary bends more as its kernel narrows.
22
522
20
2,804
86,096
Reinforcement learning learns from rewards, not labels. Each step the agent sees a state sₜ (a shape), picks an action aₜ (a bin), and the environment returns a reward rₜ₊₁: +1 if right, −1 if wrong. The agent keeps a value Q(s,a) and updates it with Q ← Q + α[r + γ maxₐ′ Q(s′,a′) − Q]. Each sort ends the episode, so the max term is 0 and Q ← Q + α(r − Q). With α = 0.5 a correct pair goes 0.5, 0.75, 0.875, … → 1.
3
41
263
8,216
Nadeem retweeted
39
284
5,974
Nadeem retweeted
Want to use MATLAB and Python together in your projects? In this four-part video series, you’ll learn how to set up MATLAB and Python and call Python functions from MATLAB or MATLAB functions from Python. spr.ly/6019By6Vf5
2
50
1
274
11,186
Do you know what a Monte Carlo simulation is? Every investor should learn how to use it. Start with the basics in this free PDF 👇🏻
7
19
162
18,847