Breadboard to Behaviour: Arduino Practice for Songdo Learners
Songdo’s international schools emphasise inquiry-based science. Arduino makes that tangible. Enquire +92 322 4217059. No invented Songdo lab.
Arduino microcontroller circuit design classes for Songdo, Incheon guide students through breadboard wiring, sensor inputs and introductory control code—simulators first, optional kits under supervision.

Outliers are extreme values far from the bulk of the data. They can come from entry errors, system bugs, or rare real events. Because the mean and variance are sensitive to extremes, outliers can distort summaries and mislead models. Detection is a standard preprocessing step.
IQR = Q3 − Q1. Bounds: lower = Q1 − 1.5×IQR, upper = Q3 + 1.5×IQR. Points outside are flagged.
import pandas as pd
df = pd.read_csv("ecommerce_orders.csv")
q1 = df["Revenue"].quantile(0.25)
q3 = df["Revenue"].quantile(0.75)
iqr = q3 - q1
lower_bound = q1 - 1.5 * iqr
upper_bound = q3 + 1.5 * iqr
outliers_iqr = df[(df["Revenue"] < lower_bound) | (df["Revenue"] > upper_bound)]
print("Outlier rows:", outliers_iqr.shape)
df_cleaned_iqr = df[(df["Revenue"] >= lower_bound) & (df["Revenue"] <= upper_bound)]
print("Cleaned shape:", df_cleaned_iqr.shape)
On a 5,000-row sample: 67 outliers flagged; ~4,933 rows remain. Strong option for skewed sales/time-series data.
Z = (x − μ) / σ. Common rule: |Z| > 3 is an outlier.
import numpy as np
mean_rev = df["Revenue"].mean()
std_rev = df["Revenue"].std()
df["z_score"] = (df["Revenue"] - mean_rev) / std_rev
outliers_zscore = df[np.abs(df["z_score"]) > 3]
df_cleaned_zscore = df[np.abs(df["z_score"]) <= 3]
print(outliers_zscore.shape, df_cleaned_zscore.shape)
Sample result: 26 outliers; ~4,974 rows remain. Works best when the feature is roughly symmetric/normal.
| Criterion | IQR | Z-Score |
|---|---|---|
| Basis | Quartiles ± 1.5×IQR | |Z| > 3 from mean |
| Example flags (5k rows) | ~67 | ~26 |
| Best for | Skewed sales / time series | Near-normal features |
SME suggestions should still be checked with IQR or Z-score to limit human bias.
Outliers are extreme points outside the normal range—often from recording errors, bugs, or rare events. They distort means and variance and can push models toward wrong patterns, so they are usually found and handled in preprocessing.
IQR = Q3 − Q1; lower = Q1 − 1.5×IQR, upper = Q3 + 1.5×IQR. On the sample retail data it flagged 67 rows (e.g. a 3,640 revenue spike) and left about 4,933 rows. Useful for skewed sales data.
Z measures standard deviations from the mean; |Z| > 3 is a common outlier rule (26 rows in the sample). SME advice is valuable but biased—confirm with IQR or Z-score before dropping points.
mBlock Coding for Kids on Udemy.
Disclosure: This page contains affiliate links. We may earn from qualifying purchases at no extra cost to you. Links are intended for parents and educators, not as marketing directed at young children.
Songdo’s international schools emphasise inquiry-based science. Arduino makes that tangible. Enquire +92 322 4217059. No invented Songdo lab.
Our curriculum directly reinforces physics, logic, and engineering design concepts taught in international schools across Songdo (such as Chadwick International). Students apply scientific inquiry by wiring breadboards, reading sensor inputs, and writing C++ microcontroller code.
We provide total flexibility! Students can work with interactive web-based circuit simulation tools during live online classes or order physical Arduino sensor starter kits delivered directly to their address in Incheon.
Simply send a WhatsApp message to our lead mentor detailing your child’s age and current experience level to claim a free 1-on-1 trial class pass.