Machine Learning with Go? Go!
summary
Built an OCR for handwriting using a Python TensorFlow model for training and then loading that model from Go, showing that TensorFlow 1.14 Go bindings can run pretrained graphs but lack optimizers and features, while Gorgonia for tensors and simple CNNs handles convolutional classification and linear regressions but fails to implement the required bidirectional recurrent encoder/decoder. Evaluation uses Levenshtein distance, some real examples decode correctly, many edge cases fail, and deployment works via Docker or Pachyderm.
AI-written summary Β· about
chapters (16)
- 0:00Introduction and motivation
- 1:51What is machine learning
- 4:29Linear regression example
- 5:52Steps in a ML project
- 7:18Selecting handwriting data
- 9:12Building the neural network model
- 12:09Challenges with TensorFlow in Go
- 14:42Trying Gorgonia for Go
- 16:10Recurrent neural networks in Go
- 18:23Using ONNX for model deployment
- 19:48Loading Python models in Go
- 21:37Testing the OCR system
- 23:07Deploying the model
- 24:11Tools for data science in Go
- 25:39Go vs Python for ML
- 26:21Q&A on model testing
