animeshdutta888 / System-Failure-Prediction-using-log-analysis

You're given logs of various machines. You need to provide warning so as to when failure may occur.
19 stars 8 forks source link

dividing into train and test,75% for training #4

Open suharevA opened 1 year ago

suharevA commented 1 year ago

Why did it happen?

test_y=test_y.reshape(120,1) print(test_y)
ValueError                                Traceback (most recent call last)
Input In [235], in <cell line: 1>()
----> 1 test_y=test_y.reshape(120,1)
      2 print(test_y)

ValueError: cannot reshape array of size 24 into shape (120,1)
moonie-8 commented 1 year ago

test_y=test_y.reshape(24,1) I change it to this value and it work fine for me.