0% ont trouvé ce document utile (0 vote)
3 vues79 pages

Prédiction CO2 avec Machine Learning

Le document présente un projet de machine learning axé sur la prédiction des émissions de CO2 à Seattle, en définissant les caractéristiques d'un projet réussi. Il décrit les phases essentielles pour mener à bien un projet, de la définition du problème à la modélisation et au déploiement, tout en insistant sur l'importance de la documentation et de l'organisation. Enfin, il souligne la nécessité d'une maintenance continue et d'une amélioration du modèle avec les nouvelles données.

Transféré par

somaben791
Copyright
© All Rights Reserved
Nous prenons très au sérieux les droits relatifs au contenu. Si vous pensez qu’il s’agit de votre contenu, signalez une atteinte au droit d’auteur ici.
Formats disponibles
Téléchargez aux formats PDF, TXT ou lisez en ligne sur Scribd
0% ont trouvé ce document utile (0 vote)
3 vues79 pages

Prédiction CO2 avec Machine Learning

Le document présente un projet de machine learning axé sur la prédiction des émissions de CO2 à Seattle, en définissant les caractéristiques d'un projet réussi. Il décrit les phases essentielles pour mener à bien un projet, de la définition du problème à la modélisation et au déploiement, tout en insistant sur l'importance de la documentation et de l'organisation. Enfin, il souligne la nécessité d'une maintenance continue et d'une amélioration du modèle avec les nouvelles données.

Transféré par

somaben791
Copyright
© All Rights Reserved
Nous prenons très au sérieux les droits relatifs au contenu. Si vous pensez qu’il s’agit de votre contenu, signalez une atteinte au droit d’auteur ici.
Formats disponibles
Téléchargez aux formats PDF, TXT ou lisez en ligne sur Scribd

Prédiction de l’émission de CO2

TP DE MACHINE LEARNING: REGRESSION


Seatle energy
prediction, dataset 2016
C’est un projet classique en machine
learning, déjà exploré par des générations
avant nous à travers de nombreux exemples
disponibles sur diverses plateformes
(GitHub, Gitlab, Kaagle, etc.)
Comment alors se
démarquer?

“C’est quoi un excellent


projet de Machine
leaning ?”
Un projet parfait c’est celui qui :

Résout un vrai problème business Est reproductible et maintenable


▪ Impact mesurable (gain, temps ▪ N'importe qui peut
économisé, décisions améliorées) relancer les
expériences
▪ Utilisateurs réels qui attendent la
solution
▪ Code propre,
▪ Alternative actuelle coûteuse ou documenté, test
inefficace
Un projet parfait c’est celui qui :

Est monitored et amélioré avec le


Est déployé et utilisé en production temps
▪ Ce n'est pas juste un notebook ▪ On sait si ça
fonctionne mal
▪ Des gens l'utilisent vraiment

▪ Il génère de la valeur continue


▪ On peut identifier les
problems
▪ Le modéle s’améliore
avec les nouvelles
données
7 PHASES
Pour réaliser un bon projet
01

Définition du probléme
Pourquoi se lancer dans ce projet?
Objectifs
01 Comprendre le problème métier

Définir le succès mesurable


02
Questions essentielles
01 Quel est le problème exact ?

02 Qui va utiliser cette prédiction ? Comment ?

03 Quelle décision sera prise grâce au modèle ?

04 Quel est le coût d'une erreur ?

05 Existe-t-il déjà une solution ?


Livrables
01 Document de cadrage projet (max 5p)

02 Définition des KPIs business (pas seulement ML)

03 Critères d'acceptation clairs

Identifier les bâtiments qui consomment 30% de plus que la normale pour leur
catégorie, afin de prioriser les audits énergétiques et économiser des millions !
Une bonne organisation !

[Link]
Mais par contre pas assez de commentaire et d’explication
Une bonne organisation !

[Link]
Une bonne organisation !

[Link]
[Link]
02

Exploration des données


EDA
Objectifs
01 Comprendre profondément les données

02 Identifier les patterns, anomalies, biais

03 Valider la faisabilité du projet


Méthodologie
5 ( ou plus) notebooks documenté et bien ecrit

Vue d'ensemble Lignes,colonnes;types de variables;valeurs manquantes;autres infos d’ensembles

Distribition de chaque variable;outliders (erreurs ou réelles);examents de chaque


Analyse univariée variables notament les catégorielles

Analyse bivarié et multivarié Corrélation avec la cible;realations entre features;

egroupement naturel des données en segments homogènes, détection de profils,


Clustering anomalies et comportements similaires.
Incohérences(valeurs negatives,geolocalisation) ;DATA LEAKAGE;les données futures
Qualité de la données seront elles similaires ?

