Upload folder using huggingface_hub
Browse files- models/correlation_weights.json +57 -54
- models/features.json +5 -4
- models/model_metadata.json +22 -21
- models/rf_model.pkl +2 -2
models/correlation_weights.json
CHANGED
|
@@ -1,38 +1,41 @@
|
|
| 1 |
{
|
| 2 |
"weights": {
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"
|
| 8 |
-
"
|
| 9 |
-
"
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
"
|
| 18 |
-
"
|
| 19 |
-
"
|
| 20 |
-
"
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
-
"
|
| 24 |
-
"pull_requests_open": 0.
|
| 25 |
-
"pull_requests_total": -0.
|
| 26 |
-
"readme_length": -0.
|
| 27 |
-
"releases_count": -0.
|
| 28 |
-
"
|
| 29 |
-
"
|
|
|
|
| 30 |
},
|
| 31 |
"feat_min": {
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
-
"
|
|
|
|
|
|
|
| 36 |
"forks": 0.0,
|
| 37 |
"has_ci": 0.0,
|
| 38 |
"has_contributing": 0.0,
|
|
@@ -44,25 +47,26 @@
|
|
| 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":
|
| 56 |
"releases_count": 0.0,
|
| 57 |
-
"
|
|
|
|
| 58 |
"watchers": 0.0
|
| 59 |
},
|
| 60 |
"feat_max": {
|
| 61 |
-
"
|
| 62 |
-
"
|
| 63 |
-
"
|
| 64 |
-
"
|
| 65 |
-
"
|
|
|
|
|
|
|
| 66 |
"has_ci": 1.0,
|
| 67 |
"has_contributing": 1.0,
|
| 68 |
"has_docker": 1.0,
|
|
@@ -73,20 +77,19 @@
|
|
| 73 |
"has_tests": 1.0,
|
| 74 |
"is_archived": 1.0,
|
| 75 |
"is_fork": 1.0,
|
| 76 |
-
"
|
| 77 |
-
"
|
| 78 |
-
"
|
| 79 |
-
"
|
| 80 |
-
"
|
| 81 |
-
"
|
| 82 |
-
"
|
| 83 |
-
"
|
| 84 |
-
"
|
| 85 |
-
"
|
| 86 |
-
"
|
| 87 |
-
"watchers": 9.0
|
| 88 |
},
|
| 89 |
"threshold": 0.5,
|
| 90 |
-
"score_min": -
|
| 91 |
-
"score_max": 0.
|
| 92 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"weights": {
|
| 3 |
+
"active_days_default_branch": -0.32000895362757004,
|
| 4 |
+
"commit_count_default_branch": -0.08915763336533962,
|
| 5 |
+
"commit_log": -0.1356281275904596,
|
| 6 |
+
"contributors_count_log": -0.11773324509358987,
|
| 7 |
+
"contributors_total": -0.05306211869899402,
|
| 8 |
+
"files_total_count": -0.03649061319955837,
|
| 9 |
+
"forks": -0.048876920634545414,
|
| 10 |
+
"has_ci": -0.389752008144982,
|
| 11 |
+
"has_contributing": -0.2772269139097759,
|
| 12 |
+
"has_docker": -0.13561136756812864,
|
| 13 |
+
"has_docs": -0.22405221093174602,
|
| 14 |
+
"has_license_file": -0.3602886455902288,
|
| 15 |
+
"has_notebooks": 0.08116163434258174,
|
| 16 |
+
"has_readme_file": -0.05868432156629015,
|
| 17 |
+
"has_tests": -0.2011687696702064,
|
| 18 |
+
"is_archived": 0.07589036740332085,
|
| 19 |
+
"is_fork": -0.36801625550098965,
|
| 20 |
+
"issues_open": -0.1105865341324039,
|
| 21 |
+
"issues_total": -0.11037163974501461,
|
| 22 |
+
"n_concepts": 0.004025758184637505,
|
| 23 |
+
"pull_requests_closed": -0.18905873711091264,
|
| 24 |
+
"pull_requests_open": -0.13868525043069999,
|
| 25 |
+
"pull_requests_total": -0.16345730456087648,
|
| 26 |
+
"readme_length": -0.03578768272897963,
|
| 27 |
+
"releases_count": -0.17300799502634984,
|
| 28 |
+
"repo_age_days": -0.23066066018688383,
|
| 29 |
+
"stars": -0.032093960817002026,
|
| 30 |
+
"watchers": -0.033079952897285304
|
| 31 |
},
|
| 32 |
"feat_min": {
|
| 33 |
+
"active_days_default_branch": 0.0,
|
| 34 |
+
"commit_count_default_branch": 0.0,
|
| 35 |
+
"commit_log": 0.0,
|
| 36 |
+
"contributors_count_log": 0.0,
|
| 37 |
+
"contributors_total": 0.0,
|
| 38 |
+
"files_total_count": 0.0,
|
| 39 |
"forks": 0.0,
|
| 40 |
"has_ci": 0.0,
|
| 41 |
"has_contributing": 0.0,
|
|
|
|
| 47 |
"has_tests": 0.0,
|
| 48 |
"is_archived": 0.0,
|
| 49 |
"is_fork": 0.0,
|
|
|
|
| 50 |
"issues_open": 0.0,
|
| 51 |
"issues_total": 0.0,
|
| 52 |
"n_concepts": 0.0,
|
| 53 |
"pull_requests_closed": 0.0,
|
|
|
|
| 54 |
"pull_requests_open": 0.0,
|
| 55 |
"pull_requests_total": 0.0,
|
| 56 |
+
"readme_length": 0.0,
|
| 57 |
"releases_count": 0.0,
|
| 58 |
+
"repo_age_days": -1597.0,
|
| 59 |
+
"stars": 0.0,
|
| 60 |
"watchers": 0.0
|
| 61 |
},
|
| 62 |
"feat_max": {
|
| 63 |
+
"active_days_default_branch": 5689.0,
|
| 64 |
+
"commit_count_default_branch": 85657.0,
|
| 65 |
+
"commit_log": 11.358117902776314,
|
| 66 |
+
"contributors_count_log": 9.886137914201015,
|
| 67 |
+
"contributors_total": 19655.0,
|
| 68 |
+
"files_total_count": 36225.0,
|
| 69 |
+
"forks": 9.0,
|
| 70 |
"has_ci": 1.0,
|
| 71 |
"has_contributing": 1.0,
|
| 72 |
"has_docker": 1.0,
|
|
|
|
| 77 |
"has_tests": 1.0,
|
| 78 |
"is_archived": 1.0,
|
| 79 |
"is_fork": 1.0,
|
| 80 |
+
"issues_open": 10.0,
|
| 81 |
+
"issues_total": 79.0,
|
| 82 |
+
"n_concepts": 245.0,
|
| 83 |
+
"pull_requests_closed": 10.0,
|
| 84 |
+
"pull_requests_open": 23.0,
|
| 85 |
+
"pull_requests_total": 130.0,
|
| 86 |
+
"readme_length": 192458.0,
|
| 87 |
+
"releases_count": 16.0,
|
| 88 |
+
"repo_age_days": 2539.0,
|
| 89 |
+
"stars": 21.0,
|
| 90 |
+
"watchers": 4.0
|
|
|
|
| 91 |
},
|
| 92 |
"threshold": 0.5,
|
| 93 |
+
"score_min": -2.6250671071176233,
|
| 94 |
+
"score_max": -0.0325927600556277
|
| 95 |
}
|
models/features.json
CHANGED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
[
|
|
|
|
|
|
|
| 2 |
"commit_log",
|
|
|
|
| 3 |
"contributors_total",
|
| 4 |
-
"dirs_total_count",
|
| 5 |
"files_total_count",
|
| 6 |
"forks",
|
| 7 |
"has_ci",
|
|
@@ -14,16 +16,15 @@
|
|
| 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 |
-
"
|
|
|
|
| 28 |
"watchers"
|
| 29 |
]
|
|
|
|
| 1 |
[
|
| 2 |
+
"active_days_default_branch",
|
| 3 |
+
"commit_count_default_branch",
|
| 4 |
"commit_log",
|
| 5 |
+
"contributors_count_log",
|
| 6 |
"contributors_total",
|
|
|
|
| 7 |
"files_total_count",
|
| 8 |
"forks",
|
| 9 |
"has_ci",
|
|
|
|
| 16 |
"has_tests",
|
| 17 |
"is_archived",
|
| 18 |
"is_fork",
|
|
|
|
| 19 |
"issues_open",
|
| 20 |
"issues_total",
|
| 21 |
"n_concepts",
|
| 22 |
"pull_requests_closed",
|
|
|
|
| 23 |
"pull_requests_open",
|
| 24 |
"pull_requests_total",
|
| 25 |
"readme_length",
|
| 26 |
"releases_count",
|
| 27 |
+
"repo_age_days",
|
| 28 |
+
"stars",
|
| 29 |
"watchers"
|
| 30 |
]
|
models/model_metadata.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
| 1 |
{
|
| 2 |
-
"data_path": "/
|
| 3 |
-
"total_repos":
|
| 4 |
-
"valid_repos":
|
| 5 |
-
"n_features":
|
| 6 |
"features": [
|
|
|
|
|
|
|
| 7 |
"commit_log",
|
|
|
|
| 8 |
"contributors_total",
|
| 9 |
-
"dirs_total_count",
|
| 10 |
"files_total_count",
|
| 11 |
"forks",
|
| 12 |
"has_ci",
|
|
@@ -19,32 +21,31 @@
|
|
| 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 |
-
"
|
|
|
|
| 33 |
"watchers"
|
| 34 |
],
|
| 35 |
-
"cv_accuracy": 0.
|
| 36 |
"top_importances": {
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
"
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
"
|
| 43 |
-
"
|
| 44 |
-
"
|
| 45 |
-
"
|
| 46 |
-
"
|
| 47 |
},
|
| 48 |
-
"correlation_weights_path": "/
|
| 49 |
-
"rf_model_path": "/
|
| 50 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"data_path": "/Users/eisha/Documents/hackathon_analysis/data/repo_metadata_with_predictions.csv",
|
| 3 |
+
"total_repos": 487,
|
| 4 |
+
"valid_repos": 458,
|
| 5 |
+
"n_features": 28,
|
| 6 |
"features": [
|
| 7 |
+
"active_days_default_branch",
|
| 8 |
+
"commit_count_default_branch",
|
| 9 |
"commit_log",
|
| 10 |
+
"contributors_count_log",
|
| 11 |
"contributors_total",
|
|
|
|
| 12 |
"files_total_count",
|
| 13 |
"forks",
|
| 14 |
"has_ci",
|
|
|
|
| 21 |
"has_tests",
|
| 22 |
"is_archived",
|
| 23 |
"is_fork",
|
|
|
|
| 24 |
"issues_open",
|
| 25 |
"issues_total",
|
| 26 |
"n_concepts",
|
| 27 |
"pull_requests_closed",
|
|
|
|
| 28 |
"pull_requests_open",
|
| 29 |
"pull_requests_total",
|
| 30 |
"readme_length",
|
| 31 |
"releases_count",
|
| 32 |
+
"repo_age_days",
|
| 33 |
+
"stars",
|
| 34 |
"watchers"
|
| 35 |
],
|
| 36 |
+
"cv_accuracy": 0.869,
|
| 37 |
"top_importances": {
|
| 38 |
+
"active_days_default_branch": 0.2201,
|
| 39 |
+
"repo_age_days": 0.1512,
|
| 40 |
+
"is_fork": 0.1018,
|
| 41 |
+
"contributors_total": 0.0798,
|
| 42 |
+
"contributors_count_log": 0.072,
|
| 43 |
+
"has_ci": 0.0597,
|
| 44 |
+
"commit_log": 0.0571,
|
| 45 |
+
"commit_count_default_branch": 0.0551,
|
| 46 |
+
"files_total_count": 0.0448,
|
| 47 |
+
"readme_length": 0.0302
|
| 48 |
},
|
| 49 |
+
"correlation_weights_path": "/Users/eisha/Documents/hackathon_analysis/src/hackathon_analysis/models/correlation_weights.json",
|
| 50 |
+
"rf_model_path": "/Users/eisha/Documents/hackathon_analysis/src/hackathon_analysis/models/rf_model.pkl"
|
| 51 |
}
|
models/rf_model.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6071bd3ba61a3009a0b19e755ca0f5873f286ee3799bbaf16f9f2c769a8dfb2e
|
| 3 |
+
size 430371
|