1
$\begingroup$

I am new to neural networks, embeddings, etc. I am struggling understanding things like sparse representation, embeddings, and especially sparse vectors. Could you explain these to me? Why do we need this vector? What is it?

$\endgroup$

1 Answer 1

3
$\begingroup$

A sparse matrix

A sparse matrix is a matrix that is comprised of mostly zero values. e.g

     1, 0, 0, 1, 0, 0
A =  0, 0, 2, 0, 0, 1 
     0, 0, 0, 2, 0, 0

A Dense matrix

Dense matrices with mostly non-zero values, which are referred to as dense matrices.

e.g.

     1, 1, 3, 1, 4, 5
A =  0, 1, 2, 0, 1, 1 
     1, 0, 0, 2, 1, 1
$\endgroup$
1
  • $\begingroup$ what do we use for? $\endgroup$ Apr 29, 2020 at 16:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.