Skip to content

PD and PF (without SMOTE) #5

@rahlk

Description

@rahlk

FALSE ALARMS

  • Still too high without SMOTE
  • This was done using Scikit Learn's Random Forest
  • Next: Same with Logistic Regression from Weka (as per HDP paper)
/Users/rkrsn/git/rahlk/Bellwether/src/SEER/pickles/pretty_print.py

## JDT

name 	 Pd 	 Pf 	 G
log4 	 0.94 	 0.77 	 0.85
xala 	 0.81 	 0.86 	 0.83
xerc 	 0.82 	 0.69 	 0.75
luce 	 0.82 	 0.50 	 0.62
velo* 	 0.72 	 0.45 	 0.56
poi 	 0.56 	 0.10 	 0.17
came 	 0.47 	 0.09 	 0.16
ivy 	 0.08 	 0.01 	 0.02
ant 	 0.12 	 0.00 	 0.01
jedi 	 0.01 	 0.00 	 0.00
## PDE

name 	 Pd 	 Pf 	 G
luce 	 0.93 	 0.89 	 0.91
velo 	 0.82 	 0.91 	 0.86
log4 	 0.87 	 0.64 	 0.74
poi 	 0.78 	 0.63 	 0.70
xala 	 0.80 	 0.58 	 0.67
xerc 	 0.38 	 0.16 	 0.22
ivy 	 0.06 	 0.03 	 0.04
came 	 0.03 	 0.01 	 0.01
ant 	 0.00 	 0.00 	 0.00
jedi 	 0.00 	 0.00 	 0.00
## EQ

name 	 Pd 	 Pf 	 G
velo 	 0.88 	 0.95 	 0.92
xerc 	 0.56 	 0.67 	 0.61
xala* 	 0.74 	 0.45 	 0.56
log4* 	 0.84 	 0.32 	 0.46
luce* 	 0.69 	 0.28 	 0.40
poi* 	 0.63 	 0.22 	 0.32
came 	 0.42 	 0.15 	 0.22
ivy 	 0.16 	 0.06 	 0.09
jedi 	 0.12 	 0.01 	 0.02
ant 	 0.07 	 0.01 	 0.01
## LC

name 	 Pd 	 Pf 	 G
luce 	 1.00 	 0.87 	 0.93
log4 	 0.92 	 0.84 	 0.88
velo 	 0.88 	 0.77 	 0.82
xerc 	 0.84 	 0.79 	 0.81
xala 	 0.89 	 0.50 	 0.64
came 	 0.53 	 0.49 	 0.51
poi 	 0.42 	 0.09 	 0.15
ivy 	 0.03 	 0.03 	 0.03
jedi 	 0.03 	 0.01 	 0.01
ant 	 0.03 	 0.00 	 0.00
## ML

name 	 Pd 	 Pf 	 G
xala 	 0.77 	 0.52 	 0.62
log4 	 0.63 	 0.55 	 0.59
velo 	 0.47 	 0.31 	 0.38
luce 	 0.45 	 0.20 	 0.28
xerc 	 0.18 	 0.34 	 0.23
poi 	 0.18 	 0.10 	 0.13
ivy 	 0.11 	 0.04 	 0.05
jedi 	 0.13 	 0.02 	 0.04
ant 	 0.07 	 0.02 	 0.03
came 	 0.04 	 0.02 	 0.03
## Apache

name 	 Pd 	 Pf 	 G
LC  	 0.41 	 0.19 	 0.26
EQ  	 0.33 	 0.20 	 0.25
JDT 	 0.44 	 0.17 	 0.24
ML  	 0.51 	 0.15 	 0.23
PDE 	 0.06 	 0.04 	 0.05
## Safe

name 	 Pd 	 Pf 	 G
EQ  	 0.86 	 0.68 	 0.76
PDE* 	 0.64 	 0.44 	 0.52
LC * 	 0.73 	 0.35 	 0.48
JDT* 	 0.77 	 0.32 	 0.46
ML  	 0.55 	 0.12 	 0.19
## Zxing

