Skip to content

jamesnhan/cs572-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

572 project

  1. prepare json files (already in data.tar.gz)
  2. download project
    • run extract-repo-url.py, it will generate repo.txt and star.txt
    • run download.sh against repo.txt
  3. run ground-all.sh against the folder containing project zip files. This will output ground raw output file.
  4. run parse-ground.py against the raw ground output file will output csv data file.

Result table

SVM with radial

Number of discretize categorylinearpolynomialradial basissigmoid
2
3
4
5
6
7
8
9
10
cateCjavajavascript
2
3
4
star rangeprecision
<500
500-1000
1000-1500
1500-2000
>2000
fold validationprecision
3
5
7
10
modelprecision
lm
SVM + linear
SVM + polynormial
SVM + radial basis
SVM + sigmoid
Decision Tree
languageprecision
C
java
javascript
shell
ruby

Tables

categoryaccuracy
20.83
30.71
40.61
50.54
60.47
70.42
80.38
90.35
100.32
categoryc.csvphp.csvjava.csvjavascript.csvshell.csvruby.csvpython.csv
20.920.930.840.560.950.880.83
30.850.870.70.390.920.780.74
40.790.820.610.310.870.690.63
50.760.760.520.220.820.630.56
60.720.710.470.170.80.580.51
70.670.670.420.150.770.530.46
80.630.630.360.150.740.490.42
90.60.590.330.110.710.460.39
100.570.570.30.10.690.440.35
categorylinearpolynomialradialsigmoid
20.820.820.830.8
30.710.690.710.67
40.610.580.610.58
50.540.490.540.5
60.470.430.470.45
70.420.360.430.4
80.380.330.380.36
90.350.290.350.33
100.320.260.320.29

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published