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 -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -