Description Usage Arguments Value Author(s) Examples
View source: R/weight_matrix.R
Calculate the weighted inner product of A and B with the weight W. This result is useful in Logistic Regression.
1 | weight_matrix(A, W, B)
|
A |
the left matrix |
W |
the weight |
B |
the right matrix |
the wighted inner product, noticing it can be vector when A or B is 2 dimension.
Linsui Deng
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.