~/talk

How To Evaluate and Improve Machine Learning Models

Talkat DSC MENA 2024 · 2024-04-18..04-20· [machine-learning]
links:none on file
slides:none on file

Google Colab notebook walks through loading Titanic CSV, filling 177 missing ages with the mean, encoding gender, and building classifiers with NumPy/Pandas/Matplotlib and sklearn.svm; a custom 5‑fold cross‑validation computes per‑fold accuracies and shows linear SVM outperforms the kernel SVM, confirmed by a two‑sample z-score test at 95% confidence. Improvement steps include class balancing with RandomOverSampler (small accuracy lift) and an ensemble RandomForest (100 trees) that raises accuracy from ~78% to ~80%.

AI-written summary · about

  1. 0:00Introduction
  2. 3:19Why evaluating models matters
  3. 4:06Core performance metrics
  4. 5:51Cross validation for bias
  5. 7:37Methods to improve models
  6. 11:30Titanic dataset case study
  7. 17:40Loading Titanic dataset
  8. 25:15Implementing k-fold CV
  9. 32:09Evaluating SVM models
  10. 38:10Comparing models with z-score
  11. 44:24Improving models with oversampling
  12. 49:38Random forest classifier
  13. 51:16Summary
  14. 52:26Answering audience questions on model evaluation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.