name 	 Pd 	 Pf 	 G
JDT* 	 0.62 	 0.39 	 0.48
EQ * 	 0.60 	 0.39 	 0.47
PDE 	 0.50 	 0.38 	 0.43
ML  	 0.31 	 0.23 	 0.27
LC  	 0.36 	 0.20 	 0.26
## Apache

name 	 Pd 	 Pf 	 G
luce 	 0.91 	 0.65 	 0.75
log4 	 0.83 	 0.55 	 0.66
xala 	 0.68 	 0.53 	 0.60
xerc* 	 0.78 	 0.46 	 0.58
poi* 	 0.80 	 0.38 	 0.51
came* 	 0.81 	 0.34 	 0.48
velo 	 0.36 	 0.51 	 0.42
ivy 	 0.57 	 0.24 	 0.34
jedi 	 0.13 	 0.02 	 0.04
ant 	 0.04 	 0.01 	 0.02
## Safe

name 	 Pd 	 Pf 	 G
xala 	 0.91 	 0.82 	 0.86
luce 	 0.86 	 0.62 	 0.72
xerc 	 0.86 	 0.56 	 0.68
poi 	 0.82 	 0.56 	 0.66
velo 	 0.59 	 0.68 	 0.63
came* 	 0.77 	 0.41 	 0.54
log4* 	 0.82 	 0.38 	 0.52
jedi* 	 0.64 	 0.35 	 0.45
ivy* 	 0.68 	 0.24 	 0.35
ant* 	 0.64 	 0.24 	 0.34
## Zxing

name 	 Pd 	 Pf 	 G
velo 	 0.99 	 0.90 	 0.94
log4 	 0.81 	 0.79 	 0.80
xala 	 0.86 	 0.72 	 0.78
poi 	 0.81 	 0.66 	 0.73
luce 	 0.77 	 0.51 	 0.62
xerc 	 0.64 	 0.59 	 0.61
came* 	 0.67 	 0.41 	 0.51
ivy 	 0.34 	 0.16 	 0.22
ant 	 0.11 	 0.04 	 0.06
jedi 	 0.02 	 0.01 	 0.01
## Apache

name 	 Pd 	 Pf 	 G
jm * 	 0.67 	 0.39 	 0.49
mc  	 0.14 	 0.24 	 0.18
cm  	 0.42 	 0.10 	 0.17
kc  	 0.07 	 0.05 	 0.06
mw  	 0.00 	 0.00 	 0.00
## Safe

name 	 Pd 	 Pf 	 G
jm * 	 0.86 	 0.35 	 0.50
mc  	 0.32 	 0.15 	 0.20
kc  	 0.00 	 0.00 	 0.00
mw  	 0.14 	 0.00 	 0.00
cm  	 0.05 	 0.00 	 0.00
## Zxing

name 	 Pd 	 Pf 	 G
jm  	 0.58 	 0.38 	 0.46
cm  	 0.08 	 0.07 	 0.08
mc  	 0.02 	 0.08 	 0.03
kc  	 0.02 	 0.06 	 0.03
mw  	 0.01 	 0.00 	 0.01
## JDT

name 	 Pd 	 Pf 	 G
jm  	 0.75 	 0.66 	 0.70
kc  	 0.20 	 0.04 	 0.07
mc  	 0.21 	 0.02 	 0.04
cm  	 0.02 	 0.01 	 0.01
mw  	 0.00 	 0.00 	 0.00
## PDE

name 	 Pd 	 Pf 	 G
jm  	 0.43 	 0.32 	 0.37
kc  	 0.06 	 0.03 	 0.04
mc  	 0.10 	 0.01 	 0.02
cm  	 0.00 	 0.01 	 0.01
mw  	 0.00 	 0.00 	 0.00
## EQ

name 	 Pd 	 Pf 	 G
jm * 	 0.69 	 0.37 	 0.48
kc  	 0.48 	 0.15 	 0.23
cm  	 0.04 	 0.01 	 0.01
mc  	 0.01 	 0.01 	 0.01
mw  	 0.02 	 0.00 	 0.00
## LC