❑ A quoi ressemble un notebook de qualité ?


❑ Notebook ou script python ?
03

Feature engeniering et préparation


Transformation et pipeline
Objectifs
01 Transformer les données brutes en features utiles

02 Créer des features métier pertinentes

03 Préparer des pipelines reproductibles


Stratégies de Feature Engineering

01 Features métier

02 Encodage des catégorielles

03 Features numériques
La normalisation;transformation;ect
Principe

01 Pipeline scikit-learn

02 Versioning des features avec DVC

03 Documentation
04

La modélisation
Transformation et pipeline
Objectifs
01 Tester plusieurs approches méthodiquement

02 Optimiser les hyperparamètres

03 Sélectionner le meilleur modèle


Méthodologie
01 Modéle baseline

02 Modèles linéaires, Modèles ensembles,spécialisé;

03 Optimisation hyperparamétre

04 La ou les métriques à suivre !et le TRACKING


Livrables
Rapport de modélisation (modèles testés,
01 résultats)

02 Modèle final sérialisé avec son pipeline


05

Évaluation et interprétabilité
Analyse des erreurs, par segment;testes statistiques,…
06

Déploiement
API REST et Dashboard
07

Monotoring et Maintenance
0

Outils et Compétences
API REST et Dashboard
Les outils
Les conventions standard
Git;Github;python;DVC
Systéme de branche et de Pull request
Commit atomique; env;.env;i=gitignore

Les spécialistes
CI CD avec Github
Actions;Docker;MLFLOW; DVC

????
????????????
❑ Peux-tu te présenter en quelques mots ?
❑ Qu’attends-tu de ce projet, qu’aimerais-tu y accomplir ?
❑ Quel niveau d’engagement penses-tu avoir (temps, énergie, rôle) ?
❑ As-tu déjà travaillé sur des projets ML ? Si oui, lesquels ?
❑ Quels langages, frameworks ou outils tu maîtrises le mieux ?
❑ Qu’est-ce qui te motive le plus dans ce domaine ?
❑ Comment aimerais-tu collaborer avec les autres ?
❑ Qu’aimerais-tu améliorer ou apprendre grâce à ce projet ?
❑ Quel est ton style de travail préféré (autonome, collaboratif, structuré,
flexible…) ?

—Question publique:
EN
CONSTRUCTION …
Contents of this template
You can delete this slide when you’re done editing the presentation

Fonts To view this template correctly in PowerPoint, download and install the fonts we used

Used and alternative resources An assortment of graphic resources that are suitable for use in this presentation

Thanks slide You must keep it so that proper credits for our design are given

Colors All the colors used in this presentation

Icons and infographic resources These can be used in the template, and their size and color can be edited

Editable presentation theme You can edit the master slides easily. For more info, click here

For more info: You can visit our sister projects:


Slidesgo | Blog | FAQs Freepik | Flaticon | Storyset | Wepik | Videvo
Examples
Mercury
Mercury is the closest planet to the
Sun and the smallest one of them all

Venus
Venus has a beautiful name and is
the second planet from the Sun

Mars
Despite being red, Mars is actually a
cold place. It’s full of iron oxide dust
Table of contents
01 Theory lesson
You can describe the topic of the section here

Features of the topic


02 You can describe the topic of the section here

Tips
03 You can describe the topic of the section here

Practical exercise
04 You can describe the topic of the section here
01

Theory lesson
You can enter a subtitle here if you need it
Introduction

Mercury is the closest planet to the Sun Mercury takes a little more than 58
and the smallest one in the entire Solar days to complete its rotation, so try to
System. This planet's name has nothing imagine how long days must be there!
to do with the liquid metal, since Since the temperatures are so extreme,
Mercury was named after the Roman albeit not as extreme as in Venus,
messenger god. Its temperatures aren't Mercury has been deemed to be non-
as terribly hot as that planet's habitable for humans
Concepts

Concept 1
Mercury is the closest planet to the Sun and
the smallest one in the Solar System—it’s only
a bit larger than the Moon

Concept 2
Venus has a beautiful name and is the second
planet from the Sun. It’s hot and has a
poisonous atmosphere
What is this topic about?

Mercury Venus Mars


Mercury is the Venus has a Despite being red,
closest planet to the beautiful name and Mars is actually a
Sun and the smallest is the second planet cold place. It’s full of
one of them all from the Sun iron oxide dust
Features of the topic

Mars Neptune
Despite being red, Mars is Neptune is an ice giant.
actually a cold place. Neptune is the farthest
Mars is made of basalt planet from the Sun

Jupiter Saturn
Jupiter is the biggest Saturn is a gas giant.
planet of them all. Jupiter Saturn was named after a
is a gas giant Roman god
Recommendations

