You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Data-Science-For-Beginners/6-Data-Science-In-Wild/20-Real-World-Examples/README.md

12 KiB

Data Science in the Real World

 Sketchnote by (@sketchthedocs)
Data Science In The Real World - Sketchnote by @nitya

We're almost at the end of this learning journey!

We started with definitions of data science and ethics, explored various tools & techniques for data analysis, reviewed the data science lifecycle, and looked at scaling and automating data science workflows with cloud computing services.

And right now, you're probably wondering: "How do these lessons translate to real-world contexts?"

In this lesson, we'll talk about the real-world applications of data science and dive into a select few examples that explore data science in research, sustainability and digital humanities contexts. And we'll conclude with resources to help you continue the learning journey and explore some of these application ideas on your own.

Where is Data Science Used Today?

Data Science technologies and techniques are finding a home in almost every industry today - thanks in no small part due to the democratization of AI, allowing developers to integrate data insights and decision-making intelligence into user experiences and workflows.

Here are some examples of "applied" data science in the real world:

  • Google Flu Trends used data science to correlate search terms with flu trends. While the approach had flaws, it raised awareness of the possibilities (and challenges) of data-driven healthcare predictions.

  • UPS Routing Predictions - explains how UPS uses data science and machine learning to predict optimal routes for delivery, taking into account weather conditions, traffic patterns, delivery deadlines and more.

  • NYC Taxicab Route Visualization - data gathered using Freedom Of Information Laws helped visualize a day in the life of NYC cabs, helping us understand how they navigate the busy city, the money they make, and the duration of trips over each 24-hour period.

  • Uber Data Science Workbench - uses data (on pickup & dropoff locations, trip duration, preferred routes etc.) gathered from millions of uber trips daily to build a data analytics tool to help with pricing, safety, fraud detection and navigation decisions.

  • Sports Analytics - focuses on predictive analytics (team and player analysis - think Moneyball - and fan management) and data visualization (team & fan dashboards, games etc.) with applications like talent scouting, sports gambling and inventory/venue management.

  • Data Science in Banking - highlights the value of data science in the finance industry with applications ranging from risk modeling and fraud detction, to customer segmentation, real-time prediction and recommender systems. Predictive analytics also drive critical measures like credit scores.

  • Data Science in Healthcare - highlights applications like medical imaging (e.g., MRI, X-Ray, CT-Scan), genomics (DNA sequencing), drug development (risk assessment, success prediction), predictive analytics (patient care & supply logistics), disease tracking & prevention etc.

Data Science Applications in The Real World Image Credit: Data Flair: 6 Amazing Data Science Applications

There are many other application domains to consider (see the image above as one example) - check out the Review & Self Study section for some relevant resources. For now, let's take a slightly deeper look at a few interesting examples in the following sections.

Research: Gender Shades Study

Researchers are often the earliest members of the technical community to explore real-world applications for big data algorithms and applied AI. The focus is often on both exploring opportunities to do good and uncovering challenges that lead to potential harms or unintended consequences.

Let's talk about one example - the Gender Shades project from MIT, one of the earliest to explore data ethics topics like fairness and bias, to highlight the need for more transparency in algorithm design and AI, and demand more inclusive testing of products.

The project evaluated the accuracy of AI-powered gender classification products (from companies like IBM, Microsoft and Face++) using a dataset of 1270 images (from African and European countries) as the benchmark. While overall accuracy of classification was high for all products, the study identified non-trivial differences in the error rates between different groups of users, with misgendering being higher for female subjects or those with darker skin.

The study had broader implications for facial analysis algorithms as a whole, highlighting the potential for individual and social harms when used in contexts like law enforcement or hiring. Many organizations have since created responsible AI principles and practices to improve the fairness of AI systems.

Want to learn about relevant research efforts in Microsoft?

Digital Humanities: Poetics

 Sketchnote by (@sketchthedocs)
Data Science & Digital Humanities - Sketchnote by @nitya

Digital Humanities has been defined as "a collection of practices and approaches combining computational methods with humanistic inquiry". Stanford projects like "rebooting history" and "poetic thinking" illustrate the linkage between Digital Humanities and Data Science - emphasizing techniques like network analysis, information visualization, spatial and text analysis that can help us revisit historical and literary data sets to derive new insights and perspective.

Want to explore and extend a project in this space?

Check out "Emily Dickinson and the Meter of Mood" - a great example from Jen Looper that asks how we can use data science to revisit familiar poetry and re-evaluate its meaning and the contributions of its author in new contexts. For instance, can we predict the year in which a poem was authored by analyzing its tone or sentiment - and what does this tell us about the author's state of mind over the relevant period?

To answer that question, we follow the steps of our data science lifecycle:

  • Data Acquisition - to collect a relevant dataset for analysis. Options including using an API ( e.g., Poetry DB API) or scraping web pages (e.g., Project Gutenberg) using tools like Scrapy.
  • Data Cleaning - explains how text can be formatted, sanitized and simplified using basic tools like Visual Studio Code and Microsoft Excel.
  • Data Analysis - explains how we can now import the dataset into "Notebooks" for analysis using Python packages (like pandas, numpy and matplotlib) to organize and visualize the data.
  • Sentiment Analysis - explains how we can integrate cloud services like Text Analytics, using low-code tools like Power Automate for automated data processing workflows.

Using this workflow, we can explore the seasonal impacts on the sentiment of the poems, and help us fashion our own perspectives on the author. Try it out yourself - then extend the notebook to ask other questions or visualize the data in new ways!

Sustainability: Planetary Data

The 2030 Agenda For Sustainable Development - adopted by all United Nations members in 2015 - identifies 17 goals including ones that focus on Protecting the Planet from degradation and the impact of climate change. The Microsoft Sustainability initiative supports these goals by exploring ways in which technology solutions can support and build more sustainable futures with a focus on 4 goals - being carbon negative, water positive, zero waste, and bio-diverse by 2030.

Tackling these challenges in a scalable and timely manner requires cloud-scale thinking - and large scale data. That's where the Planetary Computer initiative. It consists of 4 components:

  • Data Catalog - with petabytes of data on Earth systems, hosted on Azure, available for free.
  • Planetary API - to help users search for relevant data across space and time.
  • Hub - a managed environment for scientists to process massive geospatial datasets.
  • Applications - showcasing use cases and tools using this data, for sustainability insights.

Check out the documentation for more details and explore applications like Ecosystem Monitoring to get ideas for how you can use the data sets to derive useful insights or build applications that can motivate relevant behavioral changes for sustainability.

The Planetary Computer Project is currently in preview (as of Sep 2021)

Please request access to get started with your own exploration and connect with your peers in this space.

Pre-Lecture Quiz

Pre-lecture quiz

🚀 Challenge

Post-Lecture Quiz

Post-lecture quiz

Review & Self Study

Want to explore more use cases? Here are a few relevant articles:

Assignment

Assignment Title