eishatirraazia19 commited on
Commit
7ee9dec
·
verified ·
1 Parent(s): 152b48a

Upload folder using huggingface_hub

Browse files
models/correlation_weights.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "weights": {
3
+ "commit_log": 0.1895884020450386,
4
+ "contributors_total": -0.02388895261301803,
5
+ "dirs_total_count": 0.12741684575311418,
6
+ "files_total_count": -0.12831061433803512,
7
+ "forks": 0.2597538334261471,
8
+ "has_ci": -0.12267586352461855,
9
+ "has_contributing": -0.029088091351198206,
10
+ "has_docker": 0.14808236823486554,
11
+ "has_docs": 0.0018808836576263725,
12
+ "has_license_file": 0.02262042082969958,
13
+ "has_notebooks": 0.052037781194329495,
14
+ "has_readme_file": -0.2820280161442261,
15
+ "has_tests": -0.07386544727257092,
16
+ "is_archived": 0.1302640612684094,
17
+ "is_fork": 0.12503908082008885,
18
+ "issues_closed": 0.04433033286911523,
19
+ "issues_open": -0.05649914022241052,
20
+ "issues_total": 0.03231550773677513,
21
+ "n_concepts": 0.012027016949546885,
22
+ "pull_requests_closed": -0.06994412136387343,
23
+ "pull_requests_merged": 0.04355602218520612,
24
+ "pull_requests_open": 0.11827712454610317,
25
+ "pull_requests_total": -0.13645944446107097,
26
+ "readme_length": -0.17267677890525737,
27
+ "releases_count": -0.022457681875842374,
28
+ "stars_log": -0.1186522611239424,
29
+ "watchers": 0.02796763438753313
30
+ },
31
+ "feat_min": {
32
+ "commit_log": 0.6931471805599453,
33
+ "contributors_total": 1.0,
34
+ "dirs_total_count": 1.0,
35
+ "files_total_count": 5.0,
36
+ "forks": 0.0,
37
+ "has_ci": 0.0,
38
+ "has_contributing": 0.0,
39
+ "has_docker": 0.0,
40
+ "has_docs": 0.0,
41
+ "has_license_file": 0.0,
42
+ "has_notebooks": 0.0,
43
+ "has_readme_file": 0.0,
44
+ "has_tests": 0.0,
45
+ "is_archived": 0.0,
46
+ "is_fork": 0.0,
47
+ "issues_closed": 0.0,
48
+ "issues_open": 0.0,
49
+ "issues_total": 0.0,
50
+ "n_concepts": 0.0,
51
+ "pull_requests_closed": 0.0,
52
+ "pull_requests_merged": 0.0,
53
+ "pull_requests_open": 0.0,
54
+ "pull_requests_total": 0.0,
55
+ "readme_length": 9.0,
56
+ "releases_count": 0.0,
57
+ "stars_log": 0.0,
58
+ "watchers": 0.0
59
+ },
60
+ "feat_max": {
61
+ "commit_log": 5.293304824724492,
62
+ "contributors_total": 9.0,
63
+ "dirs_total_count": 29.0,
64
+ "files_total_count": 99.0,
65
+ "forks": 19.0,
66
+ "has_ci": 1.0,
67
+ "has_contributing": 1.0,
68
+ "has_docker": 1.0,
69
+ "has_docs": 1.0,
70
+ "has_license_file": 1.0,
71
+ "has_notebooks": 1.0,
72
+ "has_readme_file": 1.0,
73
+ "has_tests": 1.0,
74
+ "is_archived": 1.0,
75
+ "is_fork": 1.0,
76
+ "issues_closed": 14.0,
77
+ "issues_open": 4.0,
78
+ "issues_total": 19.0,
79
+ "n_concepts": 49.0,
80
+ "pull_requests_closed": 4.0,
81
+ "pull_requests_merged": 4.0,
82
+ "pull_requests_open": 2.0,
83
+ "pull_requests_total": 9.0,
84
+ "readme_length": 4976.0,
85
+ "releases_count": 4.0,
86
+ "stars_log": 3.912023005428146,
87
+ "watchers": 9.0
88
+ },
89
+ "threshold": 0.5,
90
+ "score_min": -0.542161003848686,
91
+ "score_max": 0.6793365509477417
92
+ }
models/features.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "commit_log",
3
+ "contributors_total",
4
+ "dirs_total_count",
5
+ "files_total_count",
6
+ "forks",
7
+ "has_ci",
8
+ "has_contributing",
9
+ "has_docker",
10
+ "has_docs",
11
+ "has_license_file",
12
+ "has_notebooks",
13
+ "has_readme_file",
14
+ "has_tests",
15
+ "is_archived",
16
+ "is_fork",
17
+ "issues_closed",
18
+ "issues_open",
19
+ "issues_total",
20
+ "n_concepts",
21
+ "pull_requests_closed",
22
+ "pull_requests_merged",
23
+ "pull_requests_open",
24
+ "pull_requests_total",
25
+ "readme_length",
26
+ "releases_count",
27
+ "stars_log",
28
+ "watchers"
29
+ ]
models/model_metadata.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "/private/var/folders/b1/02zlb8yx3m5_j30bfvwsxdr40000gn/T/pytest-of-eisha/pytest-0/test_local_file_exists_returns0/train.csv",
3
+ "total_repos": 80,
4
+ "valid_repos": 80,
5
+ "n_features": 27,
6
+ "features": [
7
+ "commit_log",
8
+ "contributors_total",
9
+ "dirs_total_count",
10
+ "files_total_count",
11
+ "forks",
12
+ "has_ci",
13
+ "has_contributing",
14
+ "has_docker",
15
+ "has_docs",
16
+ "has_license_file",
17
+ "has_notebooks",
18
+ "has_readme_file",
19
+ "has_tests",
20
+ "is_archived",
21
+ "is_fork",
22
+ "issues_closed",
23
+ "issues_open",
24
+ "issues_total",
25
+ "n_concepts",
26
+ "pull_requests_closed",
27
+ "pull_requests_merged",
28
+ "pull_requests_open",
29
+ "pull_requests_total",
30
+ "readme_length",
31
+ "releases_count",
32
+ "stars_log",
33
+ "watchers"
34
+ ],
35
+ "cv_accuracy": 0.55,
36
+ "top_importances": {
37
+ "forks": 0.0848,
38
+ "files_total_count": 0.0839,
39
+ "commit_log": 0.0738,
40
+ "readme_length": 0.072,
41
+ "issues_closed": 0.0557,
42
+ "stars_log": 0.055,
43
+ "pull_requests_merged": 0.0526,
44
+ "has_readme_file": 0.0507,
45
+ "contributors_total": 0.0504,
46
+ "issues_total": 0.0492
47
+ },
48
+ "correlation_weights_path": "/private/var/folders/b1/02zlb8yx3m5_j30bfvwsxdr40000gn/T/pytest-of-eisha/pytest-0/test_local_file_exists_returns0/models/correlation_weights.json",
49
+ "rf_model_path": "/private/var/folders/b1/02zlb8yx3m5_j30bfvwsxdr40000gn/T/pytest-of-eisha/pytest-0/test_local_file_exists_returns0/models/rf_model.pkl"
50
+ }
models/rf_model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c84e74e0576a1fd8de47171d80e69ae4b65bad7c1689db8f06a50ab34c5d72e
3
+ size 151148