Not Pancake Mix

# npm

Wondering what’s next for npm?Check out our public roadmap! »

## ml-ngmca

0.2.2 • Public • Published

# nGMCA - non-negative Generalized Morphological Component Analysis

A tool for non-negative matrix factorization.

## Instalation

\$ npm install ml-ngmca

## API Documentation

In order to get a general idea of the problem you could also check the Wikipedia article.

## Examples

You will be able to separate the components of a mixture if you have a series of measurements correlated by a composition profile e.g NMR or mass spectra coming from a chromatographic coupled technique of two or more close retention times. So you will have a matrix with a number of rows equal or greater than the number of pure components of the mixture.

Here is a second example:

The result has the matrices A and S, the estimated matrices of compositions and pureSpectra respectively. It's possible that the matrices A and S have not the same scale than pureSpectra and composition matrices because of AS has an infinity of combination to get the target matrix.

MIT

## Keywords

none

### Install

npm i ml-ngmca

17

0.2.2

MIT

38.4 kB

19

### Repository

github.com/mljs/nGMCA