Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NN4IR.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include<algorithm>
#include<thread>
#include<omp.h>
#include<random>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gives compilation error with random_device on Ubuntu Server 18.xx

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@faneshion - please review this PR

#include"util.h"
#include"Config.h"
#include "Eigen/Dense"
Expand Down
7 changes: 7 additions & 0 deletions config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,16 @@ MAX_ITERATION = 4
# 0:robust04, 1:clueweb09 2:
TASK_TYPE = 0

# 0:siomoid; 1:tanh; 2:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New fields added to default config.ini

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@faneshion - please review this PR

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