Generalized subsampled Newton methods for optimization and its application | Synapse