Mars Venus Neptune


Mars is full of iron Venus is a hot Neptune is the
oxide dust. Mars is planet. Venus has a eighth planet from
made of basalt toxic atmosphere the Sun

Mercury Saturn Jupiter


Mercury is the Saturn is a gas giant. Jupiter is big. Jupiter
closest planet to the Saturn was named was named after a
Sun. Mercury is small after a Roman god Roman god
A picture always
reinforces
the concept
You can give a brief description of
the topic you want to talk about
here. For example, if you want to
talk about Mercury, you can say
that it’s the smallest planet in the
entire Solar System
4,498,300,000
Big numbers catch your audience’s attention
9h 55m 23s
Jupiter’s rotation period

333,000
The Sun’s mass compared to Earth’s

386,000 km
Distance between Earth and the Moon
Awesome
words
A picture is worth a
thousand words
Voice projection and
tone practical exercise

● Mercury is the closest planet to the Sun


● Mercury is very small
● Mercury has a very thin atmosphere
● One day on Mercury takes 59 Earth days
● Mercury is the smallest planet
● Mercury was named after a god
● Its surface is similar to Earth’s Moon
● Mercury’s core contains iron
KWL (brainstorming)

Mercury is the closest planet to the Sun


What I
know Mars is actually a very cold place

What I Venus is the second planet from the Sun

want to
Jupiter is the biggest planet of them all
know
Saturn is composed of hydrogen and helium
What I
learned Neptune is the farthest planet from the Sun
Identifying the target audience
Topic

Mercury Mars Venus


Mercury is the closest Despite being red, Venus has a very
planet to the Sun and Mars is actually a cold beautiful name and is
the smallest one in place. It’s full of iron the second planet
the Solar System oxide dust from the Sun
Conference schedule suggestion

Time Activity
9:30 AM Welcome and opening remarks

10:00 AM Keynote speaker: [Name]

12:00 PM Lunch break Mars


Despite being red,
1:30 PM Concurrent session 1 Mars is actually a cold
place. It’s full of iron
4:00 PM Workshop: [Topic]
oxide dust
7:00 PM Conference dinner
Preparing audio-visual equipment

First Next Next


Mars is full of iron Venus is a hot Neptune is the
oxide dust. Mars is planet. Venus has a farthest planet from
made of basalt toxic atmosphere the Sun

Next Next Last


Mercury is the Saturn is a gas giant. Jupiter is big. Jupiter
closest planet to the Saturn was named was named after a
Sun. Mercury is small after a Roman god Roman god
Classification
Mars Venus Mercury Jupiter

● Small ● Small ● Small ● Large


● Red ● Hot ● Hot ● Cold
● Cold ● Dry ● Rocky ● Gassy
● Rocky ● Volcanic ● Cratered ● Striped

Mars is full of Venus has a toxic Mercury is the Jupiter was


iron oxide dust atmosphere. closest planet to named after a
and basalt Venus is very hot the Sun Roman god
Conference goals and objectives
Mercury is the Despite being Saturn is a gas
closest planet red, Mars is a giant and has
to the Sun cold place several rings

Effect 01 Effect 02 Effect 03

Main goal

Effect 04 Effect 05 Effect 06


Venus is the Jupiter is the Earth is the
second planet biggest planet planet on which
from the Sun of them all we all live
Question and answer

Question
Is Mercury the closest planet to the Sun
and the smallest one in the Solar System?
Note that it’s a bit larger than the Moon

Answer
Venus has a beautiful name and is the
second planet from the Sun. It’s hot and
has a poisonous atmosphere
Documenting conference timeline

01
Venus Neptune
Venus is a hot planet. Venus Neptune is the farthest planet
has a toxic atmosphere 02 from the Sun

Saturn
03 Jupiter
Saturn is a gas giant. Saturn Jupiter is big. Jupiter was
was named after a Roman god
04 named after a Roman god
Parts and whole
About the whole Parts of the What happens if the parts
object object are missing?
Mercury is the Mercury Venus has a beautiful name
closest planet to and is the second planet from
the Sun and the the Sun
Mars
smallest one in the
entire Solar System
Saturn
What’s the function of
the parts?
Venus
Saturn is a gas giant and has
several rings. It’s composed
Jupiter
mostly of hydrogen and helium
Effective public speaking
Chart

80% Persuasive speech


Neptune is the farthest planet
from the Sun

Visual aids
20% Jupiter was named after a
Roman god

Follow the link in the graph to modify its data and then paste the new one here. For more info, click here
The best conference venues
Venus
Venus is the second
planet from the Sun

