~/talk

Lessons learned using Machine Learning in Java

Talkat J-Fall 2023 · on Thursday, 2023-11-09· [machine-learning, java]
slides:none on file

Builds a Lego block visual sorter using Java libraries (Deep Java Library, MXNet, TensorFlow engine) and transfer learning, trains on ~1,800 augmented images per class, and targets the top 1,000 bricks. Benchmarks show Java outperforms Python slightly for training and inference; training 100 classes takes ~9 hours for 25 epochs. Zoomed‑in rendered plus a small set of real photos yields 80%+ accuracy for individual bricks and a conveyor prototype that reliably sorts with tuned confidence thresholds.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:02Choosing Java over Python
  3. 3:10Java ML frameworks overview
  4. 6:24Dog vs muffin demo
  5. 8:10Data set preparation challenges
  6. 12:27Building a model in Java
  7. 17:47Training and evaluation metrics
  8. 21:23Saving and using the trained model
  9. 25:41Early stopping and model tuning
  10. 29:14Optimizers and transfer learning
  11. 31:24Using Python models in Java
  12. 34:17Lego sorting project setup
  13. 37:07Generating Lego brick data set
  14. 38:30Model accuracy with zoomed images
  15. 40:34Real images vs generated data
  16. 41:58Grayscale conversion and contrast
  17. 43:48Data augmentation techniques
  18. 45:56Final model performance
  19. 47:04Key takeaways and conclusion
~/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.