MD006 Introducción
MD006 Introducción
Data Science
Artificial Intelligence
Data Science
Artificial Intelligence
Machine Learning
Data Science
Artificial Intelligence
Machine Learning
Deep Learning
Data Science
Artificial Intelligence
Computer Vision
Machine Learning
Deep Learning
Data Science
Artificial Intelligence
Computer Vision
Machine Learning
Natural Language Processing
Deep Learning
Data Science
Robotics
Artificial Intelligence
Computer Vision
Machine Learning
Natural Language Processing
Deep Learning
Data Science
Artificial
Intelligence
Machine
Learning
Deep Learning
Deep learning is a subset of
machine learning that uses artificial
neural networks to model and solve
complex tasks
Data Science
Artificial
Intelligence
Computer Vision
Natural Language Processing
Robotics
Knowledge Representation
Planning & Optimization
Machine
Learning
Deep Learning
Deep learning is a subset of
machine learning that uses artificial
neural networks to model and solve
complex tasks
• There are three types of analytics that companies use to drive their
decision making.
Prescriptive
Analytics
Predictive
Analytics What should be done?
Mathematical optimization,
simulation...
value
Descriptive statistics,
visualizations, clustering...
complexity
Netflix
• It is an excellent example of descriptive analytics, as it collects large amounts of data from users’ in-
platform to recognize trending shows and movies. This allows Netflix to make appropriate
recommendations to users and drives the internal decision-making mechanism for future content
production.
Google
• The results of a web server company using Google Analytics tools are the best example of descriptive
analysis. The results help determine what exactly happened in the past and determine whether a
promotional effort was effective based on simple metrics such as page views.
Amazon (on the border with artificial intelligence)
• It looks at which items you have recently purchased, which items are in your online shopping cart or
wishlist, which items you have checked and rated, and which items you are most searching for. This
knowledge is used to suggest additional products bought by other consumers as they order those
same things.
Aspectos éticos y legales de los datos
Real-Life Examples – Predictive Analytics
16
Demand forecasting
• Retailers use predictive analytics algorithms to analyze different factors, such as region, season, and
buying habits, to forecast product demand. This approach helps them determine the ideal inventory
level to satisfy demand, preventing overstocking or stockouts.
Predictive maintenance
• IoT sensors installed on machines continuously collect data on their performance, which is analyzed by
predictive models to identify abnormalities and suggest maintenance of specific parts. By using
predictive analytics in this way, plants and factories can prevent equipment breakdowns and avoid
downtime.
Finance analytics
• Financial teams are already leveraging predictive analytics to predict risks and revenues, allocate
resources effectively, and adjust operations to prevent extra expenses. It has a wide range of
applications, including fraud detection, credit scoring, customer segmentation, and portfolio optimization.
Insurance analytics
• Predictive analytics helps insurance companies correctly estimate future risks, as well as determine
fraudulent claims in time and reject them, avoiding unreasonable expenses.
Customer analytics
• Predictive analytics models help prevent customer churn by analyzing the dissatisfaction among current
customers and identifying customer segments at most risk for leaving
Healthcare analytics
• Many medical institutions worldwide are implementing software systems that collect a large amount of
patient data, providing opportunities for predictive analytics. By analyzing historical and current data,
predictive algorithms can identify disease prerequisites and suggest preventive treatments, predict
the results of different treatments to choose the best option for each patient individually. Additionally,
predictive analytics can help predict disease outbreaks and epidemics.
Energy management
• Predictive analytics can help energy utilities create short- and long-term forecasts on energy
demand (and generation), considering weather conditions, seasonality, new emerging consumers and
other factors.
Sports analytics
• Analytics specialists in sports use on-field and off-field data to predict a player's value and
progression. On-field metrics include physical performance such as speed, time, scoring, tactics, and
health conditions. Off-field metrics refer to the business side of sports and provide insights on how
much profit a player can bring to the team/club, considering fan engagement, ticket sales, or
merchandise sales.
Inventory optimization
• It determines the optimal inventory levels that will minimize costs while meeting customer
demand. It involves to formulate a mathematical model that represents the inventory system and the
associated costs, such as ordering costs, holding costs, and stockout costs. The model considers various
factors, such as demand, lead time, and safety stock, and aims to identify the optimal inventory levels that
will minimize the total cost of the system.
Efficient logistics
• Predictive analytics algorithms can help logistic companies in multiple ways. By analyzing factors such as
roads, traffic, and weather conditions, these algorithms can determine the fastest and cost-efficient
routes for logistics. Additionally, the algorithms can monitor fuel consumption and driving behavior,
helping to reduce transport costs.
Cashflow optimization
• By optimizing cashflow businesses can identify opportunities to increase cash inflows and reduce
cash outflows, such as delaying payments, optimizing cash collections, or reducing inventory levels. The
optimization model can be adjusted over time to reflect changes in market conditions or changes in the
business environment, ensuring that the business always has the optimal cash management strategy.
Price optimization
• It helps businesses determine the optimal prices for their products or services. The model considers
factors such as market conditions, competition, and customer preferences. The objective is to identify the
optimal price points that will maximize profit while meeting customer demand.
Scheduling
• Its goal is to make schedules that improve efficiency, reduce costs, and increase productivity.
The model represents the relationships between several aspects such as production processes, employee
schedules, resource allocation, and workloads. The objective is to identify the optimal schedule that will
maximize productivity while minimizing costs.
Treatment planning
• Healthcare providers develop treatment plans that minimize the risk of complications and
maximize patient outcomes. This can involve optimizing the dosage and timing of medications,
radiation therapy, or other treatments.
Economy Economy
Society Society
Economy Economy
• Increased productivity and efficiency in several • Displacement of some jobs
industries
• Rising income inequality as high-skill jobs requiring AI
• Creation of new job opportunities expertise become more valuable
Society Society
• Ethical concerns related to data privacy, bias, and
• Improvement in decision-making in various fields.
potential misuse.
• Greater convenience thanks to the development of
smart devices and virtual assistants. • Dependence on technology and the loss of certain
human skills.
• Enhancement of healthcare through personalized
treatment plans and early disease detection. • Potential exacerbation of existing social and
economic inequalities.
Economy Economy
• Increased productivity and efficiency in several • Displacement of some jobs
industries
It is important for society to continue
• Risingexamining
income inequality as high-skill jobs requiring AI
• Creation of new job opportunities
and critically regulating the development
expertiseand use of
become more valuable
AI to ensure that its benefits are distributed widely
and its negative consequences are minimized.
Society Society
• Ethical concerns related to data privacy, bias, and
• Improvement in decision-making in various fields.
potential misuse.
• Greater convenience thanks to the development of
smart devices and virtual assistants. • Dependence on technology and the loss of certain
human skills.
• Enhancement of healthcare through personalized
treatment plans and early disease detection. • Potential exacerbation of existing social and
economic inequalities.
• https://www.netflix.com/title/81328723
• Trailer
▪ https://www.youtube.com/watch?v=jZl55PsfZJQ
Bias in data science refers to systematic errors or biases in algorithms and systems that lead to
unfair or inaccurate results.
• Selection bias: Data science algorithms can be biased towards certain groups or individuals if
they are underrepresented in the data.
• Sampling bias: Data science algorithms extract insights from the data they are trained on.
Even if the collected data was not originally biased, if the data used to train does not have the
same variety than the original data, the insights will reflect these biases.
• Observer bias: The design and development of data science algorithms can also introduce
biases. For example, an algorithm developed by a team with a specific demographic bias may
produce biased results.
• Confirmation bias: Algorithms can be programmed to only look for information that confirms
existing beliefs or biases.
COMPAS
• US judges use it to predict which criminals are more likely to reoffend in the future
• Black criminals were considered more likely to reoffend in the future than they were. On the other hand, white criminals
were judged to be less risky than they were.
PredPol
• The system was developed to analyze resumes and job applications and identify the most qualified candidates.
• It was found to discriminate against women, dismissing resumes containing words like "woman" or "motherhood" and
preferring resumes that included experience in male-dominated organizations.
Risk Solution
UNESCO, Recommendation on the Ethics of Artificial Intelligence, 2022, United Nations Educational, Scientific
and Cultural Organization, 2022, https://unesdoc.unesco.org/ark:/48223/pf0000381137
• The Recommendation aims to realize the advantages that AI brings to society and reduce the risks it entails.
It ensures that digital transformations promote human rights and contribute to the achievement of the Sustainable
Development Goals, addressing issues of transparency, accountability and privacy, with action-oriented policy chapters
on data governance, education, culture, work, health care and economy.
Decisions impacting millions of people should The world needs rules for artificial intelligence
be fair, transparent and contestable. These new to benefit humanity. The Recommendation on
technologies must help us address the major the ethics of AI is a major answer. It sets the
challenges in our world today, such as first global normative framework while giving
increased inequalities and the environmental States the responsibility to apply it at their
crisis, and not deepening them. level. UNESCO will support its 193 Member
States in its implementation and ask them to
Gabriela Ramos, UNESCO’s Assistant Director report regularly on their progress and practices.
General for Social and Human Sciences
Audrey Azoulay, UNESCO Director-General
The "EU AI Act" is a regulation proposed on April 21, 2021 by the European Commission with the aim of
introducing a common regulatory and legal framework for artificial intelligence.
• It classifies artificial intelligence applications based on risk and regulates them accordingly.
https://www.adalovelaceinstitute.org/resource/eu-ai-act-explainer/
Aspectos éticos y legales de los datos
What Do You Think about this Text?
45
“Este trabajo sirve como un recordatorio crucial de que la atención meticulosa a la calidad
y preparación de los datos es tan importante como la elección del modelo adecuado.
Hasta que estos desafíos fundamentales relacionados con los datos sean abordados,
incluso el modelo más sofisticado no obtendrá los mejores resultados. Por lo tanto, el
enfoque futuro debe ser tanto en la mejora de los modelos como en la garantía de la
calidad de los datos para lograr mejorar la utilidad y eficacia de los modelos en cuestión.”
“Este trabajo sirve como un recordatorio crucial de que la atención meticulosa a la calidad
y preparación de los datos es tan importante como la elección del modelo adecuado.
Hasta que estos desafíos fundamentales relacionados con los datos sean abordados,
incluso el modelo más sofisticado no obtendrá los mejores resultados. Por lo tanto, el
enfoque futuro debe ser tanto en la mejora de los modelos como en la garantía de la
calidad de los datos para lograr mejorar la utilidad y eficacia de los modelos en cuestión.”
Being ethical and socially responsible encourages individuals to make sound decisions by relying on their
moral beliefs and upholding their civic duty.
Each individual has a responsibility, understanding that the actions they commit should ultimately
benefit societal welfare.
Example
▪ Use of deepfakes: image, video, and audio manipulated with artificial intelligence
Generative AI harnesses authors' creative outputs in both text and image generation. It
analyzes their writing styles and visual themes to generate text that mimics
their literary voices and produce artwork inspired by their creations.
The Sustainable Development Goals (SDGs) are a universal call to action to end poverty, protect the
planet and ensure peace and prosperity for all by 2030.
Sætra, Henrik. (2021). AI in Context and the Sustainable Development Goals: Factoring in the
Unsustainability of the Sociotechnical System. Sustainability. 13. 10.3390/su13041738.
Aspectos éticos y legales de los datos
Plans estratègics
55