Machine learning in Java from nothing to production in one hour
summary
Live Java demos show how to use the TensorFlow Java SDK to add tensors, import a .pb gradient‑descent graph, train linear regression (rule‑of‑thirds, MNIST noted as 60,000 examples) and load a pretrained DNN via SavedModelBundle to classify addition vs subtraction. The talk emphasizes that Java covers ~20% of TensorFlow APIs, demonstrates convergence after ~2,500 synthetic training samples for the demo, and deploys predictions with TensorFlow Serving inside Docker — and it works end‑to‑end.
AI-written summary · about
chapters (17)
- 0:00Introduction to ML and TensorFlow
- 1:01What is machine learning
- 3:57Training data and model accuracy
- 7:50Big data and ML relationship
- 10:20What is TensorFlow
- 12:53Tensors, variables and operations
- 15:01First demo: Adding two numbers
- 23:04Linear regression example
- 27:24Learning rate explained
- 30:58Second demo: Graph importation
- 37:07Limitations of linear regression
- 38:30Neural networks basics
- 44:15Third demo: Addition vs subtraction
- 50:41Deploying trained models
- 54:03Final demo: REST predictions
- 55:29Conclusion and next steps
- 56:33Q&A: Industry demand for Java SDK
