Machine learning techniques for network analysis