Dataset reference

California Housing

California census block features and median house values for regression experiments.

Dataset overview

Rows20,640
Features8 numeric
TaskRegression
TargetMedian house value

Creator and reuse

R. Kelley Pace and Ronald Barry

Review the original provider's usage rights before redistributing the data.

Before training

Inspect missing values, verify target availability, remove leakage and identifiers, split before fitting transformations, and choose metrics that fit the intended decision.

Data quality checks

Confirm row meaning, duplicates, impossible values, category spelling, target balance, and whether the sample represents the population where the model will be used.

Validation planning

Use random holdout only when rows are independent. Prefer grouped, temporal, or geographic splits when related observations could cross the boundary.

Peer-reviewed reference

Research context

Pace & Barry (1997), Sparse spatial autoregressions, Statistics & Probability Letters.

Open journal article

From data to a tested model