@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
MachineLearningToGo
Open In TikTok:
Region: DE
Thursday 01 October 2026 17:55:49 GMT
44409
2785
27
191

Music

Download

Comments

jamiefox873
drylynn :
it seems machine learning is just magic
2026-10-02 01:39:51
7
aswadiabdulrahman
Didi :
Is this generated by AI?
2026-10-02 03:53:55
0
foodjeatsu
Foodjeatsu :
The best account on TikTok. Thank you very much.
2026-10-12 05:01:08
1
machinelearningtogo
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
tiktokbdahal
Bharatchadani :
it leans towards JEV or GenAI??
2026-10-03 11:41:34
0
minmin.n74
Nguyễn Tuấn Minh :
Bro how are you doing those things, i can only do this
2026-10-03 07:55:27
2
user00134567788
. :
Eowwww
2026-11-05 18:05:59
0
caliban.prime
Caliban Prime :
How about cluster of Forest ?
2026-10-03 10:18:43
0
james78.carlos
bridge bandwidth :
awareness skills analogy
2026-10-13 05:08:27
0
kizusuita.kusyaai
Kizusuita Kusyaai da :
2026-10-08 09:26:41
0
facetious907
facetious :
The machine is not learning anything. It's just computing probabilities.
2026-10-01 20:52:53
6
pcjmac
pcJmac :
The whoosh sounds are annoying
2026-10-02 13:21:45
1
tanyusha.tanyushk7
Tanyusha Tanyushka :
🥰🥰🥰
2026-10-01 22:10:26
0
black199725
Bo Bo❤🤩 :
❤️❤️❤️
2026-11-20 11:04:12
0
To see more videos from user @machinelearningtogo, please go to the Tikwm homepage.

Other Videos


About