0
$\begingroup$

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:

  1. For all 10 machines, I take the first 80% as the training dataset and let the remaining 20% be the test dataset
  2. 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!

$\endgroup$
2

1 Answer 1

0
$\begingroup$

Depends on the operational characteristics of all machines. Assuming they operate under similar circumstances, best to pool all events into one time-series. Then apply rolling cross-validation from Rob Hyndman, see here, in testing the model build.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.