Model Pipeline - Exploratory data analysis
Exploratory Data Analysis (EDA) helps us understand the data before building a model. It shows data shapes, missing values, and basic statistics.
Exploratory Data Analysis (EDA) helps us understand the data before building a model. It shows data shapes, missing values, and basic statistics.
EDA step - no training loss to show
| Epoch | Loss ↓ | Accuracy ↑ | Observation |
|---|---|---|---|
| 1 | N/A | N/A | EDA does not involve training, so no loss or accuracy. |
exploratory data analysis (EDA) in machine learning?head() and describe() for data samples and summary stats.print(df.describe()) output?import pandas as pd
data = {'age': [25, 30, 22, 40, 28], 'score': [88, 92, 85, 95, 90]}
df = pd.DataFrame(data)
print(df.describe())describe() doesdescribe() will show stats for both columns.import pandas as pd
data = {'age': [25, 30, None, 40], 'score': [88, 92, 85, 95]}
df = pd.DataFrame(data)
print(df.mean())mean() skips NaN values.age, income, and purchased (Yes/No). Which EDA step helps you find if income affects purchased?Pass the test and this pattern moves unknown