I encountered the error shown in the title while performing consensus.
As suggested in #10, I edited the _check_w_h function in my conda environment, saved and performed it again, but still not fixed.
Anyone can help me solve it?
The code I edited is as follows: if there are any mistakes, please let me know
elif not update_H:
_check_init(H, (self._n_components, n_features), "NMF (input H)")
H = H.astype(np.float64)
if H.dtype != X.dtype:
raise TypeError(
"H should have the same dtype as X. Got H.dtype = {}.".format(
H.dtype
)
)
Hi,
I encountered the error shown in the title while performing consensus.
As suggested in #10, I edited the _check_w_h function in my conda environment, saved and performed it again, but still not fixed.
Anyone can help me solve it?
The code I edited is as follows: if there are any mistakes, please let me know