Mars
Mars is full of iron
oxide dust

Mercury
Mercury is the closest
planet to the Sun
Mockups
You can replace the images
on the screen with your own
work. Just right-click on them
and select “Replace image”
Thanks!
Do you have any questions?
youremail@[Link]
+34 654 321 432
[Link]

CREDITS: This presentation template was created by Slidesgo, and


includes icons by Flaticon and infographics & images by Freepik
Please keep this slide for attribution
Alternative resources
Here’s an assortment of alternative resources whose
style fits the one of this template:

● Close up colleagues learning at work


Photos
● Close up blurry people at event
● People taking part of business event ● Medium shot people chatting at table
● Empowered business woman working ● Medium shot people learning
in the city I language
● Empowered business woman working ● Close up people at business meeting
in the city II ● Medium shot people at work meeting
● Medium shot colleagues learning at ● Medium shot smiley woman
work presentation
● People learning language at work full ● People meeting at community center
shot
Resources
Did you like the resources in this template? Get them for free at our other websites:

Photos ● Business man holding a presentation in


● Empowered business woman working the office for her colleagues
in the city ● Press reporter fallowing leads in a case
● People taking part of business event ● Close up people at work meeting
● Smiley woman having a video call at ● Side view man singing at microphone
the office ● Front view of man raising hand for
● Medium shot man recording podcast question at a group therapy session
indoors ● Medium shot people learning together
● Medium shot women in business at office
meeting
● Close up people learning at job
Vectors
● Pack of blogger email template with
● People meeting at community center
photos
Instructions for use
If you have a free account, in order to use this template, you must credit Slidesgo by keeping the Thanks slide. Please
refer to the next slide to read the instructions for premium users.

As a Free user, you are allowed to:


● Modify this template.
● Use it for both personal and commercial projects.

You are not allowed to:


● Sublicense, sell or rent any of Slidesgo Content (or a modified version of Slidesgo Content).
● Distribute Slidesgo Content unless it has been expressly authorized by Slidesgo.
● Include Slidesgo Content in an online or offline database or file.
● Offer Slidesgo templates (or modified versions of Slidesgo templates) for download.
● Acquire the copyright of Slidesgo Content.

For more information about editing slides, please read our FAQs or visit our blog:
[Link] and [Link]
Instructions for use (premium users)
As a Premium user, you can use this template without attributing Slidesgo or keeping the "Thanks" slide.

You are allowed to:


● Modify this template.
● Use it for both personal and commercial purposes.
● Hide or delete the “Thanks” slide and the mention to Slidesgo in the credits.
● Share this template in an editable format with people who are not part of your team.

You are not allowed to:


● Sublicense, sell or rent this Slidesgo Template (or a modified version of this Slidesgo Template).
● Distribute this Slidesgo Template (or a modified version of this Slidesgo Template) or include it in a database or in
any other product or service that offers downloadable images, icons or presentations that may be subject to
distribution or resale.
● Use any of the elements that are part of this Slidesgo Template in an isolated and separated way from this
Template.
● Register any of the elements that are part of this template as a trademark or logo, or register it as a work in an
intellectual property registry or similar.

For more information about editing slides, please read our FAQs or visit our blog:
[Link] and [Link]
Fonts & colors used
This presentation has been made using the following fonts:

Archivo Black
([Link]

Poppins
([Link]

#333333 #eff2f3 #70c7c1

#92ddd8 #1f6d72 #d9d9d9


Storyset
Create your Story with our illustrated concepts. Choose the style you like the most, edit its colors, pick
the background and layers you want to show and bring them to life with the animator panel! It will
boost your presentation. Check out how it works.

Pana Amico Bro Rafiki Cuate

Pana Amico Bro Rafiki Cuate


Use our editable graphic resources...
You can easily resize these resources without losing quality. To change the color, just ungroup the resource and click
on the object you want to change. Then, click on the paint bucket and select the color you want. Group the resource again
when you’re done. You can also look for more infographics on Slidesgo.
JANUARY FEBRUARY MARCH APRIL MAY JUNE

PHASE 1

Task 1

Task 2

PHASE 2

Task 1

Task 2

JANUARY FEBRUARY MARCH APRIL

PHASE 1

Task 1

Task 2
...and our sets of editable icons
You can resize these icons without losing quality.
You can change the stroke and fill color; just select the icon and click on the paint bucket/pen.
In Google Slides, you can also use Flaticon’s extension, allowing you to customize and add even more icons.
Educational Icons Medical Icons
Business Icons Teamwork Icons
Help & Support Icons Avatar Icons
Creative Process Icons Performing Arts Icons
Nature Icons
SEO & Marketing Icons

Vous aimerez peut-être aussi