A Five-Step Guide for Conducting Exploratory Data Analysis
Exploratory data analysis can follow a five-step framework: understand context and dataset size, check for missing data, describe and classify features as continuous, discrete or categorical, examine distributions and time trends, and identify correlations. The walkthrough uses a synthetic Shopify merchant dataset. It recommends ranking features by missing-value counts and treating missingness as a possible signal rather than dropping features. It also covers imputation choices for time series, using PDFs and PMFs to spot skew and multimodality, and Pearson correlation matrices, autocorrelation and contingency tables for finding relationships. Throughout, it advises keeping running summary notes and forming hypotheses for each pattern.
Related posts
- ClickHouse forecasting and anomaly detection with time series foundation models
ClickHouse mediumAdept
TimesFM 3.0, a pretrained time-series foundation model, can be called from ClickHouse SQL via executable Python UDFs that forward arrays to an HTTP model server, giving zero-shot forecasts and anomaly scores without per-series training. SQL handles aggregation, ordering and time bucketing. aiForecast returns median, q10–q90 bounds and nine native quantiles per step, and aiDetectAnomalies scores rolling held-out windows by normalized forecast error. On Walmart M5 store sales, adding a known-future Christmas event flag as a covariate dropped Christmas anomaly scores below the threshold in nine of ten stores (e.g. TX_2 from 8.65 to 2.71). The weights carry non-commercial restrictions and the demo is for local evaluation only.
- 10 Lessons Learned From Online Experiments
Shopify Engineering mediumAdeptTen practical lessons from a year of online A/B experiments on Shopify's multi-currency, geolocation and translation features. Randomization units should be independent (user rather than session, to avoid carryover), and simulations are a fast way to check statistical worries such as false-positive inflation when randomization and analysis units differ. A/A tests with redirects surfaced sample ratio mismatch caused by bots and client-side pageview logging, and in another experiment SRM traced to cookie-based qualification logic flipped the result from negative to positive. Other lessons: understand your data pipeline and log generously, peek at results (without stopping early) to catch outliers like a single high-volume store, and slice results by segment because the overall number is only an average.
- Modeling Machine Learning Data in OLAP databases
ClickHouse mediumAdept
ClickHouse can act as the transformation engine and offline store of an ML feature store, with features modeled as timestamped tables and assembled into point-in-time correct training sets. Using a 100m-row web analytics dataset and a bounce-prediction example, the walkthrough builds a deduplicated "feature subset" table with ReplacingMergeTree and a trimmed PRIMARY KEY, then keeps it current with incremental materialized views. Features are tied to entities such as user and domain, computed with GROUP BY aggregations, and joined into feature vectors via ASOF JOIN on key and timestamp proximity. The aim is fast iteration during feature engineering, which usually costs more time than model selection.
- Introducing the Data Measurements Tool: an Interactive Tool for Looking at Datasets
Hugging Face easyNoviceHugging Face's Data Measurements Tool is an open-source Python library and no-code Streamlit interface for measuring, exploring and comparing NLP datasets on the Hub. It reports dataset basics (missing values), descriptive statistics (vocabulary, label balance, instance lengths, duplicates), and fit to Zipf's law. As a rule of thumb, an alpha above 2 or a minimum rank above 10 suggests unnatural text such as leftover HTML. It also shows hierarchical clusters built from Sentence-Transformer embeddings and nPMI between identity terms to surface stereotypes. The alpha version covers a handful of English datasets like SQuAD, IMDb and C4, with support for user datasets and custom nPMI terms planned.
- 5 Steps for Building Machine Learning Models for Business
Shopify Engineering mediumAdeptA five-step workflow for building ML models in a business context: confirm ML is warranted (defer it for brand-new products and beat a heuristic baseline first), start with simple models and basic features or off-the-shelf pretrained components, and pick a metric tied to business impact before optimizing. The advice also covers sanity-checking outputs via confusion matrices and residuals, since 98% accuracy on rare-event fraud data can mean a useless model. Model iteration should run through staging flows or A/B tests with fair comparisons and attention to run-to-run variance, and teams should watch prediction stability for individual users across retrains.