	{"id":132194,"date":"2024-10-07T17:22:46","date_gmt":"2024-10-07T16:22:46","guid":{"rendered":"https:\/\/www.artefact.com\/?post_type=blog&#038;p=132194"},"modified":"2024-11-07T15:43:20","modified_gmt":"2024-11-07T15:43:20","slug":"choice-learn-large-scale-choice-modeling-for-operational-contexts-through-the-lens-of-machine-learning","status":"publish","type":"blog","link":"https:\/\/www.artefact.com\/de\/blog\/choice-learn-large-scale-choice-modeling-for-operational-contexts-through-the-lens-of-machine-learning\/","title":{"rendered":"Choice-Learn: Gro\u00dfe Wahlmodellierung f\u00fcr operative Kontexte durch die Linse des maschinellen Lernens"},"content":{"rendered":"<p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--link_color: var(--awb-color6);--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-background-color:var(--awb-color1);--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:calc( 1440px + 20px );margin-left: calc(-20px \/ 2 );margin-right: calc(-20px \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:10px;--awb-margin-bottom-large:0px;--awb-spacing-left-large:10px;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:10px;--awb-spacing-left-medium:10px;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:10px;--awb-spacing-left-small:10px;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-1 description\" style=\"--awb-text-color:var(--awb-color5);--awb-text-font-family:&quot;PT Serif&quot;;--awb-text-font-style:normal;--awb-text-font-weight:400;\"><p><strong>Auriau, Vincent, Ali Aouad, Antoine D\u00e9sir, und Emmanuel Malherbe. \u201cChoice-Learn: Gro\u00df angelegte Wahlmodellierung f\u00fcr betriebliche Kontexte durch die Linse des maschinellen Lernens.\u201d Zeitschrift f\u00fcr Open Source Software 9, Nr. 101 (2024): 6899.<\/strong><\/p>\n<\/div><\/div><\/div><\/div><\/div><article class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--link_color: var(--awb-color6);--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-background-color:var(--awb-color1);--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-justify-content-center fusion-flex-content-wrap\" style=\"max-width:calc( 1440px + 20px );margin-left: calc(-20px \/ 2 );margin-right: calc(-20px \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:10px;--awb-margin-bottom-large:0px;--awb-spacing-left-large:10px;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:10px;--awb-spacing-left-medium:10px;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:10px;--awb-spacing-left-small:10px;\"><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div style=\"text-align:center;\"><a class=\"fusion-button button-flat fusion-button-default-size button-default fusion-button-default button-1 fusion-button-default-span fusion-button-default-type\" target=\"_self\" href=\"https:\/\/joss.theoj.org\/papers\/10.21105\/joss.06899\" rel=\"noopener\"><span class=\"fusion-button-text awb-button__text awb-button__text--default\">Den Artikel lesen <\/span><\/a><\/div><div class=\"fusion-title title fusion-title-1 fusion-sep-none fusion-title-text fusion-title-size-two\" style=\"--awb-text-color:var(--awb-color6);--awb-margin-bottom-small:8px;--awb-font-size:30px;\"><h2 class=\"fusion-title-heading title-heading-left fusion-responsive-typography-calculated\" style=\"font-family:&quot;PT Serif&quot;;font-style:normal;font-weight:700;margin:0;letter-spacing:1.6px;font-size:1em;--fontSize:30;line-height:1.47;\">Einf\u00fchrung<\/h2><\/div><div class=\"fusion-text fusion-text-2\" style=\"--awb-font-size:20px;--awb-line-height:1.6;--awb-letter-spacing:var(--awb-typography4-letter-spacing);--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:var(--awb-color5);--awb-text-font-family:var(--awb-typography4-font-family);--awb-text-font-weight:var(--awb-typography4-font-weight);--awb-text-font-style:var(--awb-typography4-font-style);\"><p>Diskrete Auswahlmodelle zielen auf die Vorhersage von Wahlentscheidungen ab, die Einzelpersonen aus einem Men\u00fc von Alternativen, dem sogenannten Sortiment, treffen. Bekannte Anwendungsf\u00e4lle sind die Vorhersage der Verkehrsmittelwahl eines Pendlers oder der Eink\u00e4ufe eines Kunden. Wahlmodelle sind in der Lage, mit Variationen des Sortiments umzugehen, wenn einige Alternativen nicht mehr verf\u00fcgbar sind oder wenn sich ihre Eigenschaften in verschiedenen Kontexten \u00e4ndern. Dank dieser Anpassungsf\u00e4higkeit an verschiedene Szenarien k\u00f6nnen diese Modelle als Input f\u00fcr Optimierungsprobleme verwendet werden, z. B. f\u00fcr die Sortimentsplanung oder die Preisgestaltung.<\/p>\n<\/div><div class=\"fusion-text fusion-text-3\" style=\"--awb-font-size:20px;--awb-line-height:1.6;--awb-letter-spacing:var(--awb-typography4-letter-spacing);--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:var(--awb-color5);--awb-text-font-family:var(--awb-typography4-font-family);--awb-text-font-weight:var(--awb-typography4-font-weight);--awb-text-font-style:var(--awb-typography4-font-style);\"><p>Choice-Learn bietet eine modulare Suite von Tools zur Modellierung von Wahlm\u00f6glichkeiten f\u00fcr Praktiker und akademische Forscher, um Wahlm\u00f6glichkeiten data zu verarbeiten und dann Wahlmodelle zu formulieren, zu sch\u00e4tzen und zu operationalisieren. Die Bibliothek ist in zwei Nutzungsebenen unterteilt, wie in Abbildung 1 dargestellt. Die h\u00f6here Ebene ist f\u00fcr eine schnelle und einfache Implementierung konzipiert und die untere Ebene erm\u00f6glicht fortgeschrittenere Parametrisierungen. Diese Struktur, die sich an den verschiedenen Endpunkten von Keras orientiert (Chollet et al., 2015), erm\u00f6glicht eine benutzerfreundliche Schnittstelle. Choice-Learn wurde mit den folgenden Zielen entwickelt:<\/p>\n<\/div><ul style=\"--awb-line-height:27.2px;--awb-icon-width:27.2px;--awb-icon-height:27.2px;--awb-icon-margin:11.2px;--awb-content-margin:38.4px;\" class=\"fusion-checklist fusion-checklist-1 fusion-checklist-default type-icons paddingList dark-text\"><li class=\"fusion-li-item\" style=\"\"><span class=\"icon-wrapper circle-no\"><i class=\"fusion-li-icon awb-icon-check\" aria-hidden=\"true\"><\/i><\/span><div class=\"fusion-li-item-content\">\n<p><strong>Rationalisiert:<\/strong> Die Verarbeitung von data-Sets und die Sch\u00e4tzung von Standard-Wahlmodellen werden durch eine einfache Codesignatur erleichtert, die mit g\u00e4ngigen Paketen f\u00fcr maschinelles Lernen wie scikit-learn (Pedregosa et al., 2011) konsistent ist.<\/p>\n<\/div><\/li><li class=\"fusion-li-item\" style=\"\"><span class=\"icon-wrapper circle-no\"><i class=\"fusion-li-icon awb-icon-check\" aria-hidden=\"true\"><\/i><\/span><div class=\"fusion-li-item-content\">\n<p><strong>Skalierbar:<\/strong> F\u00fcr die Speicherung von data und die Sch\u00e4tzung von Modellen wurden optimierte Prozesse implementiert, die die Verwendung von gro\u00dfen data-Sets und Modellen mit einer gro\u00dfen Anzahl von Parametern erm\u00f6glichen.<\/p>\n<\/div><\/li><li class=\"fusion-li-item\" style=\"\"><span class=\"icon-wrapper circle-no\"><i class=\"fusion-li-icon awb-icon-check\" aria-hidden=\"true\"><\/i><\/span><div class=\"fusion-li-item-content\">\n<p><strong>Flexibel:<\/strong> Die Codebasis kann f\u00fcr verschiedene Anwendungsf\u00e4lle angepasst werden.<\/p>\n<\/div><\/li><li class=\"fusion-li-item\" style=\"\"><span class=\"icon-wrapper circle-no\"><i class=\"fusion-li-icon awb-icon-check\" aria-hidden=\"true\"><\/i><\/span><div class=\"fusion-li-item-content\">\n<p><strong>Modelle Bibliothek:<\/strong> Das gleiche Paket bietet Implementierungen sowohl von Standard-Wahlmodellen als auch von auf maschinellem Lernen basierenden Methoden, einschlie\u00dflich neuronaler Netze.<\/p>\n<\/div><\/li><li class=\"fusion-li-item\" style=\"\"><span class=\"icon-wrapper circle-no\"><i class=\"fusion-li-icon awb-icon-check\" aria-hidden=\"true\"><\/i><\/span><div class=\"fusion-li-item-content\">\n<p><strong>Nachgelagerte Operationen:<\/strong> Nachbearbeitungswerkzeuge, die Auswahlmodelle f\u00fcr die Sortimentsplanung und Preisgestaltung nutzen, sind in die Bibliothek integriert.<\/p>\n<\/div><\/li><\/ul><div class=\"fusion-text fusion-text-4\" style=\"--awb-font-size:20px;--awb-line-height:1.6;--awb-letter-spacing:var(--awb-typography4-letter-spacing);--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:var(--awb-color5);--awb-text-font-family:var(--awb-typography4-font-family);--awb-text-font-weight:var(--awb-typography4-font-weight);--awb-text-font-style:var(--awb-typography4-font-style);\"><p>Die wichtigsten Beitr\u00e4ge sind in den Tabellen 1 und 2 zusammengefasst.<\/p>\n<\/div><div class=\"fusion-image-element\" style=\"text-align:center;--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\"fusion-imageframe imageframe-none imageframe-1 hover-type-none\"><img decoding=\"async\" width=\"1193\" height=\"547\" title=\"wahl_lernen_levels\" src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/choice_learn_levels.png\" data-orig-src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/choice_learn_levels.png\" alt class=\"lazyload img-responsive wp-image-142724\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%271193%27%20height%3D%27547%27%20viewBox%3D%270%200%201193%20547%27%3E%3Crect%20width%3D%271193%27%20height%3D%27547%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-srcset=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/choice_learn_levels-200x92.png 200w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/choice_learn_levels-400x183.png 400w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/choice_learn_levels-600x275.png 600w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/choice_learn_levels-800x367.png 800w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/choice_learn_levels.png 1193w\" data-sizes=\"auto\" data-orig-sizes=\"(max-width: 640px) 100vw, 1193px\" \/><\/span><\/div><div class=\"fusion-image-element\" style=\"text-align:center;--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\"fusion-imageframe imageframe-none imageframe-2 hover-type-none\"><img decoding=\"async\" width=\"2020\" height=\"504\" title=\"Bildaufzeichnung 2024-10-07 \u00e0 14.12.15\" src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.15.png\" data-orig-src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.15.png\" alt class=\"lazyload img-responsive wp-image-142726\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%272020%27%20height%3D%27504%27%20viewBox%3D%270%200%202020%20504%27%3E%3Crect%20width%3D%272020%27%20height%3D%27504%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-srcset=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.15-200x50.png 200w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.15-400x100.png 400w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.15-600x150.png 600w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.15-800x200.png 800w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.15-1200x299.png 1200w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.15.png 2020w\" data-sizes=\"auto\" data-orig-sizes=\"(max-width: 640px) 100vw, 2020px\" \/><\/span><\/div><div class=\"fusion-image-element\" style=\"text-align:center;--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\"fusion-imageframe imageframe-none imageframe-3 hover-type-none\"><img decoding=\"async\" width=\"2020\" height=\"852\" title=\"Bildschirmfoto 2024-10-07 \u00e0 14.12.30\" src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.30.png\" data-orig-src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.30.png\" alt class=\"lazyload img-responsive wp-image-142725\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%272020%27%20height%3D%27852%27%20viewBox%3D%270%200%202020%20852%27%3E%3Crect%20width%3D%272020%27%20height%3D%27852%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-srcset=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.30-200x84.png 200w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.30-400x169.png 400w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.30-600x253.png 600w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.30-800x337.png 800w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.30-1200x506.png 1200w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-a-14.12.30.png 2020w\" data-sizes=\"auto\" data-orig-sizes=\"(max-width: 640px) 100vw, 2020px\" \/><\/span><\/div><div class=\"fusion-title title fusion-title-2 fusion-sep-none fusion-title-text fusion-title-size-two\" style=\"--awb-text-color:var(--awb-color6);--awb-margin-bottom-small:8px;--awb-font-size:30px;\"><h2 class=\"fusion-title-heading title-heading-left fusion-responsive-typography-calculated\" style=\"font-family:&quot;PT Serif&quot;;font-style:normal;font-weight:700;margin:0;letter-spacing:1.6px;font-size:1em;--fontSize:30;line-height:1.47;\">Erkl\u00e4rung des Bedarfs<\/h2><\/div><div class=\"fusion-title title fusion-title-3 fusion-sep-none fusion-title-text fusion-title-size-three\" style=\"--awb-text-color:var(--awb-color6);--awb-margin-bottom-small:8px;--awb-font-size:30px;\"><h3 class=\"fusion-title-heading title-heading-left fusion-responsive-typography-calculated\" style=\"font-family:&quot;PT Serif&quot;;font-style:normal;font-weight:700;margin:0;letter-spacing:1.6px;font-size:1em;--fontSize:30;line-height:1.47;\">Data und Skalierbarkeit des Modells<\/h3><\/div><div class=\"fusion-text fusion-text-5\" style=\"--awb-font-size:20px;--awb-line-height:1.6;--awb-letter-spacing:var(--awb-typography4-letter-spacing);--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:var(--awb-color5);--awb-text-font-family:var(--awb-typography4-font-family);--awb-text-font-weight:var(--awb-typography4-font-weight);--awb-text-font-style:var(--awb-typography4-font-style);\"><p>Die data-Verwaltung von Choice-Learn st\u00fctzt sich auf NumPy (Harris et al., 2020) mit dem Ziel, den Speicherbedarf zu begrenzen. Es minimiert die Wiederholung von Elementen oder Kundenmerkmalen und verschiebt die Verkn\u00fcpfung der vollst\u00e4ndigen data-Struktur bis zur Verarbeitung von Stapeln von data. Das Paket f\u00fchrt das in Abbildung 2 dargestellte Objekt FeaturesStorage ein, das es erm\u00f6glicht, Feature-Werte nur \u00fcber ihre ID zu referenzieren. Diese Werte werden w\u00e4hrend des Batching-Prozesses spontan durch den ID-Platzhalter ersetzt. Supermarkt-Features wie Oberfl\u00e4che oder Position sind zum Beispiel oft station\u00e4r. Sie k\u00f6nnen daher in einer data-Hilfsstruktur gespeichert werden, und in der data-Hauptstruktur wird der Speicher, in dem die Auswahl aufgezeichnet ist, nur mit seiner ID referenziert.<\/p>\n<\/div><div class=\"fusion-text fusion-text-6\" style=\"--awb-font-size:20px;--awb-line-height:1.6;--awb-letter-spacing:var(--awb-typography4-letter-spacing);--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:var(--awb-color5);--awb-text-font-family:var(--awb-typography4-font-family);--awb-text-font-weight:var(--awb-typography4-font-weight);--awb-text-font-style:var(--awb-typography4-font-style);\"><p>Das Paket basiert auf Tensorflow (Abadi et al., 2015) f\u00fcr die Modellsch\u00e4tzung und bietet die M\u00f6glichkeit, schnelle Quasi-Newton-Optimierungsalgorithmen wie L-BFGS (Nocedal &amp; Wright, 2006) sowie verschiedene Gradientenabstiegsoptimierer (Kingma &amp; Ba, 2017; Tieleman &amp; Hinton, 2012) zu verwenden, die auf die Handhabung von Stapeln von data spezialisiert sind. Die Verwendung von GPUs ist ebenfalls m\u00f6glich, was sich als zeitsparend erweisen kann. Schlie\u00dflich gew\u00e4hrleistet das TensorFlow-Backbone durch Deployment- und Serving-Tools wie TFLite und TFServing eine effiziente Nutzung in einer Produktionsumgebung, z. B. innerhalb einer Software f\u00fcr Sortimentsempfehlungen.<\/p>\n<\/div><div class=\"fusion-image-element\" style=\"text-align:center;--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\"fusion-imageframe imageframe-none imageframe-4 hover-type-none\"><img decoding=\"async\" width=\"1534\" height=\"1076\" title=\"merkmale_speicher_3\" src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/features_storage_3.png\" data-orig-src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/features_storage_3.png\" alt class=\"lazyload img-responsive wp-image-142723\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%271534%27%20height%3D%271076%27%20viewBox%3D%270%200%201534%201076%27%3E%3Crect%20width%3D%271534%27%20height%3D%271076%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-srcset=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/features_storage_3-200x140.png 200w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/features_storage_3-400x281.png 400w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/features_storage_3-600x421.png 600w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/features_storage_3-800x561.png 800w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/features_storage_3-1200x842.png 1200w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/features_storage_3.png 1534w\" data-sizes=\"auto\" data-orig-sizes=\"(max-width: 640px) 100vw, 1534px\" \/><\/span><\/div><div class=\"fusion-title title fusion-title-4 fusion-sep-none fusion-title-text fusion-title-size-three\" style=\"--awb-text-color:var(--awb-color6);--awb-margin-bottom-small:8px;--awb-font-size:30px;\"><h3 class=\"fusion-title-heading title-heading-left fusion-responsive-typography-calculated\" style=\"font-family:&quot;PT Serif&quot;;font-style:normal;font-weight:700;margin:0;letter-spacing:1.6px;font-size:1em;--fontSize:30;line-height:1.47;\">Flexible Nutzung: Vom linearen Nutzen bis zur kundenspezifischen Spezifikation<\/h3><\/div><div class=\"fusion-text fusion-text-7\" style=\"--awb-font-size:20px;--awb-line-height:1.6;--awb-letter-spacing:var(--awb-typography4-letter-spacing);--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:var(--awb-color5);--awb-text-font-family:var(--awb-typography4-font-family);--awb-text-font-weight:var(--awb-typography4-font-weight);--awb-text-font-style:var(--awb-typography4-font-style);\"><p>Wahlmodelle, die dem Prinzip der zuf\u00e4lligen Nutzenmaximierung folgen (McFadden &amp; Train, 2000), definieren den Nutzen einer Alternative \ud835\udc56 \u2208 \ud835\udc9c als die Summe eines deterministischen Teils \ud835\udc48 (\ud835\udc56) und eines zuf\u00e4lligen Fehlers \ud835\udf16\ud835\udc56. Wenn die Terme (\ud835\udf16\ud835\udc56)\ud835\udc56\u2208\ud835\udc9c als unabh\u00e4ngig und Gumbel-verteilt angenommen werden, kann die Wahrscheinlichkeit, die Alternative \ud835\udc56 zu w\u00e4hlen, als die Softmax-Normalisierung \u00fcber die verf\u00fcgbaren Alternativen \ud835\udc57 \u2208 \ud835\udc9c geschrieben werden:<\/p>\n<\/div><div class=\"fusion-image-element\" style=\"text-align:center;--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\"fusion-imageframe imageframe-none imageframe-5 hover-type-none\"><img decoding=\"async\" width=\"300\" height=\"110\" title=\"Bildschirmfoto 2024-10-07 142150\" src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-142150.png\" data-orig-src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-142150-300x110.png\" alt class=\"lazyload img-responsive wp-image-142727\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27750%27%20height%3D%27274%27%20viewBox%3D%270%200%20750%20274%27%3E%3Crect%20width%3D%27750%27%20height%3D%27274%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-srcset=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-142150-200x73.png 200w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-142150-400x146.png 400w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-142150-600x219.png 600w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/Capture-decran-2024-10-07-142150.png 750w\" data-sizes=\"auto\" data-orig-sizes=\"(max-width: 640px) 100vw, 300px\" \/><\/span><\/div><div class=\"fusion-text fusion-text-8\" style=\"--awb-font-size:20px;--awb-line-height:1.6;--awb-letter-spacing:var(--awb-typography4-letter-spacing);--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:var(--awb-color5);--awb-text-font-family:var(--awb-typography4-font-family);--awb-text-font-weight:var(--awb-typography4-font-weight);--awb-text-font-style:var(--awb-typography4-font-style);\"><p>Die Aufgabe des Choice-Modellierers ist es, je nach Kontext eine geeignete Nutzenfunktion \ud835\udc48 (.) zu formulieren. In Choice-Learn kann der Benutzer vordefinierte Modelle parametrisieren oder eine benutzerdefinierte Nutzenfunktion frei angeben. Um ein benutzerdefiniertes Modell zu deklarieren, m\u00fcssen Sie die Klasse ChoiceModel erben und die Methode compute_batch_utility \u00fcberschreiben, wie in der Dokumentation beschrieben.<\/p>\n<\/div><div class=\"fusion-title title fusion-title-5 fusion-sep-none fusion-title-text fusion-title-size-three\" style=\"--awb-text-color:var(--awb-color6);--awb-margin-bottom-small:8px;--awb-font-size:30px;\"><h3 class=\"fusion-title-heading title-heading-left fusion-responsive-typography-calculated\" style=\"font-family:&quot;PT Serif&quot;;font-style:normal;font-weight:700;margin:0;letter-spacing:1.6px;font-size:1em;--fontSize:30;line-height:1.47;\">Bibliothek mit traditionellen Zufallsnutzenmodellen und auf maschinellem Lernen basierenden Modellen<\/h3><\/div><div class=\"fusion-text fusion-text-9\" style=\"--awb-font-size:20px;--awb-line-height:1.6;--awb-letter-spacing:var(--awb-typography4-letter-spacing);--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:var(--awb-color5);--awb-text-font-family:var(--awb-typography4-font-family);--awb-text-font-weight:var(--awb-typography4-font-weight);--awb-text-font-style:var(--awb-typography4-font-style);\"><p>Traditionelle parametrische Wahlmodelle, einschlie\u00dflich des Conditional Logit (Train et al., 1987), spezifizieren die Nutzenfunktion h\u00e4ufig in einer linearen Form. Dies liefert interpretierbare Koeffizienten, schr\u00e4nkt aber die Vorhersagekraft des Modells ein. Neuere Arbeiten schlagen die Sch\u00e4tzung komplexerer Modelle vor, mit Ans\u00e4tzen neuronaler Netzwerke (Aouad &amp; D\u00e9sir, 2022; Han et al., 2022) und baumbasierten Modellen (Aouad et al., 2023; Salvad\u00e9 &amp; Hillel, 2024). W\u00e4hrend bestehende Choice-Bibliotheken (Bierlaire, 2023; Brathwaite &amp; Walker, 2018; Du et al., 2023) oft nicht darauf ausgelegt sind, solche auf maschinellem Lernen basierenden Ans\u00e4tze zu integrieren, schl\u00e4gt Choice-Learn eine Sammlung vor, die beide Arten von Modellen umfasst.<\/p>\n<\/div><div class=\"fusion-title title fusion-title-6 fusion-sep-none fusion-title-text fusion-title-size-three\" style=\"--awb-text-color:var(--awb-color6);--awb-margin-bottom-small:8px;--awb-font-size:30px;\"><h3 class=\"fusion-title-heading title-heading-left fusion-responsive-typography-calculated\" style=\"font-family:&quot;PT Serif&quot;;font-style:normal;font-weight:700;margin:0;letter-spacing:1.6px;font-size:1em;--fontSize:30;line-height:1.47;\">Nachgelagerte Operationen: Sortiments- und Preisoptimierung<\/h3><\/div><div class=\"fusion-text fusion-text-10\" style=\"--awb-font-size:20px;--awb-line-height:1.6;--awb-letter-spacing:var(--awb-typography4-letter-spacing);--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:var(--awb-color5);--awb-text-font-family:var(--awb-typography4-font-family);--awb-text-font-weight:var(--awb-typography4-font-weight);--awb-text-font-style:var(--awb-typography4-font-style);\"><p>Choice-Learn bietet zus\u00e4tzliche Tools f\u00fcr nachgelagerte Operationen, die normalerweise nicht in Bibliotheken zur Wahlmodellierung integriert sind. Insbesondere die Sortimentsoptimierung ist ein g\u00e4ngiger Anwendungsfall, bei dem ein Choice-Modell genutzt wird, um die optimale Teilmenge von Alternativen zu bestimmen, die den Kunden angeboten werden kann, um ein bestimmtes Ziel zu maximieren, wie z.B. den erwarteten Umsatz, die Konversionsrate oder das soziale Wohlergehen. Dieser Rahmen umfasst eine Vielzahl von Anwendungen, wie z.B. Sortimentsplanung, Optimierung von Ausstellungsorten und Preisgestaltung. Wir bieten Implementierungen, die auf der in (M\u00e9ndez-D\u00edaz et al., 2014) beschriebenen gemischt-ganzzahligen Programmierung basieren, mit der Option, den Solver zwischen Gurobi (Gurobi Optimization, LLC, 2023) und OR-Tools (Perron &amp; Furnon, 2024) zu w\u00e4hlen.<\/p>\n<\/div><div class=\"fusion-title title fusion-title-7 fusion-sep-none fusion-title-text fusion-title-size-two\" style=\"--awb-text-color:var(--awb-color6);--awb-margin-bottom-small:8px;--awb-font-size:30px;\"><h2 class=\"fusion-title-heading title-heading-left fusion-responsive-typography-calculated\" style=\"font-family:&quot;PT Serif&quot;;font-style:normal;font-weight:700;margin:0;letter-spacing:1.6px;font-size:1em;--fontSize:30;line-height:1.47;\"><strong>Speichernutzung: eine Fallstudie<\/strong><\/h2><\/div><div class=\"fusion-text fusion-text-11\" style=\"--awb-font-size:20px;--awb-line-height:1.6;--awb-letter-spacing:var(--awb-typography4-letter-spacing);--awb-text-transform:var(--awb-typography4-text-transform);--awb-text-color:var(--awb-color5);--awb-text-font-family:var(--awb-typography4-font-family);--awb-text-font-weight:var(--awb-typography4-font-weight);--awb-text-font-style:var(--awb-typography4-font-style);\"><p>In Abbildung 3 (a) finden Sie numerische Beispiele f\u00fcr die Speichernutzung, um die Effizienz von FeaturesStorage zu veranschaulichen. Wir betrachten ein Feature, das in einem data-Set wiederholt wird, wie z.B. eine One-Hot-Codierung f\u00fcr Orte, dargestellt durch eine Matrix der Form (#locations, #locations), wobei jede Zeile auf<br \/>\nan einem Ort.<br \/>\nWir vergleichen vier data-Verarbeitungsmethoden mit dem Expedia dataset (Ben Hamner et al., 2013): pandas.DataFrames (The pandas development team, 2020) im langen und breiten Format, die beide in den Wahlmodellierungspaketen Torch-Choice und Choice-Learn verwendet werden. Abbildung 3 (b) zeigt die<br \/>\nErgebnisse f\u00fcr verschiedene Stichprobengr\u00f6\u00dfen.<br \/>\nIn Abbildung 3 (c) und (d) sehen wir schlie\u00dflich, wie die Speichernutzung bei einem propriet\u00e4ren dataset im station\u00e4ren Einzelhandel zunimmt, das aus der Aggregation von mehr als 4 Milliarden Eink\u00e4ufen in Konzum-Superm\u00e4rkten in Kroatien besteht. Das dataset, das sich auf die Unterkategorie Kaffee konzentriert, gibt f\u00fcr jeden Einkauf an, welche Produkte verf\u00fcgbar waren, deren Preise sowie eine One-Hot-Darstellung des Supermarktes.<\/p>\n<\/div><div class=\"fusion-image-element\" style=\"text-align:center;--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\"fusion-imageframe imageframe-none imageframe-6 hover-type-none\"><img decoding=\"async\" width=\"1010\" height=\"882\" title=\"ram_auslastung_Vergleich\" src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/ram_usage_comparison.png\" data-orig-src=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/ram_usage_comparison.png\" alt class=\"lazyload img-responsive wp-image-142722\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%271010%27%20height%3D%27882%27%20viewBox%3D%270%200%201010%20882%27%3E%3Crect%20width%3D%271010%27%20height%3D%27882%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-srcset=\"https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/ram_usage_comparison-200x175.png 200w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/ram_usage_comparison-400x349.png 400w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/ram_usage_comparison-600x524.png 600w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/ram_usage_comparison-800x699.png 800w, https:\/\/www.artefact.com\/\/wp-content\/uploads\/2024\/10\/ram_usage_comparison.png 1010w\" data-sizes=\"auto\" data-orig-sizes=\"(max-width: 640px) 100vw, 1010px\" \/><\/span><\/div><\/div><\/div><\/div><\/article><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-3 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-margin-top:40px;--awb-margin-bottom:40px;--awb-background-color:var(--awb-color1);--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-center fusion-flex-justify-content-center fusion-flex-content-wrap\" style=\"max-width:calc( 1440px + 20px );margin-left: calc(-20px \/ 2 );margin-right: calc(-20px \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-2 fusion_builder_column_1_1 1_1 fusion-flex-column fusion-flex-align-self-center fusion-column-inner-bg-wrapper\" style=\"--awb-padding-top:40px;--awb-padding-right:40px;--awb-padding-bottom:40px;--awb-padding-left:40px;--awb-overflow:hidden;--awb-inner-bg-position:left center;--awb-inner-bg-size:cover;--awb-border-color:rgba(10,17,40,0.1);--awb-border-style:solid;--awb-border-radius:4px 4px 4px 4px;--awb-inner-bg-border-radius:4px 4px 4px 4px;--awb-inner-bg-overflow:hidden;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:10px;--awb-margin-bottom-large:0px;--awb-spacing-left-large:10px;--awb-width-medium:100%;--awb-order-medium:0;--awb-spacing-right-medium:10px;--awb-spacing-left-medium:10px;--awb-width-small:100%;--awb-order-small:0;--awb-spacing-right-small:10px;--awb-spacing-left-small:10px;\" data-scroll-devices=\"small-visibility,medium-visibility,large-visibility\"><span class=\"fusion-column-inner-bg hover-type-none\"><a class=\"fusion-column-anchor\" href=\"https:\/\/medium.com\/artefact-engineering-and-data-science\/modeling-customers-decisions-in-python-with-the-choice-learn-package-37752cb7932e\" target=\"_blank\" rel=\"noopener\"><span class=\"fusion-column-inner-bg-image lazyload\" data-bg=\"https:\/\/artefact.com\/\/wp-content\/uploads\/2021\/03\/background.jpg\"><\/span><\/a><\/span><div class=\"fusion-column-wrapper fusion-column-has-shadow fusion-flex-justify-content-center fusion-content-layout-column fusion-column-has-bg-image\" data-bg-url=\"https:\/\/artefact.com\/\/wp-content\/uploads\/2021\/03\/background.jpg\"><div class=\"fusion-image-element\" style=\"text-align:center;--awb-margin-right:20px;--awb-margin-left:20px;--awb-max-width:150px;--awb-caption-title-font-family:var(--h2_typography-font-family);--awb-caption-title-font-weight:var(--h2_typography-font-weight);--awb-caption-title-font-style:var(--h2_typography-font-style);--awb-caption-title-size:var(--h2_typography-font-size);--awb-caption-title-transform:var(--h2_typography-text-transform);--awb-caption-title-line-height:var(--h2_typography-line-height);--awb-caption-title-letter-spacing:var(--h2_typography-letter-spacing);\"><span class=\"fusion-imageframe imageframe-none imageframe-7 hover-type-none\"><img decoding=\"async\" width=\"72\" height=\"41\" title=\"mittel\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2772%27%20height%3D%2741%27%20viewBox%3D%270%200%2072%2041%27%3E%3Crect%20width%3D%2772%27%20height%3D%2741%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-orig-src=\"https:\/\/artefact.com\/\/wp-content\/uploads\/2021\/03\/medium.png\" alt class=\"lazyload img-responsive wp-image-60927\"\/><\/span><\/div><div class=\"fusion-title title fusion-title-8 fusion-sep-none fusion-title-center fusion-title-text fusion-title-size-three\" style=\"--awb-margin-top:20px;--awb-margin-bottom:0px;--awb-margin-bottom-small:8px;\"><h3 class=\"fusion-title-heading title-heading-center fusion-responsive-typography-calculated\" style=\"margin:0;--fontSize:20;line-height:1.2;\">Mittel Blog von Artefact.<\/h3><\/div><div class=\"fusion-text fusion-text-12\" style=\"--awb-content-alignment:center;\"><p>Dieser Artikel wurde urspr\u00fcnglich auf Medium.com ver\u00f6ffentlicht.<br \/>\nFolgen Sie uns auf unserem Medium Blog !<\/p>\n<\/div><div style=\"text-align:center;\"><a class=\"fusion-button button-flat button-medium button-default fusion-button-default button-2 fusion-button-default-span fusion-button-default-type\" style=\"--button_text_transform:var(--awb-custom_typography_2-text-transform);--button_typography-letter-spacing:var(--awb-custom_typography_2-letter-spacing);--button_typography-font-family:var(--awb-custom_typography_2-font-family);--button_typography-font-weight:var(--awb-custom_typography_2-font-weight);--button_typography-font-style:var(--awb-custom_typography_2-font-style);\" target=\"_blank\" rel=\"noopener noreferrer\" data-hover=\"text_slide_down\" href=\"https:\/\/medium.com\/artefact-engineering-and-data-science\/modeling-customers-decisions-in-python-with-the-choice-learn-package-37752cb7932e\"><div class=\"awb-button-text-transition  awb-button__hover-content--centered\"><span class=\"fusion-button-text awb-button__text awb-button__text--default\">Unseren Artikel lesen<\/span><span class=\"fusion-button-text awb-button__text awb-button__text--default\">Unseren Artikel lesen<\/span><\/div><\/a><\/div><\/div><\/div><\/div><\/div><\/p>","protected":false},"excerpt":{"rendered":"<p>Diskrete Auswahlmodelle zielen auf die Vorhersage von Wahlentscheidungen ab, die Einzelpersonen aus einem Men\u00fc von Alternativen, dem sogenannten Sortiment, treffen. Bekannte Anwendungsf\u00e4lle sind die Vorhersage der Verkehrsmittelwahl eines Pendlers oder der Eink\u00e4ufe eines Kunden.<\/p>","protected":false},"featured_media":143200,"parent":0,"template":"","meta":{"_acf_changed":false,"ep_exclude_from_search":false},"blog-category":[21939],"blog-language":[2991,2993],"class_list":["post-132194","blog","type-blog","status-publish","has-post-thumbnail","hentry","blog-category-medium","blog-language-en","blog-language-fr"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.artefact.com\/de\/wp-json\/wp\/v2\/blog\/132194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.artefact.com\/de\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.artefact.com\/de\/wp-json\/wp\/v2\/types\/blog"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.artefact.com\/de\/wp-json\/wp\/v2\/media\/143200"}],"wp:attachment":[{"href":"https:\/\/www.artefact.com\/de\/wp-json\/wp\/v2\/media?parent=132194"}],"wp:term":[{"taxonomy":"blog-category","embeddable":true,"href":"https:\/\/www.artefact.com\/de\/wp-json\/wp\/v2\/blog-category?post=132194"},{"taxonomy":"blog-language","embeddable":true,"href":"https:\/\/www.artefact.com\/de\/wp-json\/wp\/v2\/blog-language?post=132194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}