DenStream segmentation fault with KDD input
Closed this issue · 0 comments
wzru commented
TEST(SystemTest, DenStream) {
// Setup Logs.
setupLogging("benchmark.log", LOG_DEBUG);
// Parse parameters.
// [529, 999, 1270, 1624, 2001, 2435, 2648, 3000]
// [3, 3, 4, 6, 6, 7, 9, 9]
param_t cmd_params;
cmd_params.num_points = 494021;
cmd_params.dim = 41;
cmd_params.min_points = 10;
cmd_params.epsilon = 20; // 0.1
cmd_params.base = 2;
cmd_params.lambda = 0.25;
cmd_params.mu = 5;
cmd_params.beta = 0.25;
cmd_params.buf_size = 500;
cmd_params.input_file = std::filesystem::current_path().generic_string() +
"/datasets/KDD99.txt";
cmd_params.output_file = "results.txt";
cmd_params.algo = SESAME::DenStreamType;
cmd_params.num_clusters = 23;
cmd_params.time_decay = false;
cmd_params.run_offline = true;
output:
Read from the file...
Complete reading from the file...
Finished loading input data
data number: 494021
Algorithm: DenStream buf_size: 500 min_points: 10 epsilon: 20 lambda: 0.25 mu: 5 beta: 0.25
DataSource spawn thread=0
Engine spawn thread=1
DataSink spawn thread=2
DataSource start to emit data
DataSink start to grab data
Algorithm start to process data
NOW PMC number is: 429 , Init succeed!
Segmentation fault