Home

Data Overview

What you'll see here

Baseline shape and data-quality checks: 25,480 cases, 11 features + target, moderate class imbalance, and three concrete cleanup requirements before modelling.

Data quality flags
no_of_employees has 0 rows with negative values
Fix: Clip to a minimum of 1 (employer must have ≥1 employee).
yr_of_estab has 0 rows before 1900
Fix: Keep as-is but engineer company_age = 2016 − yr_of_estab and cap at 0.
prevailing_wage mixes Hour / Week / Month / Year
Fix: Annualise: hourly ×2080, weekly ×52, monthly ×12; then log-transform.
0 missing values across all 0 columns
Fix: No imputation required.
Data structure — dtypes, non-nulls & cardinality

df.info() equivalent — 25,480 rows × 12 columns, 0 duplicate rows, 0 missing values in total.

ColumnDtypeNon-nullMissingUnique
case_idobject25,480025,480
continentobject25,48006
education_of_employeeobject25,48004
has_job_experienceobject25,48002
requires_job_trainingobject25,48002
no_of_employeesint6425,48007,105
yr_of_estabint6425,4800199
region_of_employmentobject25,48005
prevailing_wagefloat6425,480025,454
unit_of_wageobject25,48004
full_time_positionobject25,48002
case_statusobject25,48002
Statistical summary — numeric variables

df.describe() on the raw + engineered numeric columns.

VariableCountMeanStdMin25%Median75%MaxSkew
no_of_employees25,4805,66722,878-261,0222,1093,504602,06912.27
yr_of_estab25,4801,97942.371,8001,9761,9972,0052,016-2.04
prevailing_wage25,48074,45652,8162.1434,01570,308107,736319,2100.76
Statistical summary — categorical variables
VariableUniqueMost frequentFreq% of rows
continent6Asia16,86166.2%
education_of_employee4Bachelor's10,23440.2%
has_job_experience2Y14,80258.1%
requires_job_training2N22,52588.4%
region_of_employment5Northeast7,19528.2%
unit_of_wage4Year22,96290.1%
full_time_position2Y22,77389.4%
case_status2Certified17,01866.8%
Data dictionary
ColumnTypeNotes
case_id
id
Unique application id (dropped from modelling).
continent
categorical (6)
Continent the employee is from.
education_of_employee
categorical (4)
High School, Bachelor's, Master's, Doctorate.
has_job_experience
binary Y/N
Does the applicant have prior job experience?
requires_job_training
binary Y/N
Does the employer require training?
no_of_employees
numeric
Employer headcount. Contains negative outliers.
yr_of_estab
numeric
Year the employer was established. A few pre-1900 outliers.
region_of_employment
categorical (5)
West, Northeast, South, Midwest, Island.
prevailing_wage
numeric
Prevailing wage in the employment location.
unit_of_wage
categorical (4)
Hour / Week / Month / Year — must be normalised.
full_time_position
binary Y/N
Full-time or part-time role.
case_status
target
Certified / Denied — binary target.
Preview — first 8 rows
case_idcontinenteducationexpemployeesyrregionwageunitstatus