AnswerBun.com

How to project a mxn matrix (m features, n samples) onto a space generated by a mxk matrix (m features, k factors)?

Cross Validated Asked by Minstein on October 20, 2020

I got two matrices A and B, the dimension of A is m x n, where n represents the number of samples, and m represents the number of features. Then after dimensionality reduction, e.g., by NMF, I got B, of which the dimension is m x k, where the m features are the same in A, and k is the number of factors or new basis.

I want to project A onto B to get each sample’s weights on each factor (A = B X C). Previously I obtained weights (C) by linear regression, which aims to reconstruct A. I am wondering if there are any other ways to get the weights because sometimes the linear regression does not work well.

I also tried to get the C by C = A X B, or by calculating similarities between n samples and k factors. I’d like to know whether the above two strategies are reasonable or not?

Add your own answers!

Related Questions

How to smooth an existing PDF?

1  Asked on November 18, 2021 by crimson_idiot

     

One-sample t-test on count data

0  Asked on November 16, 2021 by zarya

   

Book recommendation for ANOVA and linear models

2  Asked on November 16, 2021 by shial-de

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir