@machinelearningtogo: ➡️ Machine Learning from Scratch part 20: a random forest (simple explanation at the end) Same 500 made-up bank customers as part 18 (income and missed payments; no real people). It learns from the first 400 and is tested on the last 100. How it works: Every tree gets its own sample of 400 customers, drawn with replacement, so about a third are left out. A standard random forest tries a random subset of features at each split (scikit-learn: the square root of their count); with our 2 features that is one. If that one cannot split the group any better, the branch ends. We grow 100 trees and every tree votes; more than 50 yes votes means a loan. Result on the 100 new customers: A single tree from our forest gets 78 right on average (65 to 86). The whole forest gets 84, more than both trees from part 18 (82 with two questions, 79 without a limit). At least one tree is wrong on 73 of the new customers, the vote only on 16. Part 18's two trees disagreed on the first new customer; the forest votes 85 to 15 against the loan, and that customer did not pay back. #machinelearning #randomforest #decisiontree #python #coding
MachineLearningToGo
Region: DE
Thursday 01 October 2026 17:55:49 GMT
Music
Download
Comments
drylynn :
it seems machine learning is just magic
2026-10-02 01:39:51
7
Didi :
Is this generated by AI?
2026-10-02 03:53:55
0
Foodjeatsu :
The best account on TikTok. Thank you very much.
2026-10-12 05:01:08
1
MachineLearningToGo :
A simple explanation is at the end of the video again for those who didn't really get it 🙏
2026-10-01 17:57:31
1
Bharatchadani :
it leans towards JEV or GenAI??
2026-10-03 11:41:34
0
Nguyễn Tuấn Minh :
Bro how are you doing those things, i can only do this
2026-10-03 07:55:27
2
. :
Eowwww
2026-11-05 18:05:59
0
Caliban Prime :
How about cluster of Forest ?
2026-10-03 10:18:43
0
bridge bandwidth :
awareness skills analogy
2026-10-13 05:08:27
0
Kizusuita Kusyaai da :
2026-10-08 09:26:41
0
facetious :
The machine is not learning anything. It's just computing probabilities.
2026-10-01 20:52:53
6
pcJmac :
The whoosh sounds are annoying
2026-10-02 13:21:45
1
Tanyusha Tanyushka :
🥰🥰🥰
2026-10-01 22:10:26
0
Bo Bo❤🤩 :
❤️❤️❤️
2026-11-20 11:04:12
0
To see more videos from user @machinelearningtogo, please go to the Tikwm
homepage.