Generate networks for arbitrary data sets