Minee12 commited on
Commit
f727e31
·
verified ·
1 Parent(s): 33a412a

Model final + seluruh berkas artefak lengkap + inference.py + model card

Browse files
contoh_input.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "work_year": 2023,
4
+ "experience_level": "SE",
5
+ "employment_type": "FT",
6
+ "job_title": "Data Scientist",
7
+ "employee_residence": "US",
8
+ "remote_ratio": 100,
9
+ "company_location": "US",
10
+ "company_size": "M"
11
+ }
12
+ ]
feature_names.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a79c05c81cd40b77ddd2a70b2ed0d3fba6d2953830b999fff3729f4bc06b5041
3
+ size 7670
inference.py ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import joblib
3
+ import pandas as pd
4
+
5
+ BERKAS = ["model_final.joblib", "preprocessing_config.json"]
6
+
7
+
8
+ def muat_model(repo_id):
9
+ from huggingface_hub import hf_hub_download
10
+ p = {nama: hf_hub_download(repo_id=repo_id, filename=nama) for nama in BERKAS}
11
+ with open(p["preprocessing_config.json"]) as f:
12
+ config = json.load(f)
13
+ return {"model": joblib.load(p["model_final.joblib"]), "config": config}
14
+
15
+
16
+ def siapkan_fitur(data_mentah, bundel):
17
+ cfg = bundel["config"]
18
+ df = data_mentah.copy() if isinstance(data_mentah, pd.DataFrame) else pd.DataFrame(data_mentah)
19
+ kurang = [k for k in cfg["urutan_fitur_input"] if k not in df.columns]
20
+ if kurang:
21
+ raise ValueError("Kolom input berikut tidak ada: " + str(kurang))
22
+ df = df[cfg["urutan_fitur_input"]]
23
+ for kol, valid in cfg["kategori_valid"].items():
24
+ asing = set(df[kol].astype(str)) - set(valid)
25
+ if asing:
26
+ raise ValueError("Nilai " + str(sorted(asing)) + " pada kolom '" + kol + "' tidak dikenal model. Nilai valid: " + str(valid))
27
+ return df
28
+
29
+
30
+ def prediksi_gaji(data_mentah, bundel):
31
+ # Mengembalikan prediksi gaji tahunan (USD) untuk satu atau beberapa baris data mentah.
32
+ # Imputasi, encoding, dan scaling dilakukan otomatis oleh pipeline di dalam model.
33
+ return bundel["model"].predict(siapkan_fitur(data_mentah, bundel))
metadata.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36ad510eea24fc09237c0b3aadcd8b90095834139b34538059ef754ee8d32936
3
+ size 3503
model_columns.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "num__work_year",
3
+ "num__remote_ratio",
4
+ "cat__experience_level_EN",
5
+ "cat__experience_level_EX",
6
+ "cat__experience_level_MI",
7
+ "cat__experience_level_SE",
8
+ "cat__employment_type_CT",
9
+ "cat__employment_type_FL",
10
+ "cat__employment_type_FT",
11
+ "cat__employment_type_PT",
12
+ "cat__job_title_3D Computer Vision Researcher",
13
+ "cat__job_title_AI Developer",
14
+ "cat__job_title_AI Programmer",
15
+ "cat__job_title_AI Scientist",
16
+ "cat__job_title_Analytics Engineer",
17
+ "cat__job_title_Applied Data Scientist",
18
+ "cat__job_title_Applied Machine Learning Engineer",
19
+ "cat__job_title_Applied Machine Learning Scientist",
20
+ "cat__job_title_Applied Scientist",
21
+ "cat__job_title_Autonomous Vehicle Technician",
22
+ "cat__job_title_Azure Data Engineer",
23
+ "cat__job_title_BI Analyst",
24
+ "cat__job_title_BI Data Analyst",
25
+ "cat__job_title_BI Data Engineer",
26
+ "cat__job_title_BI Developer",
27
+ "cat__job_title_Big Data Architect",
28
+ "cat__job_title_Big Data Engineer",
29
+ "cat__job_title_Business Data Analyst",
30
+ "cat__job_title_Business Intelligence Engineer",
31
+ "cat__job_title_Cloud Data Architect",
32
+ "cat__job_title_Cloud Data Engineer",
33
+ "cat__job_title_Cloud Database Engineer",
34
+ "cat__job_title_Compliance Data Analyst",
35
+ "cat__job_title_Computer Vision Engineer",
36
+ "cat__job_title_Computer Vision Software Engineer",
37
+ "cat__job_title_Data Analyst",
38
+ "cat__job_title_Data Analytics Consultant",
39
+ "cat__job_title_Data Analytics Engineer",
40
+ "cat__job_title_Data Analytics Lead",
41
+ "cat__job_title_Data Analytics Manager",
42
+ "cat__job_title_Data Analytics Specialist",
43
+ "cat__job_title_Data Architect",
44
+ "cat__job_title_Data DevOps Engineer",
45
+ "cat__job_title_Data Engineer",
46
+ "cat__job_title_Data Infrastructure Engineer",
47
+ "cat__job_title_Data Lead",
48
+ "cat__job_title_Data Manager",
49
+ "cat__job_title_Data Modeler",
50
+ "cat__job_title_Data Operations Analyst",
51
+ "cat__job_title_Data Operations Engineer",
52
+ "cat__job_title_Data Quality Analyst",
53
+ "cat__job_title_Data Science Consultant",
54
+ "cat__job_title_Data Science Engineer",
55
+ "cat__job_title_Data Science Lead",
56
+ "cat__job_title_Data Science Manager",
57
+ "cat__job_title_Data Science Tech Lead",
58
+ "cat__job_title_Data Scientist",
59
+ "cat__job_title_Data Scientist Lead",
60
+ "cat__job_title_Data Specialist",
61
+ "cat__job_title_Deep Learning Engineer",
62
+ "cat__job_title_Deep Learning Researcher",
63
+ "cat__job_title_Director of Data Science",
64
+ "cat__job_title_ETL Developer",
65
+ "cat__job_title_ETL Engineer",
66
+ "cat__job_title_Financial Data Analyst",
67
+ "cat__job_title_Head of Data",
68
+ "cat__job_title_Head of Data Science",
69
+ "cat__job_title_Head of Machine Learning",
70
+ "cat__job_title_Insight Analyst",
71
+ "cat__job_title_Lead Data Analyst",
72
+ "cat__job_title_Lead Data Engineer",
73
+ "cat__job_title_Lead Data Scientist",
74
+ "cat__job_title_Lead Machine Learning Engineer",
75
+ "cat__job_title_ML Engineer",
76
+ "cat__job_title_MLOps Engineer",
77
+ "cat__job_title_Machine Learning Developer",
78
+ "cat__job_title_Machine Learning Engineer",
79
+ "cat__job_title_Machine Learning Infrastructure Engineer",
80
+ "cat__job_title_Machine Learning Manager",
81
+ "cat__job_title_Machine Learning Research Engineer",
82
+ "cat__job_title_Machine Learning Researcher",
83
+ "cat__job_title_Machine Learning Scientist",
84
+ "cat__job_title_Machine Learning Software Engineer",
85
+ "cat__job_title_Marketing Data Analyst",
86
+ "cat__job_title_Marketing Data Engineer",
87
+ "cat__job_title_NLP Engineer",
88
+ "cat__job_title_Principal Data Analyst",
89
+ "cat__job_title_Principal Data Engineer",
90
+ "cat__job_title_Principal Data Scientist",
91
+ "cat__job_title_Principal Machine Learning Engineer",
92
+ "cat__job_title_Product Data Analyst",
93
+ "cat__job_title_Product Data Scientist",
94
+ "cat__job_title_Research Engineer",
95
+ "cat__job_title_Research Scientist",
96
+ "cat__job_title_Software Data Engineer",
97
+ "cat__job_title_Staff Data Analyst",
98
+ "cat__employee_residence_AE",
99
+ "cat__employee_residence_AM",
100
+ "cat__employee_residence_AR",
101
+ "cat__employee_residence_AS",
102
+ "cat__employee_residence_AT",
103
+ "cat__employee_residence_AU",
104
+ "cat__employee_residence_BA",
105
+ "cat__employee_residence_BE",
106
+ "cat__employee_residence_BG",
107
+ "cat__employee_residence_BO",
108
+ "cat__employee_residence_BR",
109
+ "cat__employee_residence_CA",
110
+ "cat__employee_residence_CF",
111
+ "cat__employee_residence_CH",
112
+ "cat__employee_residence_CL",
113
+ "cat__employee_residence_CN",
114
+ "cat__employee_residence_CO",
115
+ "cat__employee_residence_CR",
116
+ "cat__employee_residence_CZ",
117
+ "cat__employee_residence_DE",
118
+ "cat__employee_residence_DK",
119
+ "cat__employee_residence_DO",
120
+ "cat__employee_residence_DZ",
121
+ "cat__employee_residence_EE",
122
+ "cat__employee_residence_EG",
123
+ "cat__employee_residence_ES",
124
+ "cat__employee_residence_FI",
125
+ "cat__employee_residence_FR",
126
+ "cat__employee_residence_GB",
127
+ "cat__employee_residence_GH",
128
+ "cat__employee_residence_GR",
129
+ "cat__employee_residence_HK",
130
+ "cat__employee_residence_HR",
131
+ "cat__employee_residence_HU",
132
+ "cat__employee_residence_ID",
133
+ "cat__employee_residence_IE",
134
+ "cat__employee_residence_IL",
135
+ "cat__employee_residence_IN",
136
+ "cat__employee_residence_IQ",
137
+ "cat__employee_residence_IR",
138
+ "cat__employee_residence_IT",
139
+ "cat__employee_residence_JE",
140
+ "cat__employee_residence_JP",
141
+ "cat__employee_residence_KE",
142
+ "cat__employee_residence_LT",
143
+ "cat__employee_residence_LU",
144
+ "cat__employee_residence_LV",
145
+ "cat__employee_residence_MA",
146
+ "cat__employee_residence_MD",
147
+ "cat__employee_residence_MK",
148
+ "cat__employee_residence_MT",
149
+ "cat__employee_residence_MX",
150
+ "cat__employee_residence_MY",
151
+ "cat__employee_residence_NG",
152
+ "cat__employee_residence_NL",
153
+ "cat__employee_residence_NZ",
154
+ "cat__employee_residence_PH",
155
+ "cat__employee_residence_PK",
156
+ "cat__employee_residence_PL",
157
+ "cat__employee_residence_PR",
158
+ "cat__employee_residence_PT",
159
+ "cat__employee_residence_RO",
160
+ "cat__employee_residence_RS",
161
+ "cat__employee_residence_RU",
162
+ "cat__employee_residence_SE",
163
+ "cat__employee_residence_SG",
164
+ "cat__employee_residence_SI",
165
+ "cat__employee_residence_SK",
166
+ "cat__employee_residence_TH",
167
+ "cat__employee_residence_TN",
168
+ "cat__employee_residence_TR",
169
+ "cat__employee_residence_UA",
170
+ "cat__employee_residence_US",
171
+ "cat__employee_residence_UZ",
172
+ "cat__company_location_AE",
173
+ "cat__company_location_AM",
174
+ "cat__company_location_AR",
175
+ "cat__company_location_AS",
176
+ "cat__company_location_AT",
177
+ "cat__company_location_AU",
178
+ "cat__company_location_BA",
179
+ "cat__company_location_BE",
180
+ "cat__company_location_BO",
181
+ "cat__company_location_BR",
182
+ "cat__company_location_BS",
183
+ "cat__company_location_CA",
184
+ "cat__company_location_CF",
185
+ "cat__company_location_CH",
186
+ "cat__company_location_CL",
187
+ "cat__company_location_CN",
188
+ "cat__company_location_CO",
189
+ "cat__company_location_CR",
190
+ "cat__company_location_CZ",
191
+ "cat__company_location_DE",
192
+ "cat__company_location_DK",
193
+ "cat__company_location_DZ",
194
+ "cat__company_location_EE",
195
+ "cat__company_location_EG",
196
+ "cat__company_location_ES",
197
+ "cat__company_location_FI",
198
+ "cat__company_location_FR",
199
+ "cat__company_location_GB",
200
+ "cat__company_location_GH",
201
+ "cat__company_location_GR",
202
+ "cat__company_location_HK",
203
+ "cat__company_location_HR",
204
+ "cat__company_location_HU",
205
+ "cat__company_location_ID",
206
+ "cat__company_location_IE",
207
+ "cat__company_location_IL",
208
+ "cat__company_location_IN",
209
+ "cat__company_location_IQ",
210
+ "cat__company_location_IR",
211
+ "cat__company_location_IT",
212
+ "cat__company_location_JP",
213
+ "cat__company_location_KE",
214
+ "cat__company_location_LT",
215
+ "cat__company_location_LU",
216
+ "cat__company_location_LV",
217
+ "cat__company_location_MA",
218
+ "cat__company_location_MD",
219
+ "cat__company_location_MK",
220
+ "cat__company_location_MT",
221
+ "cat__company_location_MX",
222
+ "cat__company_location_MY",
223
+ "cat__company_location_NG",
224
+ "cat__company_location_NL",
225
+ "cat__company_location_NZ",
226
+ "cat__company_location_PH",
227
+ "cat__company_location_PK",
228
+ "cat__company_location_PL",
229
+ "cat__company_location_PR",
230
+ "cat__company_location_PT",
231
+ "cat__company_location_RO",
232
+ "cat__company_location_RU",
233
+ "cat__company_location_SE",
234
+ "cat__company_location_SG",
235
+ "cat__company_location_SI",
236
+ "cat__company_location_SK",
237
+ "cat__company_location_TH",
238
+ "cat__company_location_TR",
239
+ "cat__company_location_UA",
240
+ "cat__company_location_US",
241
+ "cat__company_size_L",
242
+ "cat__company_size_M",
243
+ "cat__company_size_S"
244
+ ]
model_final.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cea9ac4e97ac87373761cc5df15d8154596838ef7755a3c794000a66fa4964cd
3
+ size 162690
preprocessing_config.json ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "target": "salary_in_usd",
3
+ "nama_model": "Gradient Boosting Regressor",
4
+ "model_final": "Gradient Boosting Regressor (hasil tuning)",
5
+ "urutan_fitur_input": [
6
+ "work_year",
7
+ "experience_level",
8
+ "employment_type",
9
+ "job_title",
10
+ "employee_residence",
11
+ "remote_ratio",
12
+ "company_location",
13
+ "company_size"
14
+ ],
15
+ "fitur_numerik": [
16
+ "work_year",
17
+ "remote_ratio"
18
+ ],
19
+ "fitur_kategorikal": [
20
+ "experience_level",
21
+ "employment_type",
22
+ "job_title",
23
+ "employee_residence",
24
+ "company_location",
25
+ "company_size"
26
+ ],
27
+ "kategori_valid": {
28
+ "experience_level": [
29
+ "EN",
30
+ "EX",
31
+ "MI",
32
+ "SE"
33
+ ],
34
+ "employment_type": [
35
+ "CT",
36
+ "FL",
37
+ "FT",
38
+ "PT"
39
+ ],
40
+ "job_title": [
41
+ "3D Computer Vision Researcher",
42
+ "AI Developer",
43
+ "AI Programmer",
44
+ "AI Scientist",
45
+ "Analytics Engineer",
46
+ "Applied Data Scientist",
47
+ "Applied Machine Learning Engineer",
48
+ "Applied Machine Learning Scientist",
49
+ "Applied Scientist",
50
+ "Autonomous Vehicle Technician",
51
+ "Azure Data Engineer",
52
+ "BI Analyst",
53
+ "BI Data Analyst",
54
+ "BI Data Engineer",
55
+ "BI Developer",
56
+ "Big Data Architect",
57
+ "Big Data Engineer",
58
+ "Business Data Analyst",
59
+ "Business Intelligence Engineer",
60
+ "Cloud Data Architect",
61
+ "Cloud Data Engineer",
62
+ "Cloud Database Engineer",
63
+ "Compliance Data Analyst",
64
+ "Computer Vision Engineer",
65
+ "Computer Vision Software Engineer",
66
+ "Data Analyst",
67
+ "Data Analytics Consultant",
68
+ "Data Analytics Engineer",
69
+ "Data Analytics Lead",
70
+ "Data Analytics Manager",
71
+ "Data Analytics Specialist",
72
+ "Data Architect",
73
+ "Data DevOps Engineer",
74
+ "Data Engineer",
75
+ "Data Infrastructure Engineer",
76
+ "Data Lead",
77
+ "Data Management Specialist",
78
+ "Data Manager",
79
+ "Data Modeler",
80
+ "Data Operations Analyst",
81
+ "Data Operations Engineer",
82
+ "Data Quality Analyst",
83
+ "Data Science Consultant",
84
+ "Data Science Engineer",
85
+ "Data Science Lead",
86
+ "Data Science Manager",
87
+ "Data Science Tech Lead",
88
+ "Data Scientist",
89
+ "Data Scientist Lead",
90
+ "Data Specialist",
91
+ "Data Strategist",
92
+ "Deep Learning Engineer",
93
+ "Deep Learning Researcher",
94
+ "Director of Data Science",
95
+ "ETL Developer",
96
+ "ETL Engineer",
97
+ "Finance Data Analyst",
98
+ "Financial Data Analyst",
99
+ "Head of Data",
100
+ "Head of Data Science",
101
+ "Head of Machine Learning",
102
+ "Insight Analyst",
103
+ "Lead Data Analyst",
104
+ "Lead Data Engineer",
105
+ "Lead Data Scientist",
106
+ "Lead Machine Learning Engineer",
107
+ "ML Engineer",
108
+ "MLOps Engineer",
109
+ "Machine Learning Developer",
110
+ "Machine Learning Engineer",
111
+ "Machine Learning Infrastructure Engineer",
112
+ "Machine Learning Manager",
113
+ "Machine Learning Research Engineer",
114
+ "Machine Learning Researcher",
115
+ "Machine Learning Scientist",
116
+ "Machine Learning Software Engineer",
117
+ "Manager Data Management",
118
+ "Marketing Data Analyst",
119
+ "Marketing Data Engineer",
120
+ "NLP Engineer",
121
+ "Power BI Developer",
122
+ "Principal Data Analyst",
123
+ "Principal Data Architect",
124
+ "Principal Data Engineer",
125
+ "Principal Data Scientist",
126
+ "Principal Machine Learning Engineer",
127
+ "Product Data Analyst",
128
+ "Product Data Scientist",
129
+ "Research Engineer",
130
+ "Research Scientist",
131
+ "Software Data Engineer",
132
+ "Staff Data Analyst",
133
+ "Staff Data Scientist"
134
+ ],
135
+ "employee_residence": [
136
+ "AE",
137
+ "AM",
138
+ "AR",
139
+ "AS",
140
+ "AT",
141
+ "AU",
142
+ "BA",
143
+ "BE",
144
+ "BG",
145
+ "BO",
146
+ "BR",
147
+ "CA",
148
+ "CF",
149
+ "CH",
150
+ "CL",
151
+ "CN",
152
+ "CO",
153
+ "CR",
154
+ "CY",
155
+ "CZ",
156
+ "DE",
157
+ "DK",
158
+ "DO",
159
+ "DZ",
160
+ "EE",
161
+ "EG",
162
+ "ES",
163
+ "FI",
164
+ "FR",
165
+ "GB",
166
+ "GH",
167
+ "GR",
168
+ "HK",
169
+ "HN",
170
+ "HR",
171
+ "HU",
172
+ "ID",
173
+ "IE",
174
+ "IL",
175
+ "IN",
176
+ "IQ",
177
+ "IR",
178
+ "IT",
179
+ "JE",
180
+ "JP",
181
+ "KE",
182
+ "KW",
183
+ "LT",
184
+ "LU",
185
+ "LV",
186
+ "MA",
187
+ "MD",
188
+ "MK",
189
+ "MT",
190
+ "MX",
191
+ "MY",
192
+ "NG",
193
+ "NL",
194
+ "NZ",
195
+ "PH",
196
+ "PK",
197
+ "PL",
198
+ "PR",
199
+ "PT",
200
+ "RO",
201
+ "RS",
202
+ "RU",
203
+ "SE",
204
+ "SG",
205
+ "SI",
206
+ "SK",
207
+ "TH",
208
+ "TN",
209
+ "TR",
210
+ "UA",
211
+ "US",
212
+ "UZ",
213
+ "VN"
214
+ ],
215
+ "company_location": [
216
+ "AE",
217
+ "AL",
218
+ "AM",
219
+ "AR",
220
+ "AS",
221
+ "AT",
222
+ "AU",
223
+ "BA",
224
+ "BE",
225
+ "BO",
226
+ "BR",
227
+ "BS",
228
+ "CA",
229
+ "CF",
230
+ "CH",
231
+ "CL",
232
+ "CN",
233
+ "CO",
234
+ "CR",
235
+ "CZ",
236
+ "DE",
237
+ "DK",
238
+ "DZ",
239
+ "EE",
240
+ "EG",
241
+ "ES",
242
+ "FI",
243
+ "FR",
244
+ "GB",
245
+ "GH",
246
+ "GR",
247
+ "HK",
248
+ "HN",
249
+ "HR",
250
+ "HU",
251
+ "ID",
252
+ "IE",
253
+ "IL",
254
+ "IN",
255
+ "IQ",
256
+ "IR",
257
+ "IT",
258
+ "JP",
259
+ "KE",
260
+ "LT",
261
+ "LU",
262
+ "LV",
263
+ "MA",
264
+ "MD",
265
+ "MK",
266
+ "MT",
267
+ "MX",
268
+ "MY",
269
+ "NG",
270
+ "NL",
271
+ "NZ",
272
+ "PH",
273
+ "PK",
274
+ "PL",
275
+ "PR",
276
+ "PT",
277
+ "RO",
278
+ "RU",
279
+ "SE",
280
+ "SG",
281
+ "SI",
282
+ "SK",
283
+ "TH",
284
+ "TR",
285
+ "UA",
286
+ "US",
287
+ "VN"
288
+ ],
289
+ "company_size": [
290
+ "L",
291
+ "M",
292
+ "S"
293
+ ]
294
+ },
295
+ "rentang_numerik": {
296
+ "work_year": [
297
+ 2020,
298
+ 2023
299
+ ],
300
+ "remote_ratio": [
301
+ 0,
302
+ 100
303
+ ]
304
+ },
305
+ "jumlah_kolom_setelah_encoding": 242,
306
+ "pra_pemrosesan": "Di dalam pipeline: SimpleImputer + OneHotEncoder(handle_unknown='ignore')",
307
+ "metrik_uji": {
308
+ "RMSE": 51292.692488693494,
309
+ "MAE": 38619.985024717986,
310
+ "MSE": 2630940302.7396736,
311
+ "R2": 0.3985146164881739
312
+ },
313
+ "interval_kepercayaan_95": {
314
+ "RMSE": [
315
+ 46115.43951634286,
316
+ 57730.55187493496
317
+ ],
318
+ "MAE": [
319
+ 35882.1745237452,
320
+ 41522.57614527219
321
+ ],
322
+ "R2": [
323
+ 0.2962315673631626,
324
+ 0.48698607228682383
325
+ ]
326
+ },
327
+ "parameter_model": {
328
+ "alpha": 0.9,
329
+ "ccp_alpha": 0.0,
330
+ "criterion": "friedman_mse",
331
+ "init": null,
332
+ "learning_rate": 0.02335,
333
+ "loss": "squared_error",
334
+ "max_depth": 4,
335
+ "max_features": 0.7,
336
+ "max_leaf_nodes": null,
337
+ "min_impurity_decrease": 0.0,
338
+ "min_samples_leaf": 4,
339
+ "min_samples_split": 14,
340
+ "min_weight_fraction_leaf": 0.0,
341
+ "n_estimators": 324,
342
+ "n_iter_no_change": null,
343
+ "random_state": 42,
344
+ "subsample": 0.799432733244268,
345
+ "tol": 0.0001,
346
+ "validation_fraction": 0.1,
347
+ "verbose": 0,
348
+ "warm_start": false
349
+ },
350
+ "versi": {
351
+ "scikit-learn": "1.6.1",
352
+ "pandas": "2.2.3",
353
+ "numpy": "2.4.6",
354
+ "python": "3.13.18"
355
+ }
356
+ }
requirements.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ gradio
2
+ scikit-learn==1.6.1
3
+ pandas
4
+ numpy
5
+ joblib
6
+ huggingface_hub
scaler.joblib ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2ac9276495b3ee5efb38dae4844ac7da58ac799477a7d345b2cab6fca09dc8
3
+ size 7074
upload_trigger.txt CHANGED
@@ -1 +1 @@
1
- Upload timestamp: 1795488358.728073
 
1
+ Upload timestamp: 1795488868.5082