Hi, I met some problems when I tried to use the HEOM library with both numeric and categorical data. I feel the problem is the following:
# Get the normalization scheme for numerical variables if normalised == "std": self.range = 4* np.nanstd(X, axis = 0) else: self.range = np.nanmax(X, axis = 0) - np.nanmin(X, axis = 0)
Seems like the above code can not work well with categorical data (especially for np.nanmin() function).
Hi, I met some problems when I tried to use the HEOM library with both numeric and categorical data. I feel the problem is the following:
# Get the normalization scheme for numerical variables if normalised == "std": self.range = 4* np.nanstd(X, axis = 0) else: self.range = np.nanmax(X, axis = 0) - np.nanmin(X, axis = 0)
Seems like the above code can not work well with categorical data (especially for np.nanmin() function).