Skip to content

Errors? when initial idf values in testing part. #13

Description

@WonderMind

Hi zhuyun,
Please help me check this problem:

idf = np.array([int(t) for t in cols[2].split(',')])

I think when 'with_idf=True', this line should be:
if len(cols) < 3:
idf = np.ones(len(q))
else:
idf = np.array([int(t) for t in cols[2].split(',')])

all right?

Thanks for you attention.

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