File ipython-input-30-eae839ba8312 line 11 d dist queryPoint X i IndentationError expected an indented block

0 votes
for i in range(m):
    d=dist(queryPoint,X[i])
    vals.append((d,Y[i]))
    
    vals=sorted(vals)
    vals=vals[:k]
    
    vals=np.array[vals]
    print(vals)
Jan 15, 2021 in Python by anonymous

edited Mar 4 22 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP