2
4

1 回答 1

2

The code sample you link to has the line that refers to the training file commented out. Is it possible your code is trying to train on the test file? That would cause slept to look like a label since it's at the end of the line, and would explain the error.

For the record, I tried the example using the test data you gave above (using the command line, not the code sample) and it worked, so the test/train format seems to be OK.

于 2017-07-03T04:04:13.880 回答