From 2f4a81a9814998604b0de59fada1ccb5ab5de6c1 Mon Sep 17 00:00:00 2001 From: Sundar Srinivasan Date: Fri, 13 Jul 2018 21:55:38 +0000 Subject: [PATCH] Include random header to support random_device --- NN4IR.h | 1 + config.ini | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/NN4IR.h b/NN4IR.h index 8e4d17d..fbbe1b1 100644 --- a/NN4IR.h +++ b/NN4IR.h @@ -20,6 +20,7 @@ #include #include #include +#include #include"util.h" #include"Config.h" #include "Eigen/Dense" diff --git a/config.ini b/config.ini index 59a5070..efb6659 100644 --- a/config.ini +++ b/config.ini @@ -42,9 +42,16 @@ MAX_ITERATION = 4 # 0:robust04, 1:clueweb09 2: TASK_TYPE = 0 +# 0:siomoid; 1:tanh; 2: +ACTIVATION_FUNC_TYPE = 1 + +# all query involved or not when evaluate performance +CAL_ALL_Q = 0 + # every positive document random sample 10 document for every query SAMPLE_PERPOSITIVE_LIMITED = 10 SAMPLE_PERQUERY_LIMITED = 1000 SAMPLE_TOTAL_LIMITED = 10000 +