Home>

When I ran the following program in Jupiter Notebook,
Kernel Restarting
The kernel appears to have died. It will restart automatically.
Is displayed and the program cannot be executed.

If anyone knows, please let me know.

Kernel Restarting
The kernel appears to have died. It will restart automatically.
Corresponding source code
import numpy as np
from sklearn.linear_model import LogisticRegression
ar2_data = np.loadtxt (fname = "spamdata1000.csv", delimiter = ",")
array_y = ar2_data [:, 0]
ar2_X = ar2_data [:, 1:]
lrg = LogisticRegression (solver ='lbfgs', multi_class ='auto', max_iter = 1000)
lrg.fit (ar2_X, array_y)
print (lrg.score (ar2_X, array_y))
What I tried

I searched on the internet and found out how to update numpy and how to increase memory with docker. I tried a few things but it didn't work.

Supplementary information (FW/tool version, etc.)

Please provide more detailed information here.