Home
Ministry of LabourClient · project at CIARS

Salary estimates from skills

A calculator of advertised salaries by occupation, skills and region.

Precomputed salary estimates

Moved skill-combination search from the user request into precomputation.

STACK

  • CatBoost
  • SHAP
  • Optuna
  • Python
  • pandas
  • Streamlit

How the model becomes a skill-based calculation

CONTEXT → SKILL VALUES + COMBINATIONS → ESTIMATEPan the diagram or select a stage below
How the model becomes a skill-based calculationThe model scores combinations; tables retain selected branches. A query supplements the highest-scored eligible subset with the remaining skills.01 / FROM DATA TO AN OCCUPATIONAL MODELVacancies and contextexperience · location · work patternSkill featuresvocabulary · hierarchy · selectionCatBoost · Optunaf(c₀, S)02 / INDIVIDUAL SKILL VALUESalary spreadupper salary level − baseSHAP importance weightswᵢ = E|φᵢ| / Σⱼ E|φⱼ|dᵢ = Δsalary × wᵢ03 / COMBINATION TREE UNDER FIXED CONTEXT c₀Current skill set Sf(c₀, S)Add a · retainf(c₀, S ∪ {a}) ≥ f(c₀, S)Add b · prunef(c₀, S ∪ {b}) < f(c₀, S)continue → table Tdo not expand this branch04 / USER CALCULATION FROM SAVED COMPONENTSSelected skills QQ = {a, b, c}Retained set C ⊆ Qfrom the table → score T(C)Remaining skillsQ ∖ C → Σ dᵢCORE CALCULATIONŷ = kᵣ × [T(C) + Σᵢ∈Q∖C dᵢ]kᵣ — regional adjustmentsThen apply output rules.

The model scores combinations; tables retain selected branches. A query supplements the highest-scored eligible subset with the remaining skills.

DIAGRAM NOTE

Method diagram with symbolic skills. The estimate describes salary offers in vacancies and does not establish the causal effect of learning a skill.

Scroll diagram ↔
Tools by task

DATA

Python · pandas · NumPy

Vacancy–skill matrices, occupational relationships, salary-target preparation and data slices.

MODELING

CatBoost · Optuna · SHAP

Occupation-specific models, parameter search, importance analysis and individual skill valuation.

CALCULATION

Recursive search · SciPy · JSON · Excel

Combination scoring and pruning, tabular representation, and regional coefficient fitting.

PRODUCT

Streamlit

Selection of occupation, experience, location and requirements; application of the saved calculation components.

Architecture, step by stepHighlighted data flow and technical walkthrough

From vacancies to a skill-profile calculator

Scroll to highlight each stage and its data flow.

01 / 05
From vacancies to a skill-profile calculator01 / DATA AND MODEL02 / PRECOMPUTATION AND CALIBRATION03 / USER CALCULATIONVacanciessalary · contextSkill vocabularycategories · relationshipsProfile featuresselection · normalizationCatBoostoccupation-specific modelSHAPmean absolute importanceOptunaparameter searchContext c₀experience · rotation ·region typeCombination treescoring · branch pruningBase and skillvaluessalary spread × SHAPweightsCombination tablescanonical skill orderComparecalculationsmodel · table · observedsalaryRegional adjustmentssaved coefficientsUser profileoccupation · context ·skillsRetained subsetsubset of selected skillsCompose estimateremaining skills · regionSalary estimateresult in Streamlit

Pan to explore the diagram ↔

DataModelStateEvaluation

Prepare the occupational profile

01

Prepare the occupational profile

The occupation defines a skill vocabulary and its own model. Requirement relationships, experience, work conditions and location become features; the data is filtered and normalized.

02

Derive individual skill values

Base and upper salary levels are calculated for a given context. Their difference is allocated according to the mean absolute SHAP importance of each skill.

03

Precompute retained combinations

Under a fixed context, the algorithm adds skills one at a time and queries the model. If the estimate falls, the branch is pruned. Retained paths are canonicalized and converted to a table.

04

Evaluate the calculation and adjust for location

Model, additive and table-based calculations are compared with observed salary data. Regional coefficients are fitted separately and saved for later use.

05

Calculate the selected requirements

The calculator finds a retained subset of selected skills, prioritized by its estimate. It adds values for skills outside that combination and applies regional adjustments.