<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Visualization | Ibrahim Maïga</title>
    <link>https://ibrahimmaiga.com/tag/visualization/</link>
      <atom:link href="https://ibrahimmaiga.com/tag/visualization/index.xml" rel="self" type="application/rss+xml" />
    <description>Visualization</description>
    <generator>Wowchemy (https://wowchemy.com)</generator><language>en-us</language><lastBuildDate>Sat, 15 Jun 2024 00:00:00 +0000</lastBuildDate>
    <image>
      <url>https://ibrahimmaiga.com/media/icon_hufd6f977d0fa8c1812e905f5bcd032e38_62203_512x512_fill_lanczos_center_3.png</url>
      <title>Visualization</title>
      <link>https://ibrahimmaiga.com/tag/visualization/</link>
    </image>
    
    <item>
      <title>Global Warming Effects: Big Data Analysis Reveals Surprising Connections</title>
      <link>https://ibrahimmaiga.com/project/big-data-analysis-with-pyspark/</link>
      <pubDate>Sat, 15 Jun 2024 00:00:00 +0000</pubDate>
      <guid>https://ibrahimmaiga.com/project/big-data-analysis-with-pyspark/</guid>
      <description>&lt;h2 id=&#34;contents&#34;&gt;Contents&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;1. Introduction&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. Data&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. ETL Pipeline&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. Database Migration&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5. Dashboarding with Power BI&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;6. Results and Findings&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;7. Limitations and Challenges&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;8. Conclusion&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;9. References&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id=&#34;abstract&#34;&gt;Abstract&lt;/h2&gt;
&lt;p&gt;This report explores the impact of global warming on crime rates, birth rates, and energy consumption in the United States and Canada. With the evolution towards a digitally connected world, the volume, variety, and velocity of data have increased significantly. To derive valuable insights from this data, we utilized temperature, crime, natality, and energy consumption data from various sources. By employing big data tools and techniques, we transformed raw data into meaningful insights. Key findings indicate that higher temperatures are correlated with increased crime rates and energy consumption, while extreme temperatures are associated with reduced birth rates. This project demonstrates the potential of big data in enhancing our understanding of the implications of global warming.&lt;/p&gt;
&lt;p&gt;This project aims to integrate and analyze diverse data sources to gain insights into the correlations between weather patterns, birth rates, crime statistics, and energy consumption in Canada and the USA. By leveraging big data technologies such as Hadoop, PostgreSQL, MongoDB, MySQL, and MSSQL Server, we aim to build a comprehensive ETL pipeline that facilitates the seamless collection, storage, and analysis of large datasets. The outcome will provide valuable insights to inform policy decisions and operational strategies across various sectors.&lt;/p&gt;
&lt;h2 id=&#34;1-introduction&#34;&gt;1. Introduction&lt;/h2&gt;
&lt;p&gt;The digital age has led to an exponential increase in data generation, characterized by high volume, variety, and velocity. Managing this much data requires robust data governance policies and best practices. However, the true value of data lies in its ability to provide actionable insights. This project aims to analyze the impact of global warming on crime rates, birth rates, and energy consumption in the US and Canada using temperature, crime, natality, and energy consumption data.&lt;/p&gt;
&lt;p&gt;The goal of this project is to leverage big data technologies to process and analyze data from multiple sources, thereby gaining a better understanding of how rising global temperatures affect various societal metrics. By integrating and analyzing data from different databases, we aim to uncover patterns and correlations that can inform policy decisions and future research. The goal is to create a seamless data flow from collection to analysis, enabling comprehensive insights into how these variables interact over time and across regions.&lt;/p&gt;
&lt;h2 id=&#34;2-data&#34;&gt;2. Data&lt;/h2&gt;
&lt;h3 id=&#34;21-data-sources&#34;&gt;2.1 Data Sources&lt;/h3&gt;
&lt;p&gt;This project extracts data from various publicly available sources to collect the data required for our analysis, including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;APIs from weather services, crime statistics bureaus, and energy consumption reports.&lt;/li&gt;
&lt;li&gt;Publicly available datasets from Government websites and international organisations.&lt;/li&gt;
&lt;li&gt;Synthetic data.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In order to conduct our analysis, it is crucial to ensure that the datasets we collect are on a daily basis. This is imperative for our process. The datasets that were sourced in this project are listed below.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://www.statcan.gc.ca/en/start&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Canada Daily Birth&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://dd.weather.gc.ca/climate/ltce/daily/temperature/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Canada Daily Temperature&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://www.ncei.noaa.gov/pub/data/uscrn/products/daily01/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;USA Daily Temperature&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/fivethirtyeight/data/blob/master/births/US_births_2000-2014_SSA.csv&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;USA Daily Birth&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://wonder.cdc.gov/controller/datarequest/D10;jsessionid=4E3CD4A6945320675A2E65F0A87B&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;USA Natality&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://www.eia.gov/electricity/gridmonitor/dashboard/electric_overview/US48/US48&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;USA Daily Energy Consumption&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Additional sources:&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.kaggle.com/datasets/sobhanmoosavi/us-accidents/data?select=US_Accidents_March23.csv&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;USA Accidents&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.kaggle.com/datasets/tbsteal/canadian-car-accidents-19942014&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Canadian Car Accidents&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.kaggle.com/datasets/robikscube/hourly-energy-consumption&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;USA Hourly Energy Consumption&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;22-databases&#34;&gt;2.2 Databases&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Data Collection and Preprocessing&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Data was gathered from nine different sources, pre-processed, and stored in seven databases as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Apache Hadoop:&lt;/strong&gt; US crime data (us_crime.csv)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Snowflake:&lt;/strong&gt; Canadian temperature data (ca_temp.csv)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PostgreSQL:&lt;/strong&gt; US temperature data (us_temp.csv)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MySQL:&lt;/strong&gt; US birth data (us_birth.csv)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SQL Server:&lt;/strong&gt; US energy consumption data (us_energy.csv)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MongoDB:&lt;/strong&gt; Canadian birth data (ca_birth.json)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Local Machine Storage:&lt;/strong&gt; Canadian crime data (ca_crime.csv)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Initial data collection and preprocessing involved cleaning and standardizing the datasets. This included handling missing values, normalizing temperature readings, and ensuring consistency in the data formats across different sources.&lt;/p&gt;
&lt;p&gt;For Canadian birth data, I could only get monthly counts, and I generated the daily counts using the actual monthly totals to ensure accuracy.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/big-data-analysis-with-pyspark/Project-image1_hu8acd88d6331fae5b7af57abe8485e68f_57034_5df1b7acb31043865fa0de4c44d358d9.webp 400w,
               /project/big-data-analysis-with-pyspark/Project-image1_hu8acd88d6331fae5b7af57abe8485e68f_57034_ebfd27c3d31dcd737e115e3cf5650d89.webp 760w,
               /project/big-data-analysis-with-pyspark/Project-image1_hu8acd88d6331fae5b7af57abe8485e68f_57034_1200x1200_fit_q75_h2_lanczos.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/big-data-analysis-with-pyspark/Project-image1_hu8acd88d6331fae5b7af57abe8485e68f_57034_5df1b7acb31043865fa0de4c44d358d9.webp&#34;
               width=&#34;603&#34;
               height=&#34;340&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;DBeaver UI on Azure VM&lt;/center&gt;
&lt;h2 id=&#34;programming-languages&#34;&gt;PROGRAMMING LANGUAGES&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;SQL&lt;/li&gt;
&lt;li&gt;PySpark&lt;/li&gt;
&lt;li&gt;Shell Scripting&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;3-etl-pipeline&#34;&gt;3. ETL Pipeline&lt;/h2&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/big-data-analysis-with-pyspark/Data-Flow-Diagram_hu226df73390e6bd2d73c2d10661c78536_171225_98499043669cb8882248da0b1c0ee164.webp 400w,
               /project/big-data-analysis-with-pyspark/Data-Flow-Diagram_hu226df73390e6bd2d73c2d10661c78536_171225_e142f715787c97bd1462d8f4854f9a2c.webp 760w,
               /project/big-data-analysis-with-pyspark/Data-Flow-Diagram_hu226df73390e6bd2d73c2d10661c78536_171225_1200x1200_fit_q75_h2_lanczos.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/big-data-analysis-with-pyspark/Data-Flow-Diagram_hu226df73390e6bd2d73c2d10661c78536_171225_98499043669cb8882248da0b1c0ee164.webp&#34;
               width=&#34;760&#34;
               height=&#34;590&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;DATA FLOW DIAGRAM&lt;/center&gt;
&lt;br&gt;
&lt;p&gt;Our ETL process commences with extracting raw data from the data sources, which is then organised into several datasets. Each dataset undergoes a cleaning and pre-processing phase before being stored in its respective databases, such as Apache Hadoop, Microsoft SQL Server, PostgreSQL, and MongoDB. Additionally, one dataset is retained as a CSV file to replicate local data processing scenarios.&lt;/p&gt;
&lt;p&gt;Apache Spark is utilised to consolidate data from different databases. The consolidated data is then exported to a CSV file and imported into Azure SQL Server using SSMS. Azure SQL Server, a cloud-based service, facilitates access to its data for all team members, regardless of location.&lt;/p&gt;
&lt;p&gt;At the final stage, Power BI visualizes the data and provides insights for our research.&lt;/p&gt;
&lt;h3 id=&#34;31-data-cleaning&#34;&gt;3.1 DATA CLEANING&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Data Alignment:&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Aligned datasets to a common timeline to ensure consistency in time series analysis. This involved transforming various temporal resolutions (daily, monthly, yearly) into a unified format.&lt;/p&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;&lt;strong&gt;Data Normalization:&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Standardized units of measurement across different datasets (e.g., Fahrenheit to Celsius for temperature data&lt;/li&gt;
&lt;li&gt;Harmonized categorical variables, especially in crime datasets, to ensure comparability between US and Canada data.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;&lt;strong&gt;Handling Missing Data:&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Identified and addressed missing values through interpolation or imputation methods.&lt;/li&gt;
&lt;li&gt;Ensured that the missing data did not skew the results by applying appropriate statistical techniques.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;&lt;strong&gt;Data Filtering:&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Filtered out irrelevant data points and outliers that could affect the analysis. For instance, extreme temperature values that were likely recording errors were excluded.&lt;/p&gt;
&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;&lt;strong&gt;Data Integration:&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Merged datasets from different sources, ensuring data integrity and consistency.&lt;/li&gt;
&lt;li&gt;Used ETL (Extract, Transform, Load) processes to consolidate data into a unified database, facilitating easier access and analysis.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;6&#34;&gt;
&lt;li&gt;&lt;strong&gt;Data Validation:&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Validated the accuracy of the data by cross-referencing with reliable sources.&lt;/li&gt;
&lt;li&gt;Ensured that the datasets were free from duplicates and errors.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;32-data-consolidation&#34;&gt;3.2 DATA CONSOLIDATION&lt;/h3&gt;
&lt;p&gt;To facilitate comprehensive analysis, we configured an Azure VM with 4 CPUs and 8GB RAM to host a single-node Hadoop cluster, PySpark, and DBeaver. However, due to resource constraints, this VM was inadequate, leading to its replacement with a more powerful VM with 8 CPUs and 32GB RAM.&lt;/p&gt;
&lt;p&gt;Using PySpark, we aggregated data from the six databases, performed additional cleaning, and joined the datasets to create a unified dataset. The combined dataset was then exported to Azure SQL Server and subsequently imported into PowerBI for analysis and reporting.&lt;/p&gt;
&lt;p&gt;To effectively manage and analyze the large and varied datasets, we utilized PySpark for aggregation and querying. PySpark is the Python API for Apache Spark, which is a powerful open-source distributed computing system.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Benefits of Using PySpark:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Scalability: PySpark’s distributed computing capabilities allowed me to scale the data processing tasks across multiple nodes, handling large volumes of data efficiently.&lt;/li&gt;
&lt;li&gt;Speed: Spark’s in-memory processing and optimized execution plans significantly reduced the time required for data aggregation and querying compared to traditional methods.&lt;/li&gt;
&lt;li&gt;Integration: PySpark seamlessly integrates with various data sources, including HDFS, Apache Hive, and relational databases like MySQL and PostgreSQL, enabling easy data consolidation from diverse sources.&lt;/li&gt;
&lt;li&gt;Flexibility: PySpark supports both SQL queries and complex data transformations using its DataFrame API, providing the flexibility needed for our data consolidation tasks.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Data Loading&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I loaded the cleaned datasets into Spark DataFrames from various storage systems, including Snowflake and Hadoop Distributed File System (HDFS).&lt;/p&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;&lt;strong&gt;Data Transformation&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Using PySpark’s DataFrame API, I performed necessary transformations such as filtering, joining, and grouping data. These transformations helped in aligning the data from different sources and preparing it for analysis.&lt;/p&gt;
&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;&lt;strong&gt;Aggregation&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;PySpark’s powerful aggregation functions enabled me to compute summary statistics, such as average daily birth rates and total daily energy consumption, across large datasets efficiently.&lt;/p&gt;
&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;&lt;strong&gt;Querying&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For querying the data, I used PySpark SQL, which allowed me to run SQL-like queries on the dataframes. This approach provided an intuitive and familiar interface for data analysts to extract insights from the consolidated data.&lt;/p&gt;
&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;&lt;strong&gt;Data Export&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After performing the necessary aggregations and queries, the resulting datasets were exported to formats suitable for further analysis and visualization, such as CSV files and tables in a relational database. In our case we are using PowerBi for further visualization&lt;/p&gt;
&lt;h2 id=&#34;4-data-migration&#34;&gt;4. Data Migration&lt;/h2&gt;
&lt;p&gt;Data migration involves transferring data from source systems to the target data warehouse. This process ensures that data is accurately and efficiently moved while maintaining its integrity. ETL scripting techniques and database connector tools facilitated smooth migration and data replication.&lt;/p&gt;
&lt;h2 id=&#34;5-dashboarding-with-power-bi&#34;&gt;5. Dashboarding with Power BI&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;PowerBI&lt;/strong&gt; was used to create various visualizations to represent the findings:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Heat maps&lt;/strong&gt; depicting the correlation between temperature and crime rates.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Line graphs&lt;/strong&gt; showing trends in birth rates relative to temperature variations.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Bar charts&lt;/strong&gt; illustrating energy consumption patterns in relation to temperature changes.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/big-data-analysis-with-pyspark/Project-image4_huda274e881198bee02482b0b3ed192c20_25839_3bf146130f6dc4e3ec0f5796098f1b49.webp 400w,
               /project/big-data-analysis-with-pyspark/Project-image4_huda274e881198bee02482b0b3ed192c20_25839_71ac4029bf769d8a08f8f6c82ec4ef76.webp 760w,
               /project/big-data-analysis-with-pyspark/Project-image4_huda274e881198bee02482b0b3ed192c20_25839_1200x1200_fit_q75_h2_lanczos.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/big-data-analysis-with-pyspark/Project-image4_huda274e881198bee02482b0b3ed192c20_25839_3bf146130f6dc4e3ec0f5796098f1b49.webp&#34;
               width=&#34;547&#34;
               height=&#34;346&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Figure 1. The average temperature in the US vs Canada, in Celsius&lt;/center&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/big-data-analysis-with-pyspark/Project-image5_hu2482980dbb27bc7f07755e621c6f124c_57246_b57babb9d3dd3d159fe0b9aad0769681.webp 400w,
               /project/big-data-analysis-with-pyspark/Project-image5_hu2482980dbb27bc7f07755e621c6f124c_57246_03c76429e764b8da46773b8511ceb395.webp 760w,
               /project/big-data-analysis-with-pyspark/Project-image5_hu2482980dbb27bc7f07755e621c6f124c_57246_1200x1200_fit_q75_h2_lanczos.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/big-data-analysis-with-pyspark/Project-image5_hu2482980dbb27bc7f07755e621c6f124c_57246_b57babb9d3dd3d159fe0b9aad0769681.webp&#34;
               width=&#34;601&#34;
               height=&#34;340&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Figure 2. Locations and quantities of data collected&lt;/center&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/big-data-analysis-with-pyspark/Project-image6_hu88da25768bb3514c5cf0f06c14c9a7f3_37711_6ed3fa72c5bfc9cf5abf8732e22eb980.webp 400w,
               /project/big-data-analysis-with-pyspark/Project-image6_hu88da25768bb3514c5cf0f06c14c9a7f3_37711_cbff4c2e9d79c499a6503fb3b32e958a.webp 760w,
               /project/big-data-analysis-with-pyspark/Project-image6_hu88da25768bb3514c5cf0f06c14c9a7f3_37711_1200x1200_fit_q75_h2_lanczos.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/big-data-analysis-with-pyspark/Project-image6_hu88da25768bb3514c5cf0f06c14c9a7f3_37711_6ed3fa72c5bfc9cf5abf8732e22eb980.webp&#34;
               width=&#34;601&#34;
               height=&#34;341&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Figure 3. Dashboard of US Statistics, including birth rate, energy demand, and crime rate&lt;/center&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/big-data-analysis-with-pyspark/Project-image7_hu89f6170cfdb1663ea7412a0cce598ae0_43933_b713b0c7344af030f8104843de18c07f.webp 400w,
               /project/big-data-analysis-with-pyspark/Project-image7_hu89f6170cfdb1663ea7412a0cce598ae0_43933_34a54345112f46acc47a352bdd049a2c.webp 760w,
               /project/big-data-analysis-with-pyspark/Project-image7_hu89f6170cfdb1663ea7412a0cce598ae0_43933_1200x1200_fit_q75_h2_lanczos.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/big-data-analysis-with-pyspark/Project-image7_hu89f6170cfdb1663ea7412a0cce598ae0_43933_b713b0c7344af030f8104843de18c07f.webp&#34;
               width=&#34;603&#34;
               height=&#34;342&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Figure 4. Dashboard of Canada’s Statistics, including birth rate, max and min temperatures, and crime rate&lt;/center&gt;
&lt;h2 id=&#34;6-results-and-findings&#34;&gt;6. Results and Findings&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Temperature Trends:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Average temperatures in the US are higher than in Canada.
There is a noticeable increase in temperatures over the years, indicative of global warming trends.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Crime Rates:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Higher temperatures are positively correlated with increased crime rates in both the US and Canada.
This correlation suggests that as temperatures rise, the likelihood of criminal activity also increases.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Birth Rates:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Extremely high temperatures are associated with reduced birth rates in both countries.
This trend may be attributed to the adverse effects of heat on human health and fertility.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Energy Consumption:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Energy consumption is directly correlated with temperature variations.
Higher temperatures lead to increased energy demand, particularly for cooling purposes, while lower temperatures increase heating needs.&lt;/p&gt;
&lt;h2 id=&#34;7-limitations-and-challenges&#34;&gt;7. Limitations and Challenges&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Procuring datasets that matched for all the metrics we are querying&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Datasets with dissimilar scopes of time, frequency of data collection, and even unit measurements were a significant challenge that necessitated the use of big data analytical tools to aggregate this data across multiple sources and adjust it to be comparable.&lt;/li&gt;
&lt;li&gt;Ensuring that the crime data included a similar scope of criminality – certain crimes in Canada aren’t even considered crimes in the US.&lt;/li&gt;
&lt;li&gt;Ensuring data relevant to my use case met the standards for big data in terms of size and format (CSV vs JSON).&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;&lt;strong&gt;Issues with resources and resource allocation&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Handling large datasets requires substantial computational power and memory. My initial Azure Virtual Machine setup did not provide sufficient power to efficiently process and analyze the data, which led to multiple crashes of Spark sessions.&lt;/li&gt;
&lt;li&gt;I encountered an issue with the Hadoop NameNode entering safe mode, which halted all read and write operations on the file system. Safe mode is generally enabled when the NameNode detects resource constraints or during startup until a minimum percentage of data blocks are replicated safely. This can disrupt workflows, especially in resource-intensive tasks.&lt;/li&gt;
&lt;li&gt;Procuring high-quality datasets, especially from paid sources, and upgrading computational resources were constrained by budget limits.&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;&lt;strong&gt;Difficulties connecting different databases and aggregating data&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;Integrating data from heterogeneous sources (Hadoop HDFS, Snowflake, SQL Server, MongoDB, PostgreSQL, and MySQL) involved significant compatibility issues. Each database has its own query language and data handling mechanisms.&lt;/li&gt;
&lt;li&gt;Aggregating data from different sources required complex ETL processes. Ensuring data integrity and consistency across databases was a major hurdle.&lt;/li&gt;
&lt;li&gt;Querying large datasets across different databases resulted in high latency and performance issues, slowing down the analysis.&lt;/li&gt;
&lt;li&gt;Each database have a different schema for storing similar data, necessitating a thorough understanding and mapping of these schemas for accurate data integration.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;8-conclusion&#34;&gt;8. Conclusion&lt;/h2&gt;
&lt;p&gt;This project demonstrates the potential of big data in transforming raw data into valuable insights. By analyzing the impact of global warming on crime rates, birth rates, and energy consumption, I have uncovered significant correlations that can inform policy and decision-making. The findings highlight the importance of addressing climate change and its far-reaching effects on society.&lt;/p&gt;
&lt;p&gt;Future work could involve extending the analysis to include additional metrics and regions, as well as exploring predictive modeling techniques to forecast the impacts of global warming. Continued advancements in big data technologies and methodologies will further enhance our ability to derive meaningful insights from complex datasets.&lt;/p&gt;
&lt;p&gt;This project underscores the value of big data in understanding and addressing global challenges, reinforcing the need for robust data governance and analytics frameworks.&lt;/p&gt;
&lt;h2 id=&#34;9-references&#34;&gt;9. References&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;https://climate-change.canada.ca/climate-data/#/daily-climate-data&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Government of Canada. (n.d.). Daily climate data. Retrieved July 11, 2024&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://dd.weather.gc.ca/climate/ltce/daily/temperature/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Government of Canada. (n.d.). Daily temperature data. Retrieved July 11, 2024&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.ncei.noaa.gov/access/crn/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;National Centers for Environmental Information. (n.d.). Climate Reference Network (CRN). Retrieved July 11, 2024&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.ncei.noaa.gov/pub/data/uscrn/products/daily01/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;National Centers for Environmental Information. (n.d.). U.S. Climate Reference Network (USCRN) daily data. Retrieved July 11, 2024&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/jakevdp/data-CDCbirths/blob/master/births.csv&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;VanderPlas, J. (n.d.). CDC births data. GitHub. Retrieved July 11, 2024&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/fivethirtyeight/data/blob/master/births/US_births_2000-2014_SSA.csv&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;FiveThirtyEight. (n.d.). US births 2000-2014 data. GitHub. Retrieved July 11, 2024&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://wonder.cdc.gov/controller/datarequest/D10;jsessionid=4E3CD4A6945320675A2E65F0A87B&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Centers for Disease Control and Prevention. (n.d.). CDC WONDER data request. Retrieved July 11, 2024&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.kaggle.com/datasets/sobhanmoosavi/us-accidents/data?select=US_Accidents_March23.csv&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Kaggle. (n.d.). US accidents data. Retrieved July 11, 2024&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.kaggle.com/datasets/tbsteal/canadian-car-accidents-19&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;Kaggle. (n.d.). Canadian car accidents (1994-2014) [Data set]. Retrieved July 11, 2024&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
    </item>
    
    <item>
      <title>The Art and Science of Movie Production: A Data-Driven Approach</title>
      <link>https://ibrahimmaiga.com/project/insights-for-film-production-strategy/</link>
      <pubDate>Thu, 11 Apr 2024 00:00:00 +0000</pubDate>
      <guid>https://ibrahimmaiga.com/project/insights-for-film-production-strategy/</guid>
      <description>&lt;h2 id=&#34;a-definition-objectives-and-scope&#34;&gt;A. Definition, Objectives, and Scope&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Company Overview&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Bon Films Inc. is a mid-budget film production company, operating within a financial range of 100,000 to 1,000,000 USD. The company also runs an in-house streaming service that focuses on English and French-language films for the Canadian market. Unlike traditional film production companies that rely heavily on creative intuition, Bon Films employs a data-driven approach integrated into its production and distribution model. This method supports informed creative decisions, ensures efficient turnaround times, and maintains a balance between financial goals and artistic integrity.&lt;/p&gt;
&lt;p&gt;The main objective is to use data insights to improve decision-making processes, especially in determining the optimal runtimes for movies and identifying the directors best suited for specific genres. This strategy aims to enhance the financial viability of projects while preserving the creative aspects of filmmaking.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Industry Context&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The global entertainment and media industry is estimated to have a total revenue of $2.8 trillion USD in 2023, and is expected to grow at a compound annual growth rate of 3.9% over the next five years, as reported by &lt;a href=&#34;https://www.pwc.com/gx/en/issues/business-model-reinvention/outlook/insights-and-perspectives.html&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;PricewaterhouseCoopers&lt;/a&gt;. With the advent of streaming platforms, audience retention and engagement have become crucial metrics. Data-driven strategies are increasingly employed to mitigate risks and align productions with prevailing successful trends. Nonetheless, excessive reliance on data has often led to a saturation of repetitive content, potentially stifling creativity. By focusing on runtime and genre-specific data, Bon Films aims to produce content that balances creative uniqueness with commercial viability, emphasizing collaborations with emerging directors aligned with the company’s strategic goals.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Functional Areas of Focus&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The analysis conducted in this context spans multiple functional areas, including finance, sales, and marketing. Financial investment strategies, marketing efforts, and production timelines are optimized through data analysis to align with audience preferences and industry standards. Understanding the correlation between movie runtime and genre is vital for producing content that meets both consumer expectations and financial objectives.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Objectives&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The main objective is to develop a production strategy rooted in data-driven insights. This involves analyzing competitor data with a focus on key elements such as budget, revenue, runtime, cast, language, genre, and audience ratings. Such an analysis will inform strategic decisions for upcoming projects to maximize their potential for success, both at the box office and on the company’s streaming platform. Additionally, segmenting the analysis by genre ensures that movie formats align with audience expectations and minimize risks such as viewer drop-off due to excessive runtimes.&lt;/p&gt;
&lt;p&gt;Another key objective is to identify emerging directors whose work aligns with Bon Films’ strategic vision and creative direction.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/insights-for-film-production-strategy/TextTable_hua03a780f086e2404f251b56162399ae3_107703_892fad5c5718f20163d3edcfb40649d2.webp 400w,
               /project/insights-for-film-production-strategy/TextTable_hua03a780f086e2404f251b56162399ae3_107703_6639a2ca8e8a8cf7432e502a1f05b276.webp 760w,
               /project/insights-for-film-production-strategy/TextTable_hua03a780f086e2404f251b56162399ae3_107703_1200x1200_fit_q75_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/insights-for-film-production-strategy/TextTable_hua03a780f086e2404f251b56162399ae3_107703_892fad5c5718f20163d3edcfb40649d2.webp&#34;
               width=&#34;576&#34;
               height=&#34;576&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Text Table&lt;/center&gt;
&lt;p&gt;&lt;strong&gt;Scope of Analysis&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The scope of this analysis is confined to films that align with Bon Films’ budget range and have verifiable revenue data. Films with missing or incomplete revenue documentation will be excluded to ensure the results are relevant and applicable to the company’s operations and financial strategy.&lt;/p&gt;
&lt;h2 id=&#34;b-data-acquisition&#34;&gt;B. Data Acquisition&lt;/h2&gt;
&lt;p&gt;The data for this analysis is sourced from &lt;a href=&#34;https://www.kaggle.com/datasets/rounakbanik/the-movies-dataset&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;The Movies Dataset&lt;/a&gt; on Kaggle, which consolidates information from &lt;a href=&#34;https://www.themoviedb.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;TMDb&lt;/a&gt; and &lt;a href=&#34;https://www.imdb.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;IMDb&lt;/a&gt;. These are well-established databases in the film industry, maintained and updated regularly by industry professionals. The dataset includes a unified identifier linking primary keys from both TMDb and IMDb, facilitating consistent data analysis. Preprocessing and data cleaning, such as JSON parsing for genre extraction, are conducted using Tableau Prep to ensure the dataset is ready for visualization and analysis.&lt;/p&gt;
&lt;h2 id=&#34;c-data-visualization&#34;&gt;C. Data Visualization&lt;/h2&gt;
&lt;p&gt;Data visualization is performed using Tableau, which enables the creation of comprehensive visual summaries. These include detailed text tables and interactive dashboards that highlight key trends and correlations in the data.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/insights-for-film-production-strategy/dashboard_hu0bff937c38c452295526cfbd62f11a4a_154711_a23e61acf1fed1c619af53b899d77d55.webp 400w,
               /project/insights-for-film-production-strategy/dashboard_hu0bff937c38c452295526cfbd62f11a4a_154711_8160d5aaef46df8ce8c9cb0ebabb7bee.webp 760w,
               /project/insights-for-film-production-strategy/dashboard_hu0bff937c38c452295526cfbd62f11a4a_154711_1200x1200_fit_q75_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/insights-for-film-production-strategy/dashboard_hu0bff937c38c452295526cfbd62f11a4a_154711_a23e61acf1fed1c619af53b899d77d55.webp&#34;
               width=&#34;760&#34;
               height=&#34;339&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Dashboard&lt;/center&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Data Discoveries&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The challenge faced by Bon Films is selecting movie genres and optimal release schedules that maximize revenue. This requires a historical analysis of revenue trends, genre-specific profitability, seasonal performance, and return on investment (ROI).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Key Observations&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Bon Films Inc. leverages data analysis and visualization to enhance its production processes. By using historical data and viewer preferences, Bon Films strategically optimizes projects to maximize revenue. Tools like Tableau Prep and Tableau are used to transform raw data into actionable insights, demonstrating technical expertise and facilitating complex data storytelling. This positions Bon Films as a proactive industry player employing innovative, data-driven strategies.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Release Timing&lt;/strong&gt;: The analysis indicates that movie releases in June and December tend to yield higher revenue. This trend points to the potential benefits of strategically timing film releases to coincide with peak moviegoing periods, such as summer holidays and the festive season.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Genre Profitability&lt;/strong&gt;: Action, Adventure, and Drama genres have demonstrated significant profitability. These genres have consistently attracted large audiences and generated substantial revenues, making them suitable for investment.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Viewer Preferences&lt;/strong&gt;: Drama as a genre receives a high volume of viewer votes, indicating that audiences value it both critically and commercially. This suggests that producing quality Drama films could satisfy audience demand while maintaining profitability.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ROI Analysis&lt;/strong&gt;: A positive correlation is evident between budget size and revenue, which is valuable for informing budget allocation decisions. Higher-budget productions tend to yield higher revenues, although this relationship must be balanced against potential financial risk.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Genre-Specific Revenue Insights&lt;/strong&gt;: The following chart visualizes average budget and revenue by genre, highlighting that Animation, Adventure, and Family films command higher budgets and revenues, underscoring their profitability. However, these high-revenue genres risk saturation as they attract heavy investment, leading to increased competition and potentially diminishing returns. Conversely, genres like Romance, Comedy, and Horror, while yielding lower average revenues, present valuable growth opportunities with less competition, allowing Bon Films to diversify its portfolio strategically. This data-driven approach informs investment in promising genres while balancing potential risks in saturated markets.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/insights-for-film-production-strategy/clustering_hu46bb742b4b7ce3acf7b991304a8d4555_63616_223e37a686f29bdfe04e1807c076a5e5.webp 400w,
               /project/insights-for-film-production-strategy/clustering_hu46bb742b4b7ce3acf7b991304a8d4555_63616_74531821635874050dc3a18b2d16dc21.webp 760w,
               /project/insights-for-film-production-strategy/clustering_hu46bb742b4b7ce3acf7b991304a8d4555_63616_1200x1200_fit_q75_h2_lanczos.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/insights-for-film-production-strategy/clustering_hu46bb742b4b7ce3acf7b991304a8d4555_63616_223e37a686f29bdfe04e1807c076a5e5.webp&#34;
               width=&#34;760&#34;
               height=&#34;611&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Cluster Analysis&lt;/center&gt;
&lt;p&gt;&lt;strong&gt;Trends and Patterns&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Seasonal trends reveal that timing releases to align with peak viewing periods, like June and December, can greatly enhance box office performance. The Action and Adventure genres, in particular, demonstrate consistently high ROI, indicating their resilience to market fluctuations. Key insights from this analysis highlight optimal release periods, high-profit genres, and the positive relationship between budget and revenue. Recommendations include exploring genre crossovers, catering to audience preferences, and employing strategic budgeting to maximize returns.&lt;/p&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;&lt;strong&gt;Root Cause Analysis&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The strategic goal of Bon Films is to use data to guide production decisions and mitigate risk without stifling creativity. Initial analyses reveal that uneven data distribution across genres, due to movies being tagged with multiple categories, can complicate genre-specific insights. To refine target genres, it is crucial to address this distribution issue.&lt;/p&gt;
&lt;p&gt;Historical data also reveals that poorly reviewed movies often perform poorly at the box office. Thus, public reception and critical acclaim play a key role in determining commercial success. The hypothesis that shorter runtimes are more suitable for certain genres, such as Animation targeting younger audiences, finds support in the analysis. This allows for strategic adjustments to runtime, depending on the target demographic and genre.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Findings&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;The historical revenue and budget trends chart for Bon Films indicates significant fluctuations over the years. Sharp peaks and valleys illustrate revenue volatility, with an average line providing a baseline for typical revenue and budget. The downward profit trend in 2023 warrants a focused investigation into genre choices and thematic content.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/insights-for-film-production-strategy/budget-revenue_huf594adffd610712099daefaa4b890ed9_118542_7081dfc35a6b9fe1630a7561cb015a84.webp 400w,
               /project/insights-for-film-production-strategy/budget-revenue_huf594adffd610712099daefaa4b890ed9_118542_d93c9014e4f43978741e0c998455c5ee.webp 760w,
               /project/insights-for-film-production-strategy/budget-revenue_huf594adffd610712099daefaa4b890ed9_118542_1200x1200_fit_q75_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/insights-for-film-production-strategy/budget-revenue_huf594adffd610712099daefaa4b890ed9_118542_7081dfc35a6b9fe1630a7561cb015a84.webp&#34;
               width=&#34;760&#34;
               height=&#34;386&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Budget vs Revenue&lt;/center&gt;
&lt;p&gt;&lt;strong&gt;Runtime Considerations&lt;/strong&gt;: High-performing Animation films often have longer runtimes and deviate from strictly family-oriented themes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Action and Adventure&lt;/strong&gt;: These genres benefit from extended runtimes, which allow for deeper story development and higher engagement.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Recommendation&lt;/strong&gt;: For initial projects, producing an Animated Action-Adventure film approximately two hours in length and releasing it in December could align with observed revenue trends and audience expectations.&lt;/p&gt;
&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;&lt;strong&gt;Insights and Recommendations&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Scorecard Analysis&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;Profit analysis from 2020 to 2022 shows a steady growth trajectory, indicating initial success in adopting data-driven production strategies. However, a profit decline of 23.1% in 2023 suggests the need for further investigation into specific areas such as genre choices, thematic content, and marketing strategies.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Budget and Revenue Observations&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;The world map of film production budgets highlights the highest average film budgets in countries like Germany, China, and Australia. This insight helps Bon Films consider international market trends for potential expansion and strategic partnerships. While the U.S. and Canada have smaller average budgets, they offer unique production opportunities at competitive prices.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/insights-for-film-production-strategy/map_hu2880f024ae57f4748c1f5c37ae616d65_264413_6bbdda8b25816fe460a6ce844d644ea7.webp 400w,
               /project/insights-for-film-production-strategy/map_hu2880f024ae57f4748c1f5c37ae616d65_264413_541edf70a0ae5f5195dc320c9f520e3f.webp 760w,
               /project/insights-for-film-production-strategy/map_hu2880f024ae57f4748c1f5c37ae616d65_264413_1200x1200_fit_q75_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/insights-for-film-production-strategy/map_hu2880f024ae57f4748c1f5c37ae616d65_264413_6bbdda8b25816fe460a6ce844d644ea7.webp&#34;
               width=&#34;760&#34;
               height=&#34;380&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;World Map&lt;/center&gt;
&lt;p&gt;&lt;strong&gt;Strategic Recommendations&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Investigate Profit Declines&lt;/strong&gt;: A thorough analysis of the 2023 decline should be conducted, focusing on genre distribution, thematic trends, and marketing effectiveness to identify actionable areas for improvement.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Budget Optimization&lt;/strong&gt;: Refining budget allocation strategies to enhance efficiency without reducing production quality is essential for sustainable growth.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Adopt Proven Successful Elements&lt;/strong&gt;: Studying high-performing films in the market for replicable success factors can offer valuable insights.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Innovative Content and New Directors&lt;/strong&gt;: Introducing innovative themes and collaborating with emerging directors can infuse fresh perspectives and attract new audiences. Leveraging new technologies within Animation and other underutilized genres could further enhance Bon Films’ competitive position.&lt;/p&gt;
&lt;p&gt;Utilizing a Pareto analysis of genre profitability can guide refined strategic decisions. By identifying top-performing genres responsible for the majority of revenue, resources can be optimally allocated to focus on these high-impact areas.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34; srcset=&#34;
               /project/insights-for-film-production-strategy/Pareto_hu3aa6691f61918ce558af841adf19d23a_61906_bf38bf4b8fa114f35190ec96e3662db9.webp 400w,
               /project/insights-for-film-production-strategy/Pareto_hu3aa6691f61918ce558af841adf19d23a_61906_5741c4bc57273531e608163a0ef81b24.webp 760w,
               /project/insights-for-film-production-strategy/Pareto_hu3aa6691f61918ce558af841adf19d23a_61906_1200x1200_fit_q75_h2_lanczos_3.webp 1200w&#34;
               src=&#34;https://ibrahimmaiga.com/project/insights-for-film-production-strategy/Pareto_hu3aa6691f61918ce558af841adf19d23a_61906_bf38bf4b8fa114f35190ec96e3662db9.webp&#34;
               width=&#34;760&#34;
               height=&#34;386&#34;
               loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Pareto chart&lt;/center&gt;
&lt;h2 id=&#34;d-conclusion&#34;&gt;D. Conclusion&lt;/h2&gt;
&lt;p&gt;Combining detailed data analysis with strategic cost management and creative innovation provides a clear pathway for Bon Films to achieve sustained growth and profitability. Aligning production strategies with data-driven insights ensures films resonate with audiences while meeting financial goals.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Predicting SpaceX Rocket Landings: A Data Science Journey</title>
      <link>https://ibrahimmaiga.com/project/spacex-falcon9-landing-prediction/</link>
      <pubDate>Sun, 21 Jan 2024 00:00:00 +0000</pubDate>
      <guid>https://ibrahimmaiga.com/project/spacex-falcon9-landing-prediction/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;SpaceX has redefined aerospace economics with its reusable rocket system, achieving historic milestones that set it apart in the space industry. Since December 2010, SpaceX has been the only private company to return a spacecraft from low-Earth orbit. In 2024, it offers Falcon 9 rocket launches at a highly competitive price of approximately 67 million dollars per launch, a significant reduction compared to other providers. The closest competitor to the Falcon 9 in terms of payload capacity and market segment is ULA&amp;rsquo;s Atlas V rocket, which had a launch cost of approximately 115 million per launch. The primary factor behind these cost savings is the reusability of the Falcon 9’s first stage, which allows for refurbishment and relaunch at a fraction of traditional costs.&lt;/p&gt;
&lt;h2 id=&#34;project-goal&#34;&gt;Project Goal&lt;/h2&gt;
&lt;p&gt;The primary objective was to develop a machine learning model capable of predicting Falcon 9 landing successes. Such a model could inform launch cost estimations and enhance mission planning, offering additional insights that could benefit other space organizations aiming to optimize their own rocket landings.&lt;/p&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img alt=&#34;&#34;
           src=&#34;https://ibrahimmaiga.com/project/spacex-falcon9-landing-prediction/spacex-landing.gif&#34;
           loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Successful Landings&lt;/center&gt;
&lt;p&gt;















&lt;figure  &gt;
  &lt;div class=&#34;d-flex justify-content-center&#34;&gt;
    &lt;div class=&#34;w-100&#34; &gt;&lt;img src=&#34;https://cf-courses-data.s3.us.cloud-object-storage.appdomain.cloud/IBMDeveloperSkillsNetwork-DS0701EN-SkillsNetwork/api/Images/crash.gif&#34; alt=&#34;&#34; loading=&#34;lazy&#34; data-zoomable /&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;center&gt;Failed landings&lt;/center&gt;
&lt;h2 id=&#34;data-collection-and-initial-analysis&#34;&gt;Data Collection and Initial Analysis&lt;/h2&gt;
&lt;p&gt;This project leverages a comprehensive dataset of SpaceX missions to explore the potential of machine learning in predicting Falcon 9 landing success, providing insights into the factors influencing landing rates, such as payload mass, orbit type, and launch site location. By analyzing these elements, machine learning models can support more accurate cost estimations, mission planning, and optimized launch operations, offering a deeper understanding of SpaceX’s competitive advantage in the space sector.&lt;/p&gt;
&lt;p&gt;The analysis used launch data from two main sources:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Historical Data (2010-2020)&lt;/strong&gt;: Launch data from SpaceX’s history was obtained from existing datasets.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Recent Launches (2020-present)&lt;/strong&gt;: Supplemented with web scraping from Wikipedia using BeautifulSoup4.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Exploratory analysis identified several key patterns:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Launch Sites&lt;/strong&gt;: Cape Canaveral Space Force Station (CCSFS) had the highest number of successful launches, while Kennedy Space Center (KSC) and Vandenberg Space Force Base (VSFB) showed the highest success rates at 77%.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Payload Mass&lt;/strong&gt;: The highest success rates were observed in launches with payloads between 9,000-16,000 kg.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Booster Version&lt;/strong&gt;: The Falcon 9 B5 version achieved a perfect 100% landing success rate.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;machine-learning-models-and-performance&#34;&gt;Machine Learning Models and Performance&lt;/h2&gt;
&lt;p&gt;Five machine learning models were implemented and evaluated:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Logistic Regression&lt;/strong&gt;
Logistic Regression, used for binary classification, fits data to a logistic curve to predict event
probabilities based on input features, modeling relationships between variables and binary
outcomes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Decision Tree&lt;/strong&gt;
A Decision Tree is a supervised learning algorithm used for classifying or predicting outcomes by
branching data into subsets. It creates a tree-like model of decisions, where each node represents a
feature and each leaf node signifies an outcome. This approach is valued for its clear interpretation
and handling of categorical data.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Random Forest&lt;/strong&gt;
Random Forest is a popular machine learning algorithm known for its robustness and accuracy. It
builds an ensemble of decision trees and combines their predictions to make more reliable
classifications or predictions. This approach is effective for a wide range of tasks, making Random
Forest a versatile choice in machine learning.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Stochastic Gradient Descent (SGD)&lt;/strong&gt;
Stochastic Gradient Descent (SGD) is a common optimization technique in machine learning. It
updates a model&amp;rsquo;s parameters using random training examples, making it efficient for large
datasets. SGD aims to minimize the loss function iteratively, making it useful for training machine
learning models with complex optimization tasks.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Support Vector Machine (SVM)&lt;/strong&gt;
The Support Vector Machine (SVM) is a powerful machine learning algorithm utilized for classification
and regression tasks. It is a supervised learning algorithm where a hyperplane in an n-dimensional
space is found to maximally separate the different classes in the training data. Both linear and
nonlinear classification tasks, as well as regression tasks, can be handled by SVMs. The algorithm is
particularly useful when the number of features is large compared to the number of samples, and
when the data is not linearly separable.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Each model underwent both default testing and GridSearchCV optimization. The Decision Tree model emerged as the top performer, achieving a 96.6% accuracy rate.&lt;/p&gt;
&lt;h3 id=&#34;model-comparison-and-highlights&#34;&gt;Model Comparison and Highlights&lt;/h3&gt;
&lt;p&gt;To see how the default models performed and how GridSearchCV affected different Models, let us
summarize what we observed while working with these 5 models.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Logistic Regression&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default Model: Achieved the highest score amongst the other default models.&lt;/li&gt;
&lt;li&gt;GridSearchCV: Did not substantially improve performance; default version outperformed it.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Random Forest&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default Model: Performed nicely with a high score.&lt;/li&gt;
&lt;li&gt;GridSearchCV: Benefited from tuning, reaching higher best score and best estimator rating
as compared to the default.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Decision Tree&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default Model: Performed reasonably well.&lt;/li&gt;
&lt;li&gt;GridSearchCV: Showed improvement with higher best score, best estimator performance,
and better confusion matrix performance.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;SGD (Stochastic Gradient Descent)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default Model: Showed decent performance.&lt;/li&gt;
&lt;li&gt;GridSearchCV: Tuning improved the model, accomplishing higher best score and best
estimator score.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;SVM (Support Vector Machine)&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Default Model: Showed incredibly lower overall performance.&lt;/li&gt;
&lt;li&gt;GridSearchCV: Slightly improved best score but did no longer significantly affect the best
estimator score or confusion matrix performance.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Overall&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Logistic Regression&lt;/strong&gt;: Reached 93% accuracy with default settings but faced challenges predicting failures accurately.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Random Forest&lt;/strong&gt;: Demonstrated strong performance, with optimized accuracy reaching 93.1% and high precision in predicting successes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Decision Tree&lt;/strong&gt;: Excelled with 96.6% accuracy after optimization, marking it as the best-performing model.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;feature-selection-and-insights&#34;&gt;Feature Selection and Insights&lt;/h2&gt;
&lt;p&gt;This feature selection task was performed to determine if there were any improvements with a
reduced number of features. From the original dataset of 14 features, 5 features were removed,
leaving the dataset with 9 features. The removed features were selected by a data preprocessing
procedure with the 5 least important features removed. The reduced features dataset was then
used to perform the 5 previously used models to determine how feature selection had impacted the
accuracy scores.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How Features Were Selected for Removal?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Feature importance was assessed through data preprocessing, where the dataset was evaluated using various methods to identify the top nine features for each model. The counts of these selected features were tallied across all models, with the least frequently appearing features excluded from the analysis. This approach ensured a focus on the most impactful predictors for the task.&lt;/p&gt;
&lt;p&gt;Several methods were used to identify critical features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pearson Correlation&lt;/li&gt;
&lt;li&gt;Chi-Squared Analysis&lt;/li&gt;
&lt;li&gt;Recursive Feature Elimination&lt;/li&gt;
&lt;li&gt;Embedded Lasso Regularization&lt;/li&gt;
&lt;li&gt;Embedded Random Forest and LightGBM&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Overall, the accuracy was lower with the reduced feature dataset. This suggested that all the
features were important for finding the best model. The only reason why feature removal would
have been performed was to save space for storing the dataset or to reduce the model fitting
computation.&lt;/p&gt;
&lt;p&gt;The best non-tuned model was Linear Regression with a score of 0.93 for both datasets, the highest
for untuned models. The best model for a tuned model was a decision tree with a score of almost
0.97 and 0.92 for the original and reduced datasets, respectively.&lt;/p&gt;
&lt;p&gt;Interestingly, there was a 3% improvement between untuned and tuned hyperparameters for
Random Forest of the reduced dataset that was not seen in the original dataset.&lt;/p&gt;
&lt;p&gt;Precision improved with the reduced dataset for Linear Regression. Perhaps overfitting occurred
with such a simple model with the original dataset. Decision Tree, Random Forest, and Stochastic
Gradient Descent (SGD) all saw a reduction in precision with the reduced dataset, while Support
Vector Machine (SVM) had no changes. These models needed more features to create an accurate
model.&lt;/p&gt;
&lt;p&gt;Recall overall stayed the same or reduced, with the exception of the Decision Tree. More features
seemed to be more important for model fitting. The decision tree model might have been fitted with
better features first, allowing a higher recall in the reduced feature dataset.&lt;/p&gt;
&lt;p&gt;F1 scores increased for Linear Regression, Decision Tree, and SVM models but decreased for
Random Forest and SGD models. There seemed to be no correlation between the original and
reduced datasets.&lt;/p&gt;
&lt;h2 id=&#34;interactive-visualization-of-launch-sites&#34;&gt;Interactive Visualization of Launch Sites&lt;/h2&gt;
&lt;p&gt;The project utilized Folium to create interactive maps visualizing SpaceX launch sites, success rates, and proximities to possible launch trajectories. This approach provided geographical insights into launch success and suggested characteristics for optimal launch site locations.&lt;/p&gt;
&lt;h3 id=&#34;geographic-analysis-objectives&#34;&gt;Geographic Analysis Objectives&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Marking Launch Sites&lt;/strong&gt;: Visualizing each launch site on an interactive map.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Success and Failure Markers&lt;/strong&gt;: Showing successful and failed launches at each site.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Distance Calculations&lt;/strong&gt;: Calculating distances from each site to nearby locations, exploring proximities and their impact on success rates.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;challenges-and-lessons-learned&#34;&gt;Challenges and Lessons Learned&lt;/h2&gt;
&lt;p&gt;One significant challenge involved handling imbalanced data, with successful landings outnumbering failures. This imbalance impacted the models’ ability to predict failures accurately despite high overall accuracy.&lt;/p&gt;
&lt;h2 id=&#34;practical-applications&#34;&gt;Practical Applications&lt;/h2&gt;
&lt;p&gt;The findings from this project can support:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Launch Cost Estimation&lt;/strong&gt;: Landing success predictions enable more precise cost estimation.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mission Planning and Risk Assessment&lt;/strong&gt;: Accurate predictions aid in planning and risk management.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource Allocation&lt;/strong&gt;: Success rates by site allow for optimized resource planning.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;future-improvements&#34;&gt;Future Improvements&lt;/h2&gt;
&lt;p&gt;Although the models performed well, additional improvements could enhance their predictive power:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Increasing Data Balance&lt;/strong&gt;: Collecting more data on failed landings could improve prediction accuracy.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Adding Environmental Variables&lt;/strong&gt;: Including weather data and other external conditions may improve predictions.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Developing Ensemble Methods&lt;/strong&gt;: Combining models could yield even better results.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Incorporating Real-Time Data&lt;/strong&gt;: Including telemetry data could enhance dynamic predictions.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;This project underscores the potential of machine learning to address complex aerospace challenges. Predicting landing success can lead to more precise cost estimates and optimized launch site selection, both crucial for making space travel sustainable and economically viable.&lt;/p&gt;
&lt;p&gt;This analysis highlights that simpler models, such as the Decision Tree, can sometimes outperform more complex ones when carefully optimized. As space exploration continues to evolve, data science will play a pivotal role in increasing the efficiency and accessibility of future space missions.&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>
