- Podcasts
- CyberSecurity Summary
- Easily: Practical Machine Learning Algorithms with Python
Easily: Practical Machine Learning Algorithms with Python
CyberSecurity Summary
- July 9, 2025
- 32 min
About this episodeProvides a comprehensive guide to machine learning algorithms using Python. It covers a range of supervised learning techniques like…
You can listen and download our episodes for free on more than 10 different platforms:
https://linktr.ee/cyber_security_summary
Get the Book now from Amazon:
https://www.amazon.com/Easily-Practical-Machine-Learning-Algorithms-ebook/dp/B086MNQW45?dib=eyJ2IjoiMSJ9.5OCp8sSIJ-Qz0Mw9-rU4IURJzaTNvPoFX7F06VbYy5qRlSu6dSwZ3O_ZhHAvKVMBTK8eYDUF_Q1gfJ5C0GZqq6W7nqHFesYManTYrI0z6Vq6qsjz-UdyxdhKMuH5d_OhAxIN6u1VjiAMIPBKkr9bmA.2j6a7BlJSeGpK6YoAO_DK8dIfh1T3C0sttmXZ1q9sN0&dib_tag=AUTHOR&linkCode=ll1&tag=cvthunderx-20&linkId=6d6ef6cf223dc9b8ebea22edec8b8279&language=en_US&ref_=as_li_ss_tl
Discover our free courses in tech and cybersecurity, Start learning today:
https://linktr.ee/cybercode_academy
Transcript
From the publisherThis transcript comes from the podcast’s own feed, shown as the publisher wrote it.
Easily: Practical Machine Learning Algorithms with Python
Matters exactly, and maybe, you know, throw in a few surprising bits to keep it interesting. Well, if that sounds like you, you are definitely in the right place, because that's what we do here on the Deep Dive. We're sort of your shortcut to getting properly informed, and today we're taking a deep dive into your source material. These are excerpts from Easily Practical Machine Learning Algorithms with Python by doctor Darren Thomas.
Right, the source noted income and age came out as strong predictors, pointing out the known differences in salaries and life expectancy. And the performance impressive on the training data ninety three percent accuracy. Wow, but then quite a big drop on the test data, down to sixty six percent.
Yeah. Again. Comparing linear and RBF kernels, the linear one showed a pretty weak correlation, only point three to eight on training and point four zero on tests. That doesn't sound great, but the MS values were low and very stable point zero one five eight nine on training, point zero one eight three to two on testing.
Ooh, good question. For faulty products, you probably care a lot about. Recall also called sensitivity. That's true positives divided by all the actual positives TP plus FN. You want to catch as many faulty products as possible, even if you accidentally flag a few good ones. Missing a faulty one could be costly or dangerous.
And precision, which is true positives divided by all the ones the model predicted is positive TP plus FP was also point seven to six. Precision is about how trustworthy A positive prediction is when the model says it's cancer. How often is it right? And the F measure that just combines precision and recall into one score also point seventy six in this case because there were zero false negatives, which is unusual.
Lower is better, lower is better, Yes, for age, it was sixty one point eight on train eighty five point twenty four on test. The different shows that drop in performance on unseen data and are squared. Our squared tells you how much of the variation in the outcome variable your model explains. Ranges from zero to one. For age prediction, that was point twenty nine, which the source called not exciting. It means the model only explained about twenty nine percent of the variation in age.
Absolutely, you'd cross validate metrics like MSE and R two for that SVM regression predicting education. The cross validated MS was similar to the original test MAC, which is good, But the R two, the cross validated R two had a high standard deviation point one nine. So I guess the model's ability to explain the variance wasn't very stable across different subsets of the data. Again, maybe sample size issues or just a complex relationship.
