Currently, I have log files from 10 machines. Each log file contains an event type and the occurrence time of the event.
Each machine's log file is recorded under the same time frame, and I wish to predict the time to a particular "critical" event.
How should I split the data into train/test? I currently have a couple of ideas:
- For all 10 machines, I take the first 80% as the training dataset and let the remaining 20% be the test dataset
- I randomly take 8 machines as the training set, and I try to predict the time to a critical event for the remaining 2 test datasets.
Any input or feedback would be greatly appreciated!