Tag Info

Accepted

What is the use of additional column of 1s in normal equation?

The normal equations are designed such that each coefficient in the model has an input of some kind it's being multiplied against. The column of ones is the "input" to the intercept term.
• 3,248
Accepted

Mathematical formulation of Support Vector Machines?

Your understandings are right. deriving the margin to be $\frac{2}{|w|}$ we know that $w \cdot x +b = 1$ If we move from point z in $w \cdot x +b = 1$ to the $w \cdot x +b = 0$ we land in a ...
• 1,164

• 2,420
Accepted

How does "linear algebraic" weight training function work?

Your goal is to find a $w$ such that $$Xw \approx y$$ and way to model this problem is to minimize the objective function: $$\min_w\|Xw-y\|^2.$$ Differentiating with respect to $w$ and equate it ...
• 3,043
Accepted

RNN: why Wx + Uh instead of W[x,h]

Theoretically, the formula with two matrices is more clear and self-evident, I think that's the reason why it's used more often. In practice, both approaches are actually used in production and hence ...
• 890

Machine learning PhD Interview technical questions

In general, linear algebra and basic concepts in statistics (probability distributions, marginalization) and machine learning (you should be familiar with terns like Maximum-A-Posteriori estimation ...
• 2,220

How does tensor product/multiplication work in TensorFlow?

Tensor multiplication is just a generalization of matrix multiplication which is just a generalization of vector multiplication. Matrix multiplication is defined as: $$A_i \cdot B_j = C_{i, j}$$ ...
• 246
Accepted

• 626
Accepted

Why do we use 'T' when we are to say matrix-vector product?

When a vector or matrix has the superscript $T$, it means the matrix/vector is transposed. Transposing a matrix or vector means flipping the matrix along its diagonal, that is, changing the elements ...
• 26.7k
Accepted

What are some application of Google's PageRank Algorithm in Data Science

Hubáček et al apply PageRank to football match prediction: PageRank was originally developed for assessing the importance of a website by examining the importance of other websites referring to it. ...
• 5,410