<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Godwinglory on Medium]]></title>
        <description><![CDATA[Stories by Godwinglory on Medium]]></description>
        <link>https://medium.com/@godwinglory2003?source=rss-d35fcf3d9e6f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*l591dfQlbgqPjDHF</url>
            <title>Stories by Godwinglory on Medium</title>
            <link>https://medium.com/@godwinglory2003?source=rss-d35fcf3d9e6f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 20:01:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@godwinglory2003/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Energy Efficiency Regression Model Report By Algorithm Allies]]></title>
            <link>https://medium.com/@godwinglory2003/energy-efficiency-regression-model-report-by-algorithm-allies-3756b8a2515f?source=rss-d35fcf3d9e6f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3756b8a2515f</guid>
            <dc:creator><![CDATA[Godwinglory]]></dc:creator>
            <pubDate>Fri, 13 Jun 2025 17:31:47 GMT</pubDate>
            <atom:updated>2025-06-13T17:49:15.286Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Energy Efficiency Regression Model Report By Algorithm Allies</strong></p><p><strong>1. Dataset Overview</strong></p><p>The dataset used for this regression analysis was obtained from Kaggle. The dataset focuses on evaluating the heating load and cooling load requirements of buildings, essentially studying their energy efficiency based on various building parameters.</p><p>Dataset Details:</p><p>- Total Samples: 768</p><p>- Features (Independent Variables) or X: 8</p><p>- Relative Compactness</p><p>- Surface Area</p><p>- Wall Area</p><p>- Roof Area</p><p>- Overall Height</p><p>- Orientation</p><p>- Glazing Area</p><p>- Glazing Area Distribution</p><p>- Target (Dependent Variables) or Y: 2</p><p>- Heating Load (primary target for this regression model)</p><p>- Cooling Load</p><p>The dataset was created by simulating 12 different building shapes using Ecotect software, varying parameters such as glazing area, distribution, and orientation to create 768 unique scenarios.</p><p><strong>2. Goal of the Model</strong></p><p>The primary goal of this model is to predict the Heating Load of buildings based on their structural and design features. The model will help in estimating how changes in building design impact heating energy requirements — a crucial aspect of energy-efficient architecture.</p><p><strong>3.</strong> <strong>Procedures Implemented to build this model</strong></p><p><strong>a)</strong> <strong>Data Collection</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1soj0YxKL7DOU4-hAo0XLQ.png" /></figure><p>The dataset was downloaded from the UCI Machine Learning Repository. This repository is well-known for hosting reliable, pre-cleaned datasets, especially for machine learning research and practice.</p><p><strong>b)</strong> <strong>Data Cleaning &amp; Exploration</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N6fPCNxBx7G7hZKTgf-swA.png" /></figure><p>- Missing Values: The dataset contained no missing values, making it immediately suitable for analysis.</p><p>- Data Types: All variables were numeric, allowing direct application of regression models.</p><p>- Exploratory Data Analysis (EDA):</p><p>- Visualizations, heatmaps helped identify relationships between features and target variables.</p><p>- Correlation analysis revealed that features like Relative Compactness, Surface Area, Wall Area, and Roof Area have strong correlations with the Heating Load.</p><p><strong>c)</strong> <strong>Feature Encoding</strong></p><p>- Since all features were numeric, no categorical encoding was necessary.</p><p>- Some categorical-like features (e.g., Orientation, Glazing Area Distribution) were already represented numerically.</p><p><strong>d)</strong> <strong>Feature Scaling</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pCNNQRhlMcjkhukwSldA5A.png" /></figure><p>- StandardScaler from `sklearn.preprocessing` was used to scale the features. This step was crucial because:</p><p>- It brings all features to the same scale.</p><p>- Improves the performance and convergence speed of many machine learning algorithms.</p><p><strong>e)</strong> <strong>Train-Test Split</strong></p><p>- The dataset was split into training and testing sets to properly evaluate model performance.</p><p>- Train size: 80%</p><p>- Test size: 20%</p><p>- Split was done using `train_test_split()` from `sklearn.model_selection`.</p><p><strong>f)</strong> <strong>Model Selection &amp; Training</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DcezHldh8alhZaGwOWFgkQ.png" /></figure><p>- A regression model was built using RandomForestRegressor from sklearn.ensemble.RandomForestRegressor</p><p>- The model was trained on the scaled training data.</p><p><strong>g) Model Evaluation</strong></p><p>- The model’s performance was evaluated using metrics like:</p><p>- Mean Squared Error (MSE)</p><p>- Root Mean Squared Error (RMSE)</p><p>- Mean Absolute Error (MAE)</p><p>- R² Score</p><p><strong>4. Libraries Used — Focus on `scikit-learn`</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4FTsfcA91B4dX_imGrZOFg.png" /></figure><p>The analysis made extensive use of scikit-learn (`sklearn`), which is a robust Python library for machine learning. Its key advantages include:</p><p>- Simple and consistent API</p><p>- Comprehensive suite of algorithms for both supervised and unsupervised learning</p><p>- In-built functions for data preprocessing, model selection, training, evaluation, and hyperparameter tuning.</p><p><strong>Key sklearn modules used:</strong></p><p>Module and Purpose</p><p>`sklearn.model_selection.train_test_split` for splitting dataset into training and testing sets</p><p>`sklearn.preprocessing.StandardScaler` for scaling numerical features</p><p>`sklearn.linear_model.LinearRegression` for building and training the regression model</p><p>`sklearn.metrics` for calculating evaluation metrics (MSE, RMSE,MAE R²)</p><p><strong>5. Model Evaluation Results</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G-MmJ8R1JNawJHUiaL8J6w.png" /></figure><p>| Metric | Value |</p><p>| — — — — | — — — -|</p><p>| Mean Squared Error (MSE) | (0.02) |</p><p>| Mean Absolute Error (MSE) | (0.04) |</p><p>| Root Mean Squared Error (RMSE) | (0.17) |</p><p>| R² Score | (0.98)|</p><p>- Interpretation of R²: An R² score close to 1 indicates that the model explains most of the variance in the target variable, signifying good model performance.</p><p><strong>6. Final Thoughts</strong></p><p>- The Random Forest Regressor model demonstrated that the building’s design features significantly affect its heating load requirements.</p><p>- The dataset was clean and well-structured, simplifying preprocessing and modeling.</p><p>- Random Forest Regressor performed well, with more training data, the model’s performance will be significantly improved</p><p>- Overall, this project successfully achieved its goal of building a regression model for energy efficiency analysis using Scikit-learn.</p><p>Prepared by: Algorithm Allies</p><p><strong>Group Members:</strong></p><p><strong>1.</strong> <strong>Emmanuel Ahiaku</strong></p><p><strong>2.</strong> <strong>Chukwuemeka Nwaneri</strong></p><p><strong>3.</strong> <strong>Glory Godwin</strong></p><p><strong>4.</strong> <strong>Zakariyah Abdullahi Abiodun</strong></p><p><strong>5.</strong> <strong>Oluwagbotemi Victor</strong></p><p><strong>6.</strong> <strong>Ogunleye Omowunmi Enitan</strong></p><p><strong>7.</strong> <strong>Samuel Welbeck</strong></p><p><strong>8.</strong> <strong>Omoniyi Oluwaseun Joshua</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3756b8a2515f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>