How to format matrix with negative values for NMF in R
0
0
Entering edit mode
22 months ago

Hi,

I have a matrix 10000x19666 of CPM values centred around 0 that I want to run NMF on. The value range is -13.09505, 13.43296.

Since NMF needs a non-negative matrix, what is the best way to prep this data for NMF. Does it make sense to just add 13.09505 to all matrix values so that it ranges from 0 to ~26 or should I scale the data between 0 and 1. Or is there another, better approach?

nmf R matrix • 447 views
ADD COMMENT

Login before adding your answer.

Traffic: 3093 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6