name 	 Pd 	 Pf 	 G
jm * 	 0.73 	 0.39 	 0.51
mc  	 0.03 	 0.03 	 0.03
kc  	 0.05 	 0.01 	 0.01
mw  	 0.02 	 0.00 	 0.00
cm  	 0.00 	 0.00 	 0.00
## ML

name 	 Pd 	 Pf 	 G
jm  	 0.20 	 0.10 	 0.13
cm  	 0.02 	 0.01 	 0.01
kc  	 0.01 	 0.00 	 0.00
mc  	 0.02 	 0.00 	 0.00
mw  	 0.00 	 0.00 	 0.00
## JDT

name 	 Pd 	 Pf 	 G
Safe 	 0.36 	 0.20 	 0.26
Apac 	 0.07 	 0.02 	 0.03
Zxin 	 0.10 	 0.01 	 0.01
## PDE

name 	 Pd 	 Pf 	 G
Safe 	 0.47 	 0.30 	 0.37
Apac 	 0.29 	 0.14 	 0.19
Zxin 	 0.03 	 0.01 	 0.01
## EQ

name 	 Pd 	 Pf 	 G
Apac 	 0.16 	 0.18 	 0.17
Safe 	 0.21 	 0.04 	 0.06
Zxin 	 0.07 	 0.04 	 0.05
## LC

name 	 Pd 	 Pf 	 G
Apac 	 0.34 	 0.16 	 0.22
Zxin 	 0.08 	 0.02 	 0.04
Safe 	 0.08 	 0.02 	 0.03
## ML

name 	 Pd 	 Pf 	 G
Safe 	 0.25 	 0.18 	 0.21
Zxin 	 0.27 	 0.17 	 0.21
Apac 	 0.06 	 0.04 	 0.05
## ant

name 	 Pd 	 Pf 	 G
LC * 	 0.67 	 0.22 	 0.33
EQ  	 0.54 	 0.22 	 0.32
PDE 	 0.21 	 0.37 	 0.27
JDT 	 0.32 	 0.08 	 0.13
ML  	 0.09 	 0.01 	 0.02
## xerces

name 	 Pd 	 Pf 	 G
PDE 	 0.67 	 0.74 	 0.71
LC  	 0.22 	 0.10 	 0.14
JDT 	 0.13 	 0.10 	 0.11
EQ  	 0.12 	 0.07 	 0.09
ML  	 0.04 	 0.03 	 0.04
## xalan

name 	 Pd 	 Pf 	 G
PDE 	 0.70 	 0.67 	 0.69
JDT 	 0.73 	 0.57 	 0.64
EQ  	 0.55 	 0.49 	 0.52
LC  	 0.25 	 0.09 	 0.13
ML  	 0.04 	 0.01 	 0.02
## camel

name 	 Pd 	 Pf 	 G
EQ  	 0.57 	 0.42 	 0.48
PDE 	 0.27 	 0.20 	 0.23
ML  	 0.10 	 0.06 	 0.07
LC  	 0.13 	 0.04 	 0.06
JDT 	 0.05 	 0.01 	 0.01
## log4j

name 	 Pd 	 Pf 	 G
EQ * 	 0.62 	 0.48 	 0.54
LC  	 0.50 	 0.22 	 0.31
PDE 	 0.13 	 0.15 	 0.14
JDT 	 0.25 	 0.10 	 0.14
ML  	 0.02 	 0.00 	 0.00
## lucene

name 	 Pd 	 Pf 	 G
JDT 	 0.40 	 0.14 	 0.20
PDE 	 0.13 	 0.20 	 0.16
LC  	 0.18 	 0.05 	 0.08
EQ  	 0.17 	 0.05 	 0.08
ML  	 0.08 	 0.03 	 0.05
## jedit

name 	 Pd 	 Pf 	 G
EQ  	 0.60 	 0.34 	 0.43
JDT 	 0.53 	 0.17 	 0.25
PDE 	 0.24 	 0.13 	 0.17
ML  	 0.17 	 0.11 	 0.13
LC  	 0.33 	 0.08 	 0.13
## poi

