Skip to content

Kernel dying module 2 notebook 3 #36

@emilygrabowski

Description

@emilygrabowski

I'm currently testing that all of the code runs in the datahub and with 8 GB of ram.

The kernel dies from too much memory being used when you run this line:
from sklearn.metrics.pairwise import cosine_similarity
similarities = cosine_similarity(tfidf)
similarities.shape

Although the biggest memory drain is a few cells before with the .to_dense() function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions