Prepare the data
Use a licensed public teaching dataset and document whether labels represent amounts or income bands.
Inspect an income model. Question its assumptions.
Income prediction can be studied as regression or income-band classification, but the target must be explicit. Dataset coverage and demographic proxies can create serious fairness problems.
Learning concept · Not a validated service
Income prediction can be studied as regression or income-band classification, but the target must be explicit. Dataset coverage and demographic proxies can create serious fairness problems.
A possible application for social-data educators: Help social-data students investigate bias in public income datasets. This extension is not delivered by the supplied starter.
Use a licensed public teaching dataset and document whether labels represent amounts or income bands.
Fit an interpretable baseline appropriate to the target and audit sensitive proxies.
Report subgroup errors and temporal limitations without using the model for eligibility decisions.
Create a classroom analysis report with dataset provenance and prohibited-use notes.
The supplied starter creates 800 synthetic binary-classification rows with ten numeric features. It makes a stratified train/test split, fits a scaled RandomForestClassifier pipeline and prints a classification report.
model = Pipeline(
steps=[
("scale", StandardScaler()),
("classifier", RandomForestClassifier(
n_estimators=250, random_state=RANDOM_STATE)),
]
)
model.fit(X_train, y_train)
predictions = model.predict(X_test)
print(classification_report(y_test, predictions))The source has generic synthetic labels, not income observations or a fairness analysis. Synthetic binary classification does not establish performance on the proposed application. The source report uses one split; it supplies no deployment or real-world validation.
Proposed extension: Help social-data students investigate bias in public income datasets.
This is a potential application pathway, not a delivered product. The supplied starter does not implement this service or validate it with real users.
Networkers Home runs this topic inside its AI Engineer Course, with placement support and hands-on labs.