Fixed (methods.seeding.fixed)

Fixed factorization. This is the option to completely specify the initial factorization by passing values for matrix factors.

class nimfa.methods.seeding.fixed.Fixed

Bases: object

initialize(V, rank, options)

Return fixed initialized matrix factors.

Parameters:
  • V (One of the scipy.sparse sparse matrices types or numpy.matrix) – Target matrix, the matrix for MF method to estimate.
  • rank (int) – Factorization rank.
  • options (dict) –

    Specify the algorithm and model specific options (e.g. initialization of extra matrix factor, seeding parameters).

    Option idx represents the index of the coefficient matrix. The index is by default 0 and corresponds to a factorization model with one mixture matrix (e.g. standard, nonsmooth model).