Distributed Gradient Methods for Convex Machine Learning Problems in Networks: Distributed Optimization | Synapse