Week3-4Dimensionality reduction

Problems with the simple vector approaches to similarity

这里写图片描述

Dimensionality reduction

  • looking for hidden similarities in data
  • based on matrix decomposition

Matrix decomposition

这里写图片描述

SVD

这里写图片描述

Example

  • Assume that we have 7 Documents with 9 terms.
    这里写图片描述
    e.g. Document 1 contains term 6 and term9.

  • The document term matrix should be 9×7 , a column represents a document and a raw represents a term.
    这里写图片描述

Remark: we have to normalize our matrix before svd.

  • Apply the svd decomposition

    M9×7=U9×9Σ9×7VT

    这里写图片描述

  • Σ
    这里写图片描述

  • Rank 2 Σ
    这里写图片描述

    UΣ2 is the 2 rank approximation of the TERM(2 dimension),
    Σ2VT is the 2 rank approximation of the DOCUMENT(2 dimension).

这里写图片描述

Question

what do ATA and AAT mean if A is a document-term matrix 9×7 ?

  • ATA7×7 is the document-document similarity matrix.
  • AAT9×9 is the term-term similarity matrix.

Latent semantic indexing(LSI, identical to LSA)

  • Dimensionality reduction = identification of hidden(latent) concepts
  • query matching in latent space
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值