Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#################################################################
# File Path
#################################################################
source.file.path=/home/cclearner/Desktop/CCLearner/BigCloneBench/era_bcb_sample/
output.dir=/home/cclearner/Desktop/CCLearner/Output/
feature.file.path=/home/cclearner/Desktop/CCLearner/Output/clone_data_train.csv
model.file.path=/home/cclearner/Desktop/CCLearner/Output/model.mdl
pos.file.path=/home/cclearner/Desktop/CCLearner/Output/pos.csv
sim.file.path=/home/cclearner/Desktop/CCLearner/Output/sim.csv
clones.file.path=/home/cclearner/Desktop/CCLearner/Output/clone_pairs.csv
#################################################################
# PostgreSQL Configuration
#################################################################
postgreSQL.conn=jdbc:postgresql://localhost:5433/postgres
postgreSQL.user=cclearner
postgreSQL.passwd=cclearner
#################################################################
# Feature Configuration
#################################################################
# The number of features should be 8 or 7
# If the number of features is 8, feature name should be null
# If the number of features is 7, select one feature that will be removed
feature.num=8
# Name could be "reservedword", "type", "literal", "variable", "functionname", "qualifiedname", "operator" and "marker"
feature.name=null
feature.minline=6
#################################################################
# Training Configuration
#################################################################
training.seed=123
training.learningRate=0.01
training.batchSize=45326
training.iteration=300
# The number of input should be the same with the number of features
training.input.num=8
training.output.num=2
training.hidden.num=10
#################################################################
# Testing Configuration
#################################################################
testing.sim_threshold=0.98
# default value is to test all the testing folders
testing.folder=2,3,5,6,7,8,9,10,11
# testing.folder=3