Dynamic Learning From Time-Varying Social Networks