Viewing a single comment thread. View all comments

Khal_Doggo t1_j8cpwdk wrote

I have a matrix of data I want to run NMF on. The range of values is from -13.1 to 13.4. What's the best way to prep this data for NMF? I've seen people just take all the negative values and make them 0 but that seems to me like it massively cripples the variance in the data. Would it make sense to just add the absolute minimum to each value in the matrix so that it ranges from 0 to 26 instead? Or rescale the data from 0 to 1?

1

ParanoidTire t1_j9hdztb wrote

No idea what nmf is, but normalization is usually a critical step for any ML algo. Min max normalization is common, as well as z normalization. If your data needs to be positive, adding the minimum is indeed a way to guarantee this.

1