<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rahmah</title>
    <description>The latest articles on DEV Community by Rahmah (@rahmahhng).</description>
    <link>https://dev.to/rahmahhng</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1705137%2Fd5f07869-1dab-4951-a27d-b1ff574030e4.png</url>
      <title>DEV Community: Rahmah</title>
      <link>https://dev.to/rahmahhng</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rahmahhng"/>
    <language>en</language>
    <item>
      <title>Zamfara Election Result #outlier_scores</title>
      <dc:creator>Rahmah</dc:creator>
      <pubDate>Sun, 07 Jul 2024 17:59:42 +0000</pubDate>
      <link>https://dev.to/rahmahhng/zamfara-election-result-outlierscores-4c50</link>
      <guid>https://dev.to/rahmahhng/zamfara-election-result-outlierscores-4c50</guid>
      <description>&lt;p&gt;This report is based on analysing the dataset of Zamfara election conducted, the analysis should help uncover any potential irregularities and transparency. Through identification of outlier detection in polling unit indicating potential influences or rigging .&lt;br&gt;
Findings&lt;br&gt;
&lt;a href="https://docs.google.com/spreadsheets/d/15xf8NkvJtC29DCqvS2WVIGYe7PeoBRl1Pz0SPLCGEK4/edit?usp=drivesdk" rel="noopener noreferrer"&gt;https://docs.google.com/spreadsheets/d/15xf8NkvJtC29DCqvS2WVIGYe7PeoBRl1Pz0SPLCGEK4/edit?usp=drivesdk&lt;/a&gt; google sheet shows the conversation of the address into longitude and latitude.&lt;/p&gt;

&lt;p&gt;Findings and methodology&lt;br&gt;
&lt;a href="https://drive.google.com/file/d/19gGI_FIyR21o2N6gKhjJ_IZYAwaDIv9G/view?usp=drivesdkrl" rel="noopener noreferrer"&gt;https://drive.google.com/file/d/19gGI_FIyR21o2N6gKhjJ_IZYAwaDIv9G/view?usp=drivesdkrl&lt;/a&gt;&lt;br&gt;
 shows google sheet report on outlier detection score and calculations of each geodesic distance.Harvesine formula was used to calculate the geodesic distance between the coordinates.&lt;/p&gt;

&lt;p&gt;Top Outlier scores&lt;br&gt;
After sorting, &lt;br&gt;
115 for PDP in KETA I / MAKARANTA polling unit and its neightbours are: ['BAKIN GULBI / DANFAKO', 'RUGGAR NA ALI / PRIMARY SCHOOL', 'UNG. SARKIN FAWA / DAN FAKO', 'CHEDIYA / BAKIN KASUWA', 'TABKIN KAZAI II / PRIMARY SCHOOL', 'MARKE / PRIMARY SCHOOL']&lt;/p&gt;

&lt;p&gt;89 for PDP in TABKIN KAZAI II / PRIMARY SCHOOL polling unit and its neighbours are : ['KETA I / MAKARANTA', 'BAKIN GULBI / DANFAKO', 'RUGGAR NA ALI / PRIMARY SCHOOL', 'UNG. SARKIN FAWA / DAN FAKO', 'CHEDIYA / BAKIN KASUWA', 'MARKE / PRIMARY SCHOOL']&lt;/p&gt;

&lt;p&gt;87.5 for APC in SHAMUSHALE I /SHIYAR SABON GARI polling unit and its neighbours are: ['MADAMBAJI / GARKAR HAKIMI']&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjtr7j4i5o7idhlue1mqa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjtr7j4i5o7idhlue1mqa.png" alt="Image description" width="800" height="519"&gt;&lt;/a&gt;&lt;br&gt;
An image showing the visualisation of each party votes with its respective outlier score with the help of a seaborn and matplotlib.&lt;br&gt;
Conclusion&lt;br&gt;
The analysis was performed using google sheet,Python with libraries such as pandas, numpy and geopy etc.Geospatial analysis of election data successfully identified polling units with significant deviations in voting results which was further elaborated with the outlier scores&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Titanic for HNG</title>
      <dc:creator>Rahmah</dc:creator>
      <pubDate>Sat, 29 Jun 2024 22:57:51 +0000</pubDate>
      <link>https://dev.to/rahmahhng/titanic-for-hng-59n1</link>
      <guid>https://dev.to/rahmahhng/titanic-for-hng-59n1</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This analysis about the dataset of passengers that were onboard when the British Luxury Passenger Ship (named Titanic) sank on the 15th of April, 1912.&lt;br&gt;
The purpose for this surface-level analysis is to have the statistical view of the age-range of the passengers on the ship.&lt;/p&gt;

&lt;p&gt;The Titanic dataset has the following columns:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PassengerId: This is the identifier for each passenger&lt;/li&gt;
&lt;li&gt;Survived: This informs us if a particular passenger survived (with value 1) or not (with value 0)&lt;/li&gt;
&lt;li&gt;Pclass: This is the ticket class, either upper (1st), middle (2nd) or lower (3rd)&lt;/li&gt;
&lt;li&gt;Age: The age of the passenger&lt;/li&gt;
&lt;li&gt;SibSp: The number of siblings for spouse the passenger boarded the ship with&lt;/li&gt;
&lt;li&gt;ParCh: The number of parent or children the passenger boarded the ship with.&lt;/li&gt;
&lt;li&gt;Fare: The amount the passenger paid for the trip&lt;/li&gt;
&lt;li&gt;Cabin: The cabin identifier for the passenger&lt;/li&gt;
&lt;li&gt;Embarked: The port the passenger onboards (either Cherbourg, Queenstown, Southampton)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Observation&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Missing Data in the dataset&lt;br&gt;
The columns with missing data are: Cabin, Age and Embarked with Cabin having the highest number of missing values with 687 and Embarked having the lowest with 2 while Age sits in the middle with 177.&lt;br&gt;
All other columns don't have missing value(s).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb5cd5mu465xtrn2o7yms.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb5cd5mu465xtrn2o7yms.png" alt="Image description" width="800" height="641"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The image below gives the description of each column
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3y0nbjojdapx588jsvpm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3y0nbjojdapx588jsvpm.png" alt="Image description" width="800" height="367"&gt;&lt;/a&gt;&lt;br&gt;
Since our purpose is the age of passengers, it can be seen that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the minimum age is 0.42&lt;/li&gt;
&lt;li&gt;the mean(average) age is 29.70&lt;/li&gt;
&lt;li&gt;the maximum age is 80&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The below is the box plot of Survived against Age.
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwqeuwfo6jfhxfdg5jere.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwqeuwfo6jfhxfdg5jere.png" alt="Image description" width="800" height="626"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;About HNG&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;HNG Internship is a remote internship aimed at providing real life experience on projects to interns all over the world. This is the &lt;a href="https://hng.tech/internship"&gt;link&lt;/a&gt; to the official website.&lt;br&gt;
It also serves as a pool for skilled professional because the interns there would have experience with real life impacting projects, here is the &lt;a href="https://hng.tech/hire"&gt;hire link&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
