Skip to content

Latest commit

 

History

History
81 lines (65 loc) · 4.49 KB

PROJECT_COMPLIANCE_CHECKLIST.md

File metadata and controls

81 lines (65 loc) · 4.49 KB

Project Compliance Checklist

**Constantine Chkhikvadze : did my project analyzing the dataset found on kaggle. Chose the third one in the provided options in the task pdf (https://www.kaggle.com/datasets/yasserh/housing-prices-dataset)

2.1 Data Processing & Cleaning

Core Requirements

  • Use Pandas for all data manipulation tasks - All data operations use pandas DataFrames
  • Implement comprehensive data cleaning procedures - Complete pipeline in data_cleaning.py
  • Handle missing values appropriately - Median imputation for numeric, mode for categorical (_handle_missing_values)
  • Detect and address outliers using statistical methods - IQR method implemented (_detect_and_handle_outliers_iqr)
  • Perform data type conversions as needed - Yes/no to 0/1, categorical encoding (_convert_data_types)
  • Create derived features from existing data - price_per_sqft, total_rooms, has_parking (_create_derived_features)

Expected Deliverables

  • Data quality report - data_quality_report.txt generated
  • Reproducible data preprocessing pipeline - run_preprocessing_pipeline() function
  • Documentation of all transformations - Docstrings and inline comments explain each step
  • Justification for handling decisions - Comments explain why median/mode/IQR chosen

2.2 Exploratory Data Analysis

Core Requirements

  • Comprehensive use of NumPy and Pandas - Used throughout exploratory_data_analysis.py
  • Create at least 5 different types of visualizations - 6 types implemented:
  1. Distribution plots (histograms + KDE) - create_distribution_plots()
  2. Correlation heatmaps - create_correlation_heatmap()
  3. Scatter plots with trend lines - create_scatter_plots_with_trendlines()
  4. Bar charts/count plots - create_bar_charts()
  5. Box plots - create_box_plots()
  6. Pair plots - create_pair_plot()
  • Perform statistical analysis - generate_descriptive_statistics() uses .describe()
  • Investigate relationships and correlations - analyze_correlations() + heatmap
  • Identify patterns, trends, and anomalies - Outlier detection + EDA report

Required Visualization Types (5+)

  • Distribution plots (histograms, KDE plots, box plots)
  • Correlation heatmaps
  • Scatter plots with trend lines
  • Bar charts or count plots
  • Pair plots for multivariate analysis

Statistical Analysis Requirements

Descriptive statistics using .describe() - Mean, median, std, min, max, quartiles Correlation analysis using correlation heatmaps - Full correlation matrix + heatmap Distribution analysis - Histograms and box plots Identify and discuss outliers - IQR method + discussion in eda_report.txt

2.3 Machine Learning Implementation

Core Requirements

  • Implement at least two different ML models - Linear Regression + Decision Tree Regressor
  • Use proper train/test split - train_test_split() with 80/20 split (split_data())
  • Perform basic feature selection - Excludes price and price_per_sqft, includes relevant features
  • Conduct model evaluation using appropriate metrics - R², MSE, RMSE (evaluate_model())
  • Compare models and discuss which performs better - generate_model_comparison_report() with detailed comparison

Model Selection

  • For Regression Problems - Linear Regression + Decision Tree Regressor

Evaluation Metrics

  • R-squared (R²) - Computed and reported
  • Mean Squared Error (MSE) - Computed and reported
  • Visualize clusters - DBSCAN + KMeans clustering with visualizations
  • Discuss cluster characteristics - Reports generated for both clustering methods

2.4 Code Quality & Organization

Core Requirements

  • Well-documented code with meaningful comments and docstrings - All functions have docstrings
  • Proper function/class organization following modular design - Separate files for cleaning, EDA, ML, clustering
  • Consistent coding style (PEP 8 compliance) - Follows PEP 8 conventions
  • Comprehensive error handling with try-except blocks - Error handling added to file I/O operations, data loading functions
  • requirements.txt file listing all dependencies - Created: requirements.txt
  • Clean notebook structure with markdown explanations - Using Python scripts instead of notebooks (acceptable alternative)

Documentation Standards

  • Functions have docstrings with Parameters, Returns, Raises sections
  • Inline comments explain key decisions
  • Module-level docstrings explain purpose