python - Jupyter notebook freezing on a specific line of code -


the code on own works fine (the exact same thing did happen, although not frequently), once threw entire code in giant loop, seems on second or third iteration, gets stuck. interrupt kernel , line on it's stuck is:

gsigns[k] = np.sign((weights[0] * npoints[k].x) + (weights[1] * npoints[k].y)) 

gsigns array filled zeros, , npoints numpy array. idea how around this?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -