Research knowledge library

A PRACTICAL FIELD NOTE

Data science

Give data a clear context before you model it.

Maintained by SecTools.tw · Updated November 27, 2026

Begin with a data dictionary

Record each field's meaning, units, source, timing, and missing-value convention. Zero, not measured, and not applicable are different states. Do not turn them all into zero merely to make code run.

Explore before fitting

Inspect counts, distributions, duplicates, extremes, and subgroup representation. Let plots suggest questions, then check records. An outlier may be an error or an important observation; document why you exclude one.

Protect the evaluation boundary

Split data before fitting imputation, scaling, or feature selection. Repeated subjects and time series require suitable splits. Information used in development can no longer serve as an untouched evaluation.

Make analysis repeatable

Keep a read-only raw copy, express cleaning steps in code, and record data versions, dependencies, and exclusion rules. Deliver the reasoning behind your choices alongside the results.

Before you move on

0 of 3 checked. This reading checklist is not saved.

Keep exploring

Return to the knowledge library