name 	 Pd 	 Pf 	 G
PDE 	 0.21 	 0.25 	 0.23
EQ  	 0.14 	 0.15 	 0.15
JDT 	 0.06 	 0.03 	 0.04
ML  	 0.06 	 0.02 	 0.03
LC  	 0.02 	 0.01 	 0.01
## velocity

name 	 Pd 	 Pf 	 G
EQ  	 0.49 	 0.41 	 0.45
PDE 	 0.14 	 0.16 	 0.15
ML  	 0.11 	 0.09 	 0.10
JDT 	 0.14 	 0.07 	 0.09
LC  	 0.07 	 0.05 	 0.06
## ivy

name 	 Pd 	 Pf 	 G
EQ  	 0.93 	 0.73 	 0.82
PDE 	 0.29 	 0.43 	 0.34
LC  	 0.42 	 0.15 	 0.23
ML  	 0.11 	 0.04 	 0.06
JDT 	 0.18 	 0.03 	 0.05
## ant

name 	 Pd 	 Pf 	 G
jm * 	 0.66 	 0.30 	 0.41
kc  	 0.44 	 0.18 	 0.26
mc  	 0.09 	 0.02 	 0.04
mw  	 0.02 	 0.00 	 0.00
cm  	 0.00 	 0.00 	 0.00
## xerces

name 	 Pd 	 Pf 	 G
jm  	 0.62 	 0.52 	 0.57
kc  	 0.18 	 0.15 	 0.16
mc  	 0.08 	 0.04 	 0.05
cm  	 0.02 	 0.00 	 0.01
mw  	 0.00 	 0.00 	 0.00
## xalan

name 	 Pd 	 Pf 	 G
jm  	 0.33 	 0.24 	 0.28
mc  	 0.02 	 0.00 	 0.00
mw  	 0.01 	 0.00 	 0.00
kc  	 0.00 	 0.00 	 0.00
cm  	 0.00 	 0.00 	 0.00
## camel

name 	 Pd 	 Pf 	 G
kc  	 0.31 	 0.23 	 0.27
jm  	 0.30 	 0.19 	 0.23
cm  	 0.02 	 0.01 	 0.01
mc  	 0.01 	 0.00 	 0.01
mw  	 0.00 	 0.00 	 0.00
## log4j

name 	 Pd 	 Pf 	 G
jm  	 0.50 	 0.33 	 0.40
mc  	 0.11 	 0.04 	 0.06
cm  	 0.09 	 0.03 	 0.05
mw  	 0.05 	 0.04 	 0.04
kc  	 0.07 	 0.01 	 0.02
## lucene

name 	 Pd 	 Pf 	 G
mc  	 0.19 	 0.15 	 0.17
jm  	 0.21 	 0.07 	 0.11
kc  	 0.02 	 0.01 	 0.01
cm  	 0.01 	 0.00 	 0.00
mw  	 0.00 	 0.00 	 0.00
## jedit

name 	 Pd 	 Pf 	 G
jm  	 0.47 	 0.14 	 0.22
kc  	 0.02 	 0.01 	 0.01
cm  	 0.04 	 0.01 	 0.01
mc  	 0.02 	 0.00 	 0.00
mw  	 0.00 	 0.00 	 0.00
## poi

name 	 Pd 	 Pf 	 G
jm  	 0.37 	 0.20 	 0.26
mc  	 0.12 	 0.06 	 0.08
kc  	 0.08 	 0.02 	 0.03
mw  	 0.01 	 0.00 	 0.00
cm  	 0.01 	 0.00 	 0.00
## velocity

name 	 Pd 	 Pf 	 G
jm  	 0.49 	 0.35 	 0.41
mc  	 0.45 	 0.36 	 0.40
kc  	 0.32 	 0.19 	 0.24
mw  	 0.01 	 0.00 	 0.00
cm  	 0.00 	 0.00 	 0.00
## ivy

name 	 Pd 	 Pf 	 G
kc  	 0.42 	 0.34 	 0.38
mc  	 0.42 	 0.28 	 0.33
jm  	 0.39 	 0.17 	 0.24
cm  	 0.03 	 0.00 	 0.00
mw  	 0.01 	 0.00 	 0.00
## ant

name 	 Pd 	 Pf 	 G
Safe 	 0.49 	 0.26 	 0.34
Zxin 	 0.24 	 0.37 	 0.29
Apac 	 0.01 	 0.01 	 0.01
## xerces

name 	 Pd 	 Pf 	 G
Safe 	 0.38 	 0.38 	 0.38
Zxin 	 0.33 	 0.29 	 0.31
Apac 	 0.17 	 0.11 	 0.14
## xalan

name 	 Pd 	 Pf 	 G
Apac 	 0.22 	 0.20 	 0.21
Zxin 	 0.21 	 0.20 	 0.21
Safe 	 0.13 	 0.06 	 0.08
## camel

name 	 Pd 	 Pf 	 G
Apac 	 0.30 	 0.29 	 0.29
Zxin 	 0.06 	 0.07 	 0.07
Safe 	 0.02 	 0.01 	 0.01
## log4j

name 	 Pd 	 Pf 	 G
Zxin 	 0.08 	 0.07 	 0.08
Apac 	 0.04 	 0.10 	 0.06
Safe 	 0.02 	 0.01 	 0.01
## lucene

name 	 Pd 	 Pf 	 G
Zxin 	 0.22 	 0.09 	 0.13
Apac 	 0.03 	 0.01 	 0.02
Safe 	 0.04 	 0.00 	 0.00
## jedit

name 	 Pd 	 Pf 	 G
Apac 	 0.36 	 0.15 	 0.21
Safe 	 0.02 	 0.01 	 0.01
Zxin 	 0.00 	 0.00 	 0.00
## poi

name 	 Pd 	 Pf 	 G
Zxin 	 0.12 	 0.12 	 0.12
Apac 	 0.11 	 0.04 	 0.06
Safe 	 0.04 	 0.07 	 0.05
## velocity

name 	 Pd 	 Pf 	 G
Safe 	 0.23 	 0.17 	 0.19
Apac 	 0.13 	 0.08 	 0.10
Zxin 	 0.01 	 0.01 	 0.01
## ivy

name 	 Pd 	 Pf 	 G
Apac 	 0.13 	 0.09 	 0.10
Safe 	 0.13 	 0.07 	 0.10
Zxin 	 0.09 	 0.06 	 0.08
## kc

name 	 Pd 	 Pf 	 G
EQ  	 0.78 	 0.66 	 0.72
JDT 	 0.56 	 0.39 	 0.46
LC  	 0.56 	 0.24 	 0.33
PDE 	 0.42 	 0.18 	 0.25
ML  	 0.06 	 0.01 	 0.02
## jm

name 	 Pd 	 Pf 	 G
PDE 	 0.04 	 0.02 	 0.03
EQ  	 0.03 	 0.00 	 0.01
ML  	 0.01 	 0.00 	 0.01
LC  	 0.01 	 0.00 	 0.00
JDT 	 0.01 	 0.00 	 0.00
## mw

name 	 Pd 	 Pf 	 G
EQ  	 0.96 	 0.89 	 0.92
JDT 	 0.89 	 0.68 	 0.77
PDE* 	 0.67 	 0.44 	 0.53
LC * 	 0.70 	 0.37 	 0.49
ML  	 0.59 	 0.24 	 0.35
## cm

name 	 Pd 	 Pf 	 G
PDE 	 0.79 	 0.65 	 0.71
JDT 	 0.36 	 0.18 	 0.24
LC  	 0.31 	 0.13 	 0.19
EQ  	 0.33 	 0.10 	 0.15
ML  	 0.21 	 0.07 	 0.10
## mc

name 	 Pd 	 Pf 	 G
PDE 	 0.75 	 0.75 	 0.75
JDT 	 0.78 	 0.60 	 0.68
EQ  	 0.58 	 0.41 	 0.48
LC * 	 0.61 	 0.29 	 0.40
ML  	 0.53 	 0.29 	 0.38
## kc

name 	 Pd 	 Pf 	 G
velo 	 0.97 	 0.97 	 0.97
came 	 1.00 	 0.84 	 0.91
log4 	 0.97 	 0.84 	 0.90
xala 	 0.89 	 0.73 	 0.80
luce 	 0.86 	 0.69 	 0.77
xerc 	 0.78 	 0.71 	 0.74
poi 	 0.67 	 0.58 	 0.62
jedi 	 0.31 	 0.14 	 0.20
ivy 	 0.33 	 0.11 	 0.17
ant 	 0.19 	 0.14 	 0.16
## jm

name 	 Pd 	 Pf 	 G
velo 	 0.84 	 0.68 	 0.75
came* 	 0.71 	 0.48 	 0.57
xerc 	 0.43 	 0.62 	 0.51
log4 	 0.36 	 0.32 	 0.34
poi 	 0.47 	 0.25 	 0.32
luce 	 0.37 	 0.16 	 0.22
xala 	 0.23 	 0.17 	 0.19
ivy 	 0.00 	 0.00 	 0.00
ant 	 0.00 	 0.00 	 0.00
jedi 	 0.00 	 0.00 	 0.00
## mw

name 	 Pd 	 Pf 	 G
log4 	 1.00 	 0.97 	 0.98
velo 	 0.96 	 0.94 	 0.95
poi 	 1.00 	 0.90 	 0.94
luce 	 0.89 	 0.85 	 0.87
came 	 0.89 	 0.81 	 0.85
xerc 	 0.89 	 0.70 	 0.79
xala 	 0.85 	 0.67 	 0.75
ant* 	 0.74 	 0.34 	 0.46
jedi 	 0.41 	 0.41 	 0.41
ivy 	 0.44 	 0.19 	 0.27
## cm

name 	 Pd 	 Pf 	 G
log4 	 0.95 	 0.87 	 0.91
xala 	 0.93 	 0.81 	 0.86
velo 	 0.93 	 0.73 	 0.82
poi 	 0.86 	 0.63 	 0.73
luce* 	 0.81 	 0.42 	 0.55
xerc* 	 0.64 	 0.42 	 0.51
came 	 0.45 	 0.16 	 0.23
jedi 	 0.14 	 0.05 	 0.08
ant 	 0.07 	 0.03 	 0.05
ivy 	 0.10 	 0.03 	 0.04
## mc

name 	 Pd 	 Pf 	 G
log4 	 0.97 	 0.91 	 0.94
poi 	 0.97 	 0.90 	 0.93
luce 	 0.89 	 0.74 	 0.81
velo 	 0.78 	 0.83 	 0.80
xala 	 0.89 	 0.66 	 0.76
xerc 	 0.78 	 0.60 	 0.67
came 	 0.56 	 0.37 	 0.44
ivy 	 0.39 	 0.15 	 0.22
ant 	 0.11 	 0.04 	 0.06
jedi 	 0.17 	 0.03 	 0.04
## kc

name 	 Pd 	 Pf 	 G
Apac 	 0.47 	 0.31 	 0.38
Zxin 	 0.36 	 0.37 	 0.37
Safe 	 0.42 	 0.22 	 0.29
## jm

name 	 Pd 	 Pf 	 G
Apac 	 0.02 	 0.00 	 0.00
Zxin 	 0.00 	 0.00 	 0.00
Safe 	 0.01 	 0.00 	 0.00
## mw

name 	 Pd 	 Pf 	 G
Safe 	 0.52 	 0.30 	 0.38
Apac 	 0.04 	 0.09 	 0.05
Zxin 	 0.00 	 0.00 	 0.00
## cm

name 	 Pd 	 Pf 	 G
Zxin 	 0.29 	 0.19 	 0.23
Safe 	 0.07 	 0.06 	 0.06
Apac 	 0.10 	 0.04 	 0.05
## mc

name 	 Pd 	 Pf 	 G
Safe 	 0.36 	 0.16 	 0.22
Zxin 	 0.03 	 0.11 	 0.04
Apac 	 0.08 	 0.01 	 0.01

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions