rpomponio / neuroHarmonize

Harmonization tools for multi-site neuroimaging analysis. Implemented as a python package. Harmonization of MRI, sMRI, dMRI, fMRI variables with support for NIFTI images. Complements the work in Neuroimage by Pomponio et al. (2019).
https://pypi.org/project/neuroHarmonize/
MIT License
79 stars 28 forks source link

Results not entirely deterministic #19

Closed rpomponio closed 2 years ago

rpomponio commented 2 years ago

Without setting a random seed (see below), the results of harmonization for ICV can vary.

np.random.seed(0)

This may be due to some initialization step within the GAM implementation in statsmodels.