{"id":61,"date":"2025-04-16T08:46:11","date_gmt":"2025-04-16T08:46:11","guid":{"rendered":"http:\/\/portfolio-data.local\/?p=61"},"modified":"2025-05-13T16:26:04","modified_gmt":"2025-05-13T16:26:04","slug":"detection-de-faux-billets-par-machine-learning","status":"publish","type":"post","link":"https:\/\/riverphot.com\/data\/detection-de-faux-billets-par-machine-learning\/","title":{"rendered":"Cr\u00e9ation d&rsquo;une application de d\u00e9tection de faux billets par Machine Learning"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"61\" class=\"elementor elementor-61\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5703ce3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5703ce3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ab6624a\" data-id=\"ab6624a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c9f2066 elementor-widget elementor-widget-heading\" data-id=\"c9f2066\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Cr\u00e9ation d'une application de d\u00e9tection de Faux billets\nvia Machine Learning<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a41e878 elementor-widget elementor-widget-text-editor\" data-id=\"a41e878\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Pr\u00e9diction automatique de faux billets gr\u00e2ce \u00e0 un mod\u00e8le de machine learning optimis\u00e9 et d\u00e9ploy\u00e9 dans une application interactive.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cbbf2f4 elementor-align-center elementor-widget elementor-widget-button\" data-id=\"cbbf2f4\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/github.com\/Riverphot\/formation-data\/tree\/main\/Projet%2012%20-%20Application%20de%20d%C3%A9tection%20de%20faux%20billets\" target=\"_blank\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fab fa-github\"><\/i>\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Voir le projet sur GitHub<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bc3a8c6 elementor-align-center elementor-widget elementor-widget-button\" data-id=\"bc3a8c6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"\/wp-content\/uploads\/2025\/05\/PresentationDetectionFauxBillets.pdf\" target=\"_blank\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"far fa-share-square\"><\/i>\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Voir le rapport<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5a48be6 elementor-widget elementor-widget-heading\" data-id=\"5a48be6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Objectif du projet<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4df885b elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"4df885b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c814dbb elementor-widget elementor-widget-text-editor\" data-id=\"c814dbb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Dans le cadre d&rsquo;un projet de formation, l&rsquo;objectif \u00e9tait de construire une solution de machine learning capable de distinguer de v\u00e9ritables billets de faux billets, \u00e0 partir de leurs caract\u00e9ristiques g\u00e9om\u00e9triques. Le projet visait \u00e0 ma\u00eetriser l&rsquo;ensemble du cycle de la data science : traitement des donn\u00e9es, s\u00e9lection de mod\u00e8le, optimisation, validation et mise \u00e0 disposition d&rsquo;une application utilisateur.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-deca80b elementor-widget elementor-widget-heading\" data-id=\"deca80b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Approche m\u00e9thodologique<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-efc063f elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"efc063f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4799a6e elementor-widget elementor-widget-text-editor\" data-id=\"4799a6e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Apr\u00e8s une phase d&rsquo;analyse exploratoire approfondie (visualisations, corr\u00e9lations, d\u00e9tection de multicolin\u00e9arit\u00e9), les donn\u00e9es ont \u00e9t\u00e9 pr\u00e9par\u00e9es et nettoy\u00e9es en traitant notamment les valeurs manquantes via r\u00e9gression lin\u00e9aire.\u00a0<\/p><p>Plusieurs algorithmes de machine learning ont \u00e9t\u00e9 test\u00e9s (r\u00e9gression logistique, KNN, Random Forest, clustering K-means pour comparaison).<\/p><p>Le mod\u00e8le KNN a \u00e9t\u00e9 retenu pour sa performance \u00e9quilibr\u00e9e. Une recherche d&rsquo;hyperparam\u00e8tres par GridSearchCV a permis d&rsquo;optimiser les r\u00e9sultats. Le mod\u00e8le a ensuite \u00e9t\u00e9 int\u00e9gr\u00e9 dans une application interactive d\u00e9velopp\u00e9e dans un notebook Voil\u00e0, offrant visualisation, pr\u00e9diction et export des r\u00e9sultats enrichis.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4b2943c elementor-widget elementor-widget-heading\" data-id=\"4b2943c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Comp\u00e9tences et outils mobilis\u00e9s<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-56789cb elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"56789cb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-69e49ce elementor-widget elementor-widget-text-editor\" data-id=\"69e49ce\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li>Analyse exploratoire des donn\u00e9es<\/li><li>Traitement des valeurs manquantes par r\u00e9gression lin\u00e9aire<\/li><li>R\u00e9duction de la multicolin\u00e9arit\u00e9 avec le Variance Inflation Factor (VIF)<\/li><li>Mod\u00e9lisation supervis\u00e9e : r\u00e9gression logistique,\u00a0K-Nearest Neighbors (KNN),\u00a0Random Forest<\/li><li>Clustering non supervis\u00e9 : K-means<\/li><li>Optimisation des hyperparam\u00e8tres avec GridSearchCV<\/li><li>\u00c9valuation des performances des mod\u00e8les :(accuracy, pr\u00e9cision, rappel, F1-score)<\/li><li>Analyse des courbes ROC et calcul de l&rsquo;AUC<\/li><li>D\u00e9veloppement d&rsquo;application interactive en Jupyter Notebook (Voil\u00e0)<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2ee91ef elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2ee91ef\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d044f9e\" data-id=\"d044f9e\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3e1c858 elementor-widget elementor-widget-heading\" data-id=\"3e1c858\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">\ud83d\udcbb Environnement technique et biblioth\u00e8ques\u200b<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1440b7f liste-tag elementor-widget elementor-widget-text-editor\" data-id=\"1440b7f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<span>Python<\/span>\n<span>Jupyter Notebook<\/span>\n<span>Voil\u00e0<\/span>\n<span>Pandas<\/span>\n<span>Numpy<\/span>\n<span>Scikit-learn<\/span>\n<span>Matplotlib<\/span>\n<span>Seaborn<\/span>\n<span>Plotly Express<\/span>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9316077 elementor-widget elementor-widget-heading\" data-id=\"9316077\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">\ud83e\udde0 M\u00e9thodes et techniques appliqu\u00e9es<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1e086d3 liste-tag-skills elementor-widget elementor-widget-text-editor\" data-id=\"1e086d3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<span>R\u00e9gression lin\u00e9aire<\/span>\n<span>R\u00e9gression logistique<\/span>\n<span>KNN<\/span>\n<span>Random Forest<\/span>\n<span>K-means<\/span>\n<span>VIF<\/span>\n<span>Matrice de confusion<\/span>\n<span>GridSearchCV<\/span>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u00c9tude des caract\u00e9ristiques g\u00e9om\u00e9triques de billets et conception d&rsquo;un mod\u00e8le machine learning optimis\u00e9 apr\u00e8s comparaison de plusieurs algorithmes.<\/p>\n","protected":false},"author":1,"featured_media":363,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_canvas","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8,6,4,3,7,9,5],"class_list":["post-61","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-portfolio","tag-kmeans","tag-knn","tag-machinelearning","tag-python","tag-randomforest","tag-regressionlineaire","tag-regressionlogistique"],"_links":{"self":[{"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":16,"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":985,"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/posts\/61\/revisions\/985"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/media\/363"}],"wp:attachment":[{"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/riverphot.com\/data\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}