Skip to content

Constructing pointwise mutual information directly from sparse matrix #1

@kaushikacharya

Description

@kaushikacharya

In R/word2vec_fit.R # construct_pmi()
do we really need to convert input sparse matrix into a regular matrix?
As more and more CUIs are considered, this will lead to exceeding the memory limit of the m/c.

I have made changes in my forked repo to construct pmi directly using sparse matrix:
kaushikacharya@c33492d

If you want I can create a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions