Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Vectorizing memory issue #6183

Closed
Closed
@hidayata

Description

@hidayata

Hi all

I'm working with a pretty large data set and am having an issue with line 758 of text.py (CountVectorizer code):

indptr.append(len(j_indices))

In my case, the length of j_indices is larger than the maximum signed int. indptr is an int array.
I tried making indptr a long array but that leads to other bigger memory issues.

Any thoughts?

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