Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Line#127 train.py #14

Closed
hritwik567 opened this issue Nov 22, 2018 · 1 comment
Closed

Error in Line#127 train.py #14

hritwik567 opened this issue Nov 22, 2018 · 1 comment

Comments

@hritwik567
Copy link

Shouldn't the preds in np.zeros Be preds_neg? Unless length of preds and preds_neg is the same.

    preds_all = np.hstack([preds, preds_neg])
    labels_all = np.hstack([np.ones(len(preds)), np.zeros(len(preds))])
    preds_all = np.hstack([preds, preds_neg])
    labels_all = np.hstack([np.ones(len(preds)), np.zeros(len(preds_neg))])

Thanks
Hritvik

@tkipf
Copy link
Owner

tkipf commented Nov 23, 2018

Good catch! Fixed in 44b39fa

@tkipf tkipf closed this as completed Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants