Skip to content

a bug in test dataset splitting  #33

@nobrowning

Description

@nobrowning

I noticed that there is bug in the preprocessing code for 20ng(scripts/data_20ng.py)

docs_ts = [[word2id[w] for w in init_docs[idx_d+num_docs_tr].split() if w in word2id] for idx_d in range(tsSize)]

missing the idx_permute index convert

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