image thumbnail

updated 2 years ago

The N-way Toolbox by Rasmus Bro

Tools for fitting multi-way (tensor) models such as PARAFAC (statistics, probability, parafac)

B=unimodal(X,Y,Bold)

B=unimodalcrossproducts(XtX,XtY,Bold)

C=ckron(A,B)

image thumbnail

updated almost 6 years ago

Sign correction in SVD and PCA by Rasmus Bro

Determines the right sign of the singular vectors in SVD (score- and loading vectors in PCA) (svd, evd, chemometrics)

sign_flip(loads,X)

image thumbnail

updated 11 years ago

Unimodal regression by Rasmus Bro

Unimodal least squares regression routine. (statistics, probability, monotonic)

B=unimodal(X,Y,Bold)

B=unimodalcrossproducts(XtX,XtY,Bold)

[b,All,MaxML]=ulsr(x,NonNeg);

image thumbnail

updated 11 years ago

NNLS and constrained regression by Rasmus Bro

M-files for non-negativity constrained least squares regression. (statistics, probability, nonnegativity)

fnnls(XtX,Xty,tol)

fnnlsb(XtX,Xty,P_old,Z_old,tol)

image thumbnail

updated almost 13 years ago

PARAFAC2 by Rasmus Bro

Algorithm for fitting the PARAFAC2 model which is more flexible than ordinary PARAFAC (statistics, probability, parafac2)

[A,H,C,P,fit,AddiOutput]=parafac2(X,F,Constraints,Options...

Contact us