~/talk

Tutorial: A Practical Introduction To Machine Learning

Talkat PyCon AU 2016 · 2016-08-12..08-16· [machine-learning, python]
slides:none on file

730 infrared grayscale bee-tag images at 24x24 pixels are loaded into numpy arrays, cropped to 16x16 (576 features) and labeled 0/1/2 for control/treatment/queen. Data splits 80/20 -> 584 train / 146 test. Visuals use PCA and LDA; a support vector machine hits ~69% accuracy, switching to a random forest raises accuracy by ~8% (≈77%). A scikit-learn pipeline wraps an unwrap transformer + LDA + classifier, and hyperparameters are tuned with RandomizedSearchCV; improper testing on training shows a spurious 96% but proper held-out testing yields ~78%, confirming the pipeline works and is reproducible.

AI-written summary · about

  1. 0:00Start
  2. 19:37crop the image to the central square
  3. 26:03load images in as numpy
  4. 41:07plot the data on the x and y axis
  5. 42:51try and visualize with another type of algorithm linear discriminant analysis
  6. 47:22fit the classifier to the training data
  7. 48:33predicting the label of each of the testing rows
  8. 48:48use a very simple measure of accuracy
  9. 49:51baseline accuracy measure
  10. 1:06:16build a pipeline
  11. 1:13:25using the randomized search cross-validation
  12. 1:18:08repeat this process using a proper training test split
~/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.