diff --git a/README.md b/README.md index 8b3d02e5..a2090dbd 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,23 @@ Explore the world of **Artificial Intelligence** (AI) with our 12-week, 24-lesso [Arabic](./translations/ar/README.md) | [Bengali](./translations/bn/README.md) | [Bulgarian](./translations/bg/README.md) | [Burmese (Myanmar)](./translations/my/README.md) | [Chinese (Simplified)](./translations/zh-CN/README.md) | [Chinese (Traditional, Hong Kong)](./translations/zh-HK/README.md) | [Chinese (Traditional, Macau)](./translations/zh-MO/README.md) | [Chinese (Traditional, Taiwan)](./translations/zh-TW/README.md) | [Croatian](./translations/hr/README.md) | [Czech](./translations/cs/README.md) | [Danish](./translations/da/README.md) | [Dutch](./translations/nl/README.md) | [Estonian](./translations/et/README.md) | [Finnish](./translations/fi/README.md) | [French](./translations/fr/README.md) | [German](./translations/de/README.md) | [Greek](./translations/el/README.md) | [Hebrew](./translations/he/README.md) | [Hindi](./translations/hi/README.md) | [Hungarian](./translations/hu/README.md) | [Indonesian](./translations/id/README.md) | [Italian](./translations/it/README.md) | [Japanese](./translations/ja/README.md) | [Kannada](./translations/kn/README.md) | [Korean](./translations/ko/README.md) | [Lithuanian](./translations/lt/README.md) | [Malay](./translations/ms/README.md) | [Malayalam](./translations/ml/README.md) | [Marathi](./translations/mr/README.md) | [Nepali](./translations/ne/README.md) | [Nigerian Pidgin](./translations/pcm/README.md) | [Norwegian](./translations/no/README.md) | [Persian (Farsi)](./translations/fa/README.md) | [Polish](./translations/pl/README.md) | [Portuguese (Brazil)](./translations/pt-BR/README.md) | [Portuguese (Portugal)](./translations/pt-PT/README.md) | [Punjabi (Gurmukhi)](./translations/pa/README.md) | [Romanian](./translations/ro/README.md) | [Russian](./translations/ru/README.md) | [Serbian (Cyrillic)](./translations/sr/README.md) | [Slovak](./translations/sk/README.md) | [Slovenian](./translations/sl/README.md) | [Spanish](./translations/es/README.md) | [Swahili](./translations/sw/README.md) | [Swedish](./translations/sv/README.md) | [Tagalog (Filipino)](./translations/tl/README.md) | [Tamil](./translations/ta/README.md) | [Telugu](./translations/te/README.md) | [Thai](./translations/th/README.md) | [Turkish](./translations/tr/README.md) | [Ukrainian](./translations/uk/README.md) | [Urdu](./translations/ur/README.md) | [Vietnamese](./translations/vi/README.md) > **Prefer to Clone Locally?** - +> > This repository includes 50+ language translations which significantly increases the download size. To clone without translations, use sparse checkout: +> +> **Bash / macOS / Linux:** > ```bash > git clone --filter=blob:none --sparse https://github.com/microsoft/AI-For-Beginners.git > cd AI-For-Beginners > git sparse-checkout set --no-cone '/*' '!translations' '!translated_images' > ``` +> +> **CMD (Windows):** +> ```cmd +> git clone --filter=blob:none --sparse https://github.com/microsoft/AI-For-Beginners.git +> cd AI-For-Beginners +> git sparse-checkout set --no-cone "/*" "!translations" "!translated_images" +> ``` +> > This gives you everything you need to complete the course with a much faster download. diff --git a/translations/de/.co-op-translator.json b/translations/de/.co-op-translator.json index 2e822246..58fc68d4 100644 --- a/translations/de/.co-op-translator.json +++ b/translations/de/.co-op-translator.json @@ -6,8 +6,8 @@ "language_code": "de" }, "README.md": { - "original_hash": "75fe3383afc51eaa84b82ace619ffea7", - "translation_date": "2026-02-06T07:17:38+00:00", + "original_hash": "9eaca839b0b3f6d7f0a195fd33cebd30", + "translation_date": "2026-02-28T08:18:13+00:00", "source_file": "README.md", "language_code": "de" }, @@ -89,6 +89,12 @@ "source_file": "lessons/1-Intro/assignment.md", "language_code": "de" }, + "lessons/2-Symbolic/MSConceptGraph.ipynb": { + "original_hash": "e5690bbc6e5119a96a8172ec7261db67", + "translation_date": "2026-02-28T08:14:04+00:00", + "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", + "language_code": "de" + }, "lessons/2-Symbolic/README.md": { "original_hash": "f9f06b266b8b2bfc6b8792ff2bb1bea4", "translation_date": "2026-01-15T10:52:48+00:00", diff --git a/translations/de/README.md b/translations/de/README.md index 1a335b14..b0df210f 100644 --- a/translations/de/README.md +++ b/translations/de/README.md @@ -12,36 +12,45 @@ [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -# Künstliche Intelligenz für Anfänger - Ein Lehrplan +# Künstliche Intelligenz für Anfänger – Ein Lehrplan -|![Sketchnote von @girlie_mac https://twitter.com/girlie_mac](https://github.com/microsoft/AI-For-Beginners/raw/main/lessons/sketchnotes/ai-overview.png)| +|![Sketchnote by @girlie_mac https://twitter.com/girlie_mac](https://github.com/microsoft/AI-For-Beginners/raw/main/lessons/sketchnotes/ai-overview.png)| |:---:| | KI für Anfänger - _Sketchnote von [@girlie_mac](https://twitter.com/girlie_mac)_ | -Entdecke die Welt der **Künstlichen Intelligenz** (KI) mit unserem 12-wöchigen Lehrplan mit 24 Lektionen! Er umfasst praktische Lektionen, Quizze und Laborübungen. Der Lehrplan ist anfängerfreundlich und behandelt Werkzeuge wie TensorFlow und PyTorch sowie Ethik in der KI. +Entdecke die Welt der **Künstlichen Intelligenz** (KI) mit unserem 12-wöchigen Kursprogramm mit 24 Lektionen! Es umfasst praktische Lektionen, Quizze und Labore. Der Lehrplan ist anfängerfreundlich und behandelt Tools wie TensorFlow und PyTorch sowie Ethik in der KI. +### 🌐 Unterstützung mehrerer Sprachen -### 🌐 Mehrsprachige Unterstützung - -#### Unterstützt über GitHub Action (Automatisiert & stets aktuell) +#### Unterstützt über GitHub Action (Automatisiert & Immer Aktuell) -[Arabisch](../ar/README.md) | [Bengalisch](../bn/README.md) | [Bulgarisch](../bg/README.md) | [Birmanisch (Myanmar)](../my/README.md) | [Chinesisch (vereinfacht)](../zh-CN/README.md) | [Chinesisch (Traditionell, Hongkong)](../zh-HK/README.md) | [Chinesisch (Traditionell, Macau)](../zh-MO/README.md) | [Chinesisch (Traditionell, Taiwan)](../zh-TW/README.md) | [Kroatisch](../hr/README.md) | [Tschechisch](../cs/README.md) | [Dänisch](../da/README.md) | [Niederländisch](../nl/README.md) | [Estnisch](../et/README.md) | [Finnisch](../fi/README.md) | [Französisch](../fr/README.md) | [Deutsch](./README.md) | [Griechisch](../el/README.md) | [Hebräisch](../he/README.md) | [Hindi](../hi/README.md) | [Ungarisch](../hu/README.md) | [Indonesisch](../id/README.md) | [Italienisch](../it/README.md) | [Japanisch](../ja/README.md) | [Kannada](../kn/README.md) | [Koreanisch](../ko/README.md) | [Litauisch](../lt/README.md) | [Malaiisch](../ms/README.md) | [Malayalam](../ml/README.md) | [Marathi](../mr/README.md) | [Nepalesisch](../ne/README.md) | [Nigerianisches Pidgin](../pcm/README.md) | [Norwegisch](../no/README.md) | [Persisch (Farsi)](../fa/README.md) | [Polnisch](../pl/README.md) | [Portugiesisch (Brasilien)](../pt-BR/README.md) | [Portugiesisch (Portugal)](../pt-PT/README.md) | [Punjabi (Gurmukhi)](../pa/README.md) | [Rumänisch](../ro/README.md) | [Russisch](../ru/README.md) | [Serbisch (Kyrillisch)](../sr/README.md) | [Slowakisch](../sk/README.md) | [Slowenisch](../sl/README.md) | [Spanisch](../es/README.md) | [Swahili](../sw/README.md) | [Schwedisch](../sv/README.md) | [Tagalog (Filipino)](../tl/README.md) | [Tamil](../ta/README.md) | [Telugu](../te/README.md) | [Thailändisch](../th/README.md) | [Türkisch](../tr/README.md) | [Ukrainisch](../uk/README.md) | [Urdu](../ur/README.md) | [Vietnamesisch](../vi/README.md) +[Arabisch](../ar/README.md) | [Bengalisch](../bn/README.md) | [Bulgarisch](../bg/README.md) | [Birmanisch (Myanmar)](../my/README.md) | [Chinesisch (Vereinfacht)](../zh-CN/README.md) | [Chinesisch (Traditionell, Hongkong)](../zh-HK/README.md) | [Chinesisch (Traditionell, Macau)](../zh-MO/README.md) | [Chinesisch (Traditionell, Taiwan)](../zh-TW/README.md) | [Kroatisch](../hr/README.md) | [Tschechisch](../cs/README.md) | [Dänisch](../da/README.md) | [Niederländisch](../nl/README.md) | [Estnisch](../et/README.md) | [Finnisch](../fi/README.md) | [Französisch](../fr/README.md) | [Deutsch](./README.md) | [Griechisch](../el/README.md) | [Hebräisch](../he/README.md) | [Hindi](../hi/README.md) | [Ungarisch](../hu/README.md) | [Indonesisch](../id/README.md) | [Italienisch](../it/README.md) | [Japanisch](../ja/README.md) | [Kannada](../kn/README.md) | [Koreanisch](../ko/README.md) | [Litauisch](../lt/README.md) | [Malaiisch](../ms/README.md) | [Malayalam](../ml/README.md) | [Marathi](../mr/README.md) | [Nepali](../ne/README.md) | [Nigerianisches Pidgin](../pcm/README.md) | [Norwegisch](../no/README.md) | [Persisch (Farsi)](../fa/README.md) | [Polnisch](../pl/README.md) | [Portugiesisch (Brasilien)](../pt-BR/README.md) | [Portugiesisch (Portugal)](../pt-PT/README.md) | [Punjabi (Gurmukhi)](../pa/README.md) | [Rumänisch](../ro/README.md) | [Russisch](../ru/README.md) | [Serbisch (Kyrillisch)](../sr/README.md) | [Slowakisch](../sk/README.md) | [Slowenisch](../sl/README.md) | [Spanisch](../es/README.md) | [Suaheli](../sw/README.md) | [Schwedisch](../sv/README.md) | [Tagalog (Filipino)](../tl/README.md) | [Tamil](../ta/README.md) | [Telugu](../te/README.md) | [Thailändisch](../th/README.md) | [Türkisch](../tr/README.md) | [Ukrainisch](../uk/README.md) | [Urdu](../ur/README.md) | [Vietnamesisch](../vi/README.md) -> **Möchten Sie lieber lokal klonen?** - -> Dieses Repository enthält über 50 Sprachübersetzungen, die die Downloadgröße erheblich vergrößern. Um ohne Übersetzungen zu klonen, verwenden Sie Sparse Checkout: +> **Möchtest du es lieber lokal klonen?** +> +> Dieses Repository enthält über 50 Sprachübersetzungen, die die Downloadgröße erheblich erhöhen. Um ohne Übersetzungen zu klonen, verwende Sparse Checkout: +> +> **Bash / macOS / Linux:** > ```bash > git clone --filter=blob:none --sparse https://github.com/microsoft/AI-For-Beginners.git > cd AI-For-Beginners > git sparse-checkout set --no-cone '/*' '!translations' '!translated_images' > ``` -> Das gibt Ihnen alles, was Sie benötigen, um den Kurs mit viel schnellerem Download abzuschließen. +> +> **CMD (Windows):** +> ```cmd +> git clone --filter=blob:none --sparse https://github.com/microsoft/AI-For-Beginners.git +> cd AI-For-Beginners +> git sparse-checkout set --no-cone "/*" "!translations" "!translated_images" +> ``` +> +> So erhältst du alles, was du benötigst, um den Kurs mit einem viel schnelleren Download abzuschließen. -**Wenn Sie weitere unterstützte Übersetzungssprachen wünschen, sind diese [hier](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md) aufgelistet** +**Wenn du zusätzliche Übersetzungssprachen wünschst, werden die unterstützten Sprachen [hier](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md) aufgelistet.** -## Treten Sie der Community bei +## Werde Teil der Community [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) ## Was du lernen wirst @@ -50,176 +59,174 @@ Entdecke die Welt der **Künstlichen Intelligenz** (KI) mit unserem 12-wöchigen In diesem Lehrplan lernst du: -* Verschiedene Ansätze zur Künstlichen Intelligenz, einschließlich des „guten alten“ symbolischen Ansatzes mit **Wissensrepräsentation** und Schlussfolgerungen ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). -* **Neuronale Netze** und **Deep Learning**, die Kernbereiche der modernen KI sind. Wir werden die Konzepte hinter diesen wichtigen Themen anhand von Code in zwei der beliebtesten Frameworks veranschaulichen - [TensorFlow](http://Tensorflow.org) und [PyTorch](http://pytorch.org). -* **Neuronale Architekturen** für die Arbeit mit Bildern und Texten. Wir behandeln aktuelle Modelle, können aber im Bereich des Stands der Technik etwas hinterherhinken. -* Weniger verbreitete KI-Ansätze wie **Genetische Algorithmen** und **Multi-Agenten-Systeme**. +* Verschiedene Ansätze der Künstlichen Intelligenz, einschließlich des „guten alten“ symbolischen Ansatzes mit **Wissensrepräsentation** und Schlussfolgerungen ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). +* **Neuronale Netze** und **Deep Learning**, die im Kern moderner KI stehen. Wir werden die Konzepte hinter diesen wichtigen Themen mit Code in zwei der beliebtesten Frameworks demonstrieren – [TensorFlow](http://Tensorflow.org) und [PyTorch](http://pytorch.org). +* **Neuronale Architekturen** für die Arbeit mit Bildern und Text. Wir behandeln aktuelle Modelle, könnten aber bei State-of-the-Art etwas eingeschränkt sein. +* Weniger populäre KI-Ansätze wie **Genetische Algorithmen** und **Multi-Agenten-Systeme**. Was wir in diesem Lehrplan nicht behandeln: -> [Finde alle zusätzlichen Ressourcen zu diesem Kurs in unserer Microsoft Learn-Sammlung](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) +> [Finde alle zusätzlichen Ressourcen für diesen Kurs in unserer Microsoft Learn-Sammlung](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) -* Anwendungsfälle für **KI im Geschäftsleben**. Ziehen Sie in Betracht, den Lernpfad [Einführung in KI für Geschäftsanwender](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) auf Microsoft Learn zu belegen oder die [AI Business School](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), entwickelt in Zusammenarbeit mit [INSEAD](https://www.insead.edu/). -* **Klassisches Machine Learning**, das in unserem [Machine Learning für Anfänger Lehrplan](http://github.com/Microsoft/ML-for-Beginners) gut beschrieben ist. -* Praktische KI-Anwendungen, die mit **[Cognitive Services](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)** erstellt wurden. Wir empfehlen, mit Microsoft Learn-Modulen für [Vision](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), [Natürliche Sprachverarbeitung](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[Generative KI mit Azure OpenAI Service](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** und andere zu beginnen. -* Spezifische ML-**Cloud-Frameworks**, wie [Azure Machine Learning](https://azure.microsoft.com/services/machine-learning/?WT.mc_id=academic-77998-bethanycheum), [Microsoft Fabric](https://learn.microsoft.com/en-us/training/paths/get-started-fabric/?WT.mc_id=academic-77998-bethanycheum) oder [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). Ziehen Sie die Lernpfade [Machine Learning-Lösungen mit Azure Machine Learning erstellen und betreiben](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) und [Machine Learning-Lösungen mit Azure Databricks erstellen und betreiben](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum) in Betracht. -* **Konversationelle KI** und **Chatbots**. Es gibt einen separaten Lernpfad [Konversationelle KI-Lösungen erstellen](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum), und Sie können auch diesen [Blogbeitrag](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/) für weitere Details nutzen. -* **Tiefe Mathematik** hinter Deep Learning. Wir empfehlen dafür das Buch [Deep Learning](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) von Ian Goodfellow, Yoshua Bengio und Aaron Courville, das auch online unter [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/) verfügbar ist. +* Geschäftsanwendungen der **KI im Business**. Ziehe in Betracht, den Lernpfad [Einführung in KI für Geschäftsbenutzer](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) auf Microsoft Learn zu absolvieren, oder die [AI Business School](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), entwickelt in Zusammenarbeit mit [INSEAD](https://www.insead.edu/). +* **Klassisches Machine Learning**, welches in unserem [Machine Learning for Beginners Curriculum](http://github.com/Microsoft/ML-for-Beginners) gut beschrieben ist. +* Praktische KI-Anwendungen, die mit **[Cognitive Services](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)** erstellt wurden. Dafür empfehlen wir, mit Modulen von Microsoft Learn für [Vision](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), [natürliche Sprachverarbeitung](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[Generative KI mit Azure OpenAI Service](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** und andere zu beginnen. +* Spezifische ML-**Cloud-Frameworks**, wie [Azure Machine Learning](https://azure.microsoft.com/services/machine-learning/?WT.mc_id=academic-77998-bethanycheum), [Microsoft Fabric](https://learn.microsoft.com/en-us/training/paths/get-started-fabric/?WT.mc_id=academic-77998-bethanycheum) oder [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). Erwäge die Nutzung der Lernpfade [Erstellen und Betreiben von Machine Learning-Lösungen mit Azure Machine Learning](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) und [Erstellen und Betreiben von Machine Learning-Lösungen mit Azure Databricks](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum). +* **Konversationelle KI** und **Chatbots**. Es gibt einen separaten Lernpfad [Konversationelle KI-Lösungen erstellen](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum), und du kannst auch [diesen Blogbeitrag](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/) für weitere Details lesen. +* **Tiefe Mathematik** hinter Deep Learning. Dafür empfehlen wir [Deep Learning](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) von Ian Goodfellow, Yoshua Bengio und Aaron Courville, das auch online unter [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/) verfügbar ist. -Für eine sanfte Einführung in _KI in der Cloud_ Themen können Sie den Lernpfad [Erste Schritte mit künstlicher Intelligenz auf Azure](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum) in Betracht ziehen. +Für eine sanfte Einführung in _KI in der Cloud_-Themen kannst du den Lernpfad [Erste Schritte mit künstlicher Intelligenz auf Azure](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum) in Betracht ziehen. # Inhalt -| | Lektion Link | PyTorch/Keras/TensorFlow | Labor | +| | Lektion Link | PyTorch/Keras/TensorFlow | Labor | | :-: | :------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------ | -| 0 | [Kurseinrichtung](./lessons/0-course-setup/setup.md) | [Richte deine Entwicklungsumgebung ein](./lessons/0-course-setup/how-to-run.md) | | +| 0 | [Kurs-Einrichtung](./lessons/0-course-setup/setup.md) | [Richte deine Entwicklungsumgebung ein](./lessons/0-course-setup/how-to-run.md) | | | I | [**Einführung in KI**](./lessons/1-Intro/README.md) | | | | 01 | [Einführung und Geschichte der KI](./lessons/1-Intro/README.md) | - | - | | II | **Symbolische KI** | -| 02 | [Wissensrepräsentation und Expertensysteme](./lessons/2-Symbolic/README.md) | [Expertensysteme](./lessons/2-Symbolic/Animals.ipynb) / [Ontologie](./lessons/2-Symbolic/FamilyOntology.ipynb) /[Konzeptgraph](./lessons/2-Symbolic/MSConceptGraph.ipynb) | | +| 02 | [Wissensrepräsentation und Expertensysteme](./lessons/2-Symbolic/README.md) | [Expertensysteme](./lessons/2-Symbolic/Animals.ipynb) / [Ontologie](./lessons/2-Symbolic/FamilyOntology.ipynb) /[Begriffsgraf](./lessons/2-Symbolic/MSConceptGraph.ipynb) | | | III | [**Einführung in neuronale Netzwerke**](./lessons/3-NeuralNetworks/README.md) ||| -| 03 | [Perzeptron](./lessons/3-NeuralNetworks/03-Perceptron/README.md) | [Notebook](./lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb) | [Lab](./lessons/3-NeuralNetworks/03-Perceptron/lab/README.md) | -| 04 | [Mehrschichtiges Perzeptron und Erstellung unseres eigenen Frameworks](./lessons/3-NeuralNetworks/04-OwnFramework/README.md) | [Notebook](./lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb) | [Lab](./lessons/3-NeuralNetworks/04-OwnFramework/lab/README.md) | -| 05 | [Einführung in Frameworks (PyTorch/TensorFlow) und Überanpassung](./lessons/3-NeuralNetworks/05-Frameworks/README.md) | [PyTorch](./lessons/3-NeuralNetworks/05-Frameworks/IntroPyTorch.ipynb) / [Keras](./lessons/3-NeuralNetworks/05-Frameworks/IntroKeras.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Lab](./lessons/3-NeuralNetworks/05-Frameworks/lab/README.md) | -| IV | [**Computer Vision**](./lessons/4-ComputerVision/README.md) | [PyTorch](https://docs.microsoft.com/learn/modules/intro-computer-vision-pytorch/?WT.mc_id=academic-77998-cacaste) / [TensorFlow](https://docs.microsoft.com/learn/modules/intro-computer-vision-TensorFlow/?WT.mc_id=academic-77998-cacaste)| [Erkunde Computer Vision auf Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) | -| 06 | [Einführung in Computer Vision. OpenCV](./lessons/4-ComputerVision/06-IntroCV/README.md) | [Notebook](./lessons/4-ComputerVision/06-IntroCV/OpenCV.ipynb) | [Lab](./lessons/4-ComputerVision/06-IntroCV/lab/README.md) | -| 07 | [Faltungsneuronale Netze](./lessons/4-ComputerVision/07-ConvNets/README.md) & [CNN Architekturen](./lessons/4-ComputerVision/07-ConvNets/CNN_Architectures.md) | [PyTorch](./lessons/4-ComputerVision/07-ConvNets/ConvNetsPyTorch.ipynb) /[TensorFlow](./lessons/4-ComputerVision/07-ConvNets/ConvNetsTF.ipynb) | [Lab](./lessons/4-ComputerVision/07-ConvNets/lab/README.md) | -| 08 | [Vortrainierte Netze und Transferlernen](./lessons/4-ComputerVision/08-TransferLearning/README.md) und [Trainingstricks](./lessons/4-ComputerVision/08-TransferLearning/TrainingTricks.md) | [PyTorch](./lessons/4-ComputerVision/08-TransferLearning/TransferLearningPyTorch.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Lab](./lessons/4-ComputerVision/08-TransferLearning/lab/README.md) | +| 03 | [Perzeptron](./lessons/3-NeuralNetworks/03-Perceptron/README.md) | [Notebook](./lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb) | [Labor](./lessons/3-NeuralNetworks/03-Perceptron/lab/README.md) | +| 04 | [Mehrlagiges Perzeptron und Erstellung unseres eigenen Frameworks](./lessons/3-NeuralNetworks/04-OwnFramework/README.md) | [Notebook](./lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb) | [Labor](./lessons/3-NeuralNetworks/04-OwnFramework/lab/README.md) | +| 05 | [Einführung in Frameworks (PyTorch/TensorFlow) und Überanpassung](./lessons/3-NeuralNetworks/05-Frameworks/README.md) | [PyTorch](./lessons/3-NeuralNetworks/05-Frameworks/IntroPyTorch.ipynb) / [Keras](./lessons/3-NeuralNetworks/05-Frameworks/IntroKeras.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Labor](./lessons/3-NeuralNetworks/05-Frameworks/lab/README.md) | +| IV | [**Computer Vision**](./lessons/4-ComputerVision/README.md) | [PyTorch](https://docs.microsoft.com/learn/modules/intro-computer-vision-pytorch/?WT.mc_id=academic-77998-cacaste) / [TensorFlow](https://docs.microsoft.com/learn/modules/intro-computer-vision-TensorFlow/?WT.mc_id=academic-77998-cacaste)| [Erkunden Sie Computer Vision auf Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) | +| 06 | [Einführung in Computer Vision. OpenCV](./lessons/4-ComputerVision/06-IntroCV/README.md) | [Notebook](./lessons/4-ComputerVision/06-IntroCV/OpenCV.ipynb) | [Labor](./lessons/4-ComputerVision/06-IntroCV/lab/README.md) | +| 07 | [Konvolutionale neuronale Netzwerke](./lessons/4-ComputerVision/07-ConvNets/README.md) & [CNN-Architekturen](./lessons/4-ComputerVision/07-ConvNets/CNN_Architectures.md) | [PyTorch](./lessons/4-ComputerVision/07-ConvNets/ConvNetsPyTorch.ipynb) /[TensorFlow](./lessons/4-ComputerVision/07-ConvNets/ConvNetsTF.ipynb) | [Labor](./lessons/4-ComputerVision/07-ConvNets/lab/README.md) | +| 08 | [Vortrainierte Netzwerke und Transferlernen](./lessons/4-ComputerVision/08-TransferLearning/README.md) und [Trainingstricks](./lessons/4-ComputerVision/08-TransferLearning/TrainingTricks.md) | [PyTorch](./lessons/4-ComputerVision/08-TransferLearning/TransferLearningPyTorch.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Labor](./lessons/4-ComputerVision/08-TransferLearning/lab/README.md) | | 09 | [Autoencoder und VAEs](./lessons/4-ComputerVision/09-Autoencoders/README.md) | [PyTorch](./lessons/4-ComputerVision/09-Autoencoders/AutoEncodersPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/09-Autoencoders/AutoencodersTF.ipynb) | | -| 10 | [Generative Adversariale Netzwerke & künstlerischer Stiltransfer](./lessons/4-ComputerVision/10-GANs/README.md) | [PyTorch](./lessons/4-ComputerVision/10-GANs/GANPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/10-GANs/GANTF.ipynb) | | -| 11 | [Objekterkennung](./lessons/4-ComputerVision/11-ObjectDetection/README.md) | [TensorFlow](./lessons/4-ComputerVision/11-ObjectDetection/ObjectDetection.ipynb) | [Lab](./lessons/4-ComputerVision/11-ObjectDetection/lab/README.md) | +| 10 | [Generative Adversarial Networks & Künstlerischer Stiltransfer](./lessons/4-ComputerVision/10-GANs/README.md) | [PyTorch](./lessons/4-ComputerVision/10-GANs/GANPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/10-GANs/GANTF.ipynb) | | +| 11 | [Objekterkennung](./lessons/4-ComputerVision/11-ObjectDetection/README.md) | [TensorFlow](./lessons/4-ComputerVision/11-ObjectDetection/ObjectDetection.ipynb) | [Labor](./lessons/4-ComputerVision/11-ObjectDetection/lab/README.md) | | 12 | [Semantische Segmentierung. U-Net](./lessons/4-ComputerVision/12-Segmentation/README.md) | [PyTorch](./lessons/4-ComputerVision/12-Segmentation/SemanticSegmentationPytorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/12-Segmentation/SemanticSegmentationTF.ipynb) | | -| V | [**Natürliche Sprachverarbeitung**](./lessons/5-NLP/README.md) | [PyTorch](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-pytorch/?WT.mc_id=academic-77998-cacaste) /[TensorFlow](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-TensorFlow/?WT.mc_id=academic-77998-cacaste) | [Erkunde natürliche Sprachverarbeitung auf Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| -| 13 | [Textrepräsentation. BOW/TF-IDF](./lessons/5-NLP/13-TextRep/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationTF.ipynb) | | +| V | [**Natürliche Sprachverarbeitung**](./lessons/5-NLP/README.md) | [PyTorch](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-pytorch/?WT.mc_id=academic-77998-cacaste) /[TensorFlow](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-TensorFlow/?WT.mc_id=academic-77998-cacaste) | [Erkunden Sie natürliche Sprachverarbeitung auf Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| +| 13 | [Textrepräsentation. Bow/TF-IDF](./lessons/5-NLP/13-TextRep/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationTF.ipynb) | | | 14 | [Semantische Wort-Einbettungen. Word2Vec und GloVe](./lessons/5-NLP/14-Embeddings/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsTF.ipynb) | | -| 15 | [Sprachmodellierung. Eigene Einbettungen trainieren](./lessons/5-NLP/15-LanguageModeling/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-PyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-TF.ipynb) | [Lab](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | -| 16 | [Rekurrente neuronale Netze](./lessons/5-NLP/16-RNN/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNTF.ipynb) | | -| 17 | [Generative rekurrente Netze](./lessons/5-NLP/17-GenerativeNetworks/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativePyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativeTF.ipynb) | [Lab](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | +| 15 | [Sprachmodellierung. Training eigener Einbettungen](./lessons/5-NLP/15-LanguageModeling/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-PyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-TF.ipynb) | [Labor](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | +| 16 | [Rekurrente neuronale Netzwerke](./lessons/5-NLP/16-RNN/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNTF.ipynb) | | +| 17 | [Generative rekurrente Netzwerke](./lessons/5-NLP/17-GenerativeNetworks/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativePyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativeTF.ipynb) | [Labor](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | | 18 | [Transformers. BERT.](./lessons/5-NLP/18-Transformers/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/18-Transformers/TransformersPyTorch.ipynb) /[TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/18-Transformers/TransformersTF.ipynb) | | -| 19 | [Named Entity Recognition](./lessons/5-NLP/19-NER/README.md) | [TensorFlow](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [Lab](./lessons/5-NLP/19-NER/lab/README.md) | +| 19 | [Benannte Entitätserkennung](./lessons/5-NLP/19-NER/README.md) | [TensorFlow](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [Labor](./lessons/5-NLP/19-NER/lab/README.md) | | 20 | [Große Sprachmodelle, Prompt-Programmierung und Few-Shot-Aufgaben](./lessons/5-NLP/20-LangModels/README.md) | [PyTorch](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/20-LangModels/GPT-PyTorch.ipynb) | | | VI | **Andere KI-Techniken** || | | 21 | [Genetische Algorithmen](./lessons/6-Other/21-GeneticAlgorithms/README.md) | [Notebook](./lessons/6-Other/21-GeneticAlgorithms/Genetic.ipynb) | | -| 22 | [Deep Reinforcement Learning](./lessons/6-Other/22-DeepRL/README.md) | [PyTorch](./lessons/6-Other/22-DeepRL/CartPole-RL-PyTorch.ipynb) /[TensorFlow](./lessons/6-Other/22-DeepRL/CartPole-RL-TF.ipynb) | [Lab](./lessons/6-Other/22-DeepRL/lab/README.md) | +| 22 | [Tiefes Verstärkungslernen](./lessons/6-Other/22-DeepRL/README.md) | [PyTorch](./lessons/6-Other/22-DeepRL/CartPole-RL-PyTorch.ipynb) /[TensorFlow](./lessons/6-Other/22-DeepRL/CartPole-RL-TF.ipynb) | [Labor](./lessons/6-Other/22-DeepRL/lab/README.md) | | 23 | [Multi-Agenten-Systeme](./lessons/6-Other/23-MultiagentSystems/README.md) | | | | VII | **KI-Ethik** | | | -| 24 | [KI-Ethik und verantwortungsvolle KI](./lessons/7-Ethics/README.md) | [Microsoft Learn: Prinzipien für verantwortungsvolle KI](https://docs.microsoft.com/learn/paths/responsible-ai-business-principles/?WT.mc_id=academic-77998-cacaste) | | +| 24 | [KI-Ethik und verantwortungsvolle KI](./lessons/7-Ethics/README.md) | [Microsoft Learn: Verantwortungsvolle KI Prinzipien](https://docs.microsoft.com/learn/paths/responsible-ai-business-principles/?WT.mc_id=academic-77998-cacaste) | | | IX | **Extras** | | | -| 25 | [Multimodale Netze, CLIP und VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [Notebook](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | +| 25 | [Multimodale Netzwerke, CLIP und VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [Notebook](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | ## Jede Lektion enthält +* Vorlesematerial +* Ausführbare Jupyter-Notebooks, die oft frameworkspezifisch sind (**PyTorch** oder **TensorFlow**). Das ausführbare Notebook enthält auch viel theoretisches Material, daher müssen Sie mindestens eine Version des Notebooks (entweder PyTorch oder TensorFlow) durchgehen, um das Thema zu verstehen. +* **Labs**, die für einige Themen verfügbar sind und Ihnen die Möglichkeit geben, das Gelernte an einem spezifischen Problem anzuwenden. +* Einige Abschnitte enthalten Links zu [**MS Learn**](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) Modulen, die verwandte Themen abdecken. -* Vorab-Lesematerial -* Ausführbare Jupyter-Notebooks, die oft spezifisch für das Framework (**PyTorch** oder **TensorFlow**) sind. Das ausführbare Notebook enthält auch viel theoretisches Material, daher muss man mindestens eine Version des Notebooks durchgehen (entweder PyTorch oder TensorFlow), um das Thema zu verstehen. -* **Labs** sind zu einigen Themen verfügbar, die dir die Möglichkeit geben, das Gelernte an einem konkreten Problem auszuprobieren. -* Einige Abschnitte enthalten Links zu [**MS Learn**](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) Modulen, die verwandte Themen behandeln. +## Erste Schritte -## Loslegen +### 🎯 Neu bei KI? Beginnen Sie hier! -### 🎯 Neu bei KI? Hier starten! +Wenn Sie völlig neu in der KI sind und schnelle, praktische Beispiele möchten, schauen Sie sich unsere [**Einsteigerfreundlichen Beispiele**](./examples/README.md) an! Diese beinhalten: -Wenn du komplett neu bei KI bist und schnelle, praktische Beispiele möchtest, schau dir unsere [**Einsteigerfreundlichen Beispiele**](./examples/README.md) an! Diese umfassen: +- 🌟 **Hello AI World** – Ihr erstes KI-Programm (Mustererkennung) +- 🧠 **Einfaches neuronales Netzwerk** – Erstellen Sie ein neuronales Netzwerk von Grund auf +- 🖼️ **Bildklassifikator** – Klassifizieren Sie Bilder mit ausführlichen Kommentaren +- 💬 **Textstimmung** – Analysieren Sie positive/negative Texte -- 🌟 **Hallo KI Welt** - Dein erstes KI-Programm (Mustererkennung) -- 🧠 **Einfaches neuronales Netzwerk** - Baue ein neuronales Netzwerk von Grund auf auf +Diese Beispiele sollen Ihnen helfen, KI-Konzepte zu verstehen, bevor Sie sich in den gesamten Lehrplan vertiefen. -- 🖼️ **Bildklassifikator** - Bilder mit detaillierten Kommentaren klassifizieren -- 💬 **Text-Stimmungsanalyse** - Positive/negative Texte analysieren +### 📚 Setup des vollständigen Lehrplans -Diese Beispiele sollen Ihnen helfen, KI-Konzepte zu verstehen, bevor Sie in das vollständige Curriculum eintauchen. - -### 📚 Vollständige Curriculum-Einrichtung - -- Wir haben eine [Einrichtungslektion](./lessons/0-course-setup/setup.md) erstellt, die Ihnen beim Einrichten Ihrer Entwicklungsumgebung hilft. - Für Lehrkräfte haben wir ebenfalls eine [Curricula-Einrichtungslektion](./lessons/0-course-setup/for-teachers.md) erstellt! +- Wir haben eine [Setup-Lektion](./lessons/0-course-setup/setup.md) erstellt, die Ihnen bei der Einrichtung Ihrer Entwicklungsumgebung hilft. - Für Lehrkräfte haben wir ebenfalls eine [Lehrplan-Setup-Lektion](./lessons/0-course-setup/for-teachers.md) erstellt! - Wie man den Code in VSCode oder einem Codespace [ausführt](./lessons/0-course-setup/how-to-run.md) -Folgen Sie diesen Schritten: +Führen Sie diese Schritte aus: -Forken Sie das Repository: Klicken Sie auf die Schaltfläche „Fork“ oben rechts auf dieser Seite. +Repository forken: Klicken Sie auf die Schaltfläche „Fork“ oben rechts auf dieser Seite. -Klonen Sie das Repository: `git clone https://github.com/microsoft/AI-For-Beginners.git` +Repository klonen: `git clone https://github.com/microsoft/AI-For-Beginners.git` -Vergessen Sie nicht, dieses Repo mit einem Stern (🌟) zu markieren, um es später leichter wiederzufinden. +Vergessen Sie nicht, dieses Repo zu bewerten (🌟), um es später leichter zu finden. -## Andere Lernende treffen +## Treffen Sie andere Lernende -Treten Sie unserem [offiziellen AI Discord-Server](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum) bei, um andere Lernende dieses Kurses zu treffen und sich zu vernetzen sowie Unterstützung zu erhalten. +Treten Sie unserem [offiziellen AI Discord-Server](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum) bei, um andere Lernende dieses Kurses zu treffen, sich zu vernetzen und Unterstützung zu erhalten. -Wenn Sie Produktfeedback oder Fragen während des Erstellens haben, besuchen Sie unser [Azure AI Foundry Developer Forum](https://aka.ms/foundry/forum) +Wenn Sie Produktfeedback oder Fragen während des Aufbaus haben, besuchen Sie unser [Azure AI Foundry Developer Forum](https://aka.ms/foundry/forum) ## Quizze -> **Hinweis zu Quizzen**: Alle Quizze befinden sich im Quiz-App-Ordner unter etc\quiz-app oder [Online hier](https://ff-quizzes.netlify.app/). Sie sind in den Lektionen verlinkt, die Quiz-App kann lokal ausgeführt oder in Azure bereitgestellt werden; folgen Sie der Anleitung im Ordner `quiz-app`. Sie werden nach und nach lokalisiert. +> **Eine Anmerkung zu Quizzen**: Alle Quizze befinden sich im Quiz-app-Ordner unter etc\quiz-app oder [online hier](https://ff-quizzes.netlify.app/). Sie sind von den Lektionen verlinkt, die Quiz-App kann lokal ausgeführt oder auf Azure bereitgestellt werden; folgen Sie den Anweisungen im `quiz-app` Ordner. Sie werden nach und nach lokalisiert. ## Hilfe erwünscht -Haben Sie Vorschläge oder Fehler in Rechtschreibung oder Code gefunden? Eröffnen Sie ein Issue oder erstellen Sie einen Pull Request. +Haben Sie Vorschläge oder Fehler bei Rechtschreibung oder Code gefunden? Erstellen Sie ein Issue oder einen Pull Request. ## Besonderer Dank * **✍️ Hauptautor:** [Dmitry Soshnikov](http://soshnikov.com), PhD -* **🔥 Herausgeberin:** [Jen Looper](https://twitter.com/jenlooper), PhD +* **🔥 Herausgeber:** [Jen Looper](https://twitter.com/jenlooper), PhD * **🎨 Sketchnote-Illustratorin:** [Tomomi Imura](https://twitter.com/girlie_mac) * **✅ Quiz-Erstellerin:** [Lateefah Bello](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) * **🙏 Hauptmitwirkende:** [Evgenii Pishchik](https://github.com/Pe4enIks) -## Weitere Curricula +## Andere Lehrpläne -Unser Team erstellt weitere Curricula! Schauen Sie sich an: +Unser Team erstellt weitere Lehrpläne! Schauen Sie sich an: ### LangChain -[![LangChain4j for Beginners](https://img.shields.io/badge/LangChain4j%20for%20Beginners-22C55E?style=for-the-badge&&labelColor=E5E7EB&color=0553D6)](https://aka.ms/langchain4j-for-beginners) -[![LangChain.js for Beginners](https://img.shields.io/badge/LangChain.js%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=0553D6)](https://aka.ms/langchainjs-for-beginners?WT.mc_id=m365-94501-dwahlin) -[![LangChain for Beginners](https://img.shields.io/badge/LangChain%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=0553D6)](https://github.com/microsoft/langchain-for-beginners?WT.mc_id=m365-94501-dwahlin) +[![LangChain4j für Einsteiger](https://img.shields.io/badge/LangChain4j%20for%20Beginners-22C55E?style=for-the-badge&&labelColor=E5E7EB&color=0553D6)](https://aka.ms/langchain4j-for-beginners) +[![LangChain.js für Einsteiger](https://img.shields.io/badge/LangChain.js%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=0553D6)](https://aka.ms/langchainjs-for-beginners?WT.mc_id=m365-94501-dwahlin) +[![LangChain für Einsteiger](https://img.shields.io/badge/LangChain%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=0553D6)](https://github.com/microsoft/langchain-for-beginners?WT.mc_id=m365-94501-dwahlin) --- ### Azure / Edge / MCP / Agents -[![AZD for Beginners](https://img.shields.io/badge/AZD%20for%20Beginners-0078D4?style=for-the-badge&labelColor=E5E7EB&color=0078D4)](https://github.com/microsoft/AZD-for-beginners?WT.mc_id=academic-105485-koreyst) -[![Edge AI for Beginners](https://img.shields.io/badge/Edge%20AI%20for%20Beginners-00B8E4?style=for-the-badge&labelColor=E5E7EB&color=00B8E4)](https://github.com/microsoft/edgeai-for-beginners?WT.mc_id=academic-105485-koreyst) -[![MCP for Beginners](https://img.shields.io/badge/MCP%20for%20Beginners-009688?style=for-the-badge&labelColor=E5E7EB&color=009688)](https://github.com/microsoft/mcp-for-beginners?WT.mc_id=academic-105485-koreyst) -[![AI Agents for Beginners](https://img.shields.io/badge/AI%20Agents%20for%20Beginners-00C49A?style=for-the-badge&labelColor=E5E7EB&color=00C49A)](https://github.com/microsoft/ai-agents-for-beginners?WT.mc_id=academic-105485-koreyst) +[![AZD für Einsteiger](https://img.shields.io/badge/AZD%20for%20Beginners-0078D4?style=for-the-badge&labelColor=E5E7EB&color=0078D4)](https://github.com/microsoft/AZD-for-beginners?WT.mc_id=academic-105485-koreyst) +[![Edge AI für Einsteiger](https://img.shields.io/badge/Edge%20AI%20for%20Beginners-00B8E4?style=for-the-badge&labelColor=E5E7EB&color=00B8E4)](https://github.com/microsoft/edgeai-for-beginners?WT.mc_id=academic-105485-koreyst) +[![MCP für Einsteiger](https://img.shields.io/badge/MCP%20for%20Beginners-009688?style=for-the-badge&labelColor=E5E7EB&color=009688)](https://github.com/microsoft/mcp-for-beginners?WT.mc_id=academic-105485-koreyst) +[![KI-Agenten für Einsteiger](https://img.shields.io/badge/AI%20Agents%20for%20Beginners-00C49A?style=for-the-badge&labelColor=E5E7EB&color=00C49A)](https://github.com/microsoft/ai-agents-for-beginners?WT.mc_id=academic-105485-koreyst) --- - -### Generative AI Serie -[![Generative AI for Beginners](https://img.shields.io/badge/Generative%20AI%20for%20Beginners-8B5CF6?style=for-the-badge&labelColor=E5E7EB&color=8B5CF6)](https://github.com/microsoft/generative-ai-for-beginners?WT.mc_id=academic-105485-koreyst) -[![Generative AI (.NET)](https://img.shields.io/badge/Generative%20AI%20(.NET)-9333EA?style=for-the-badge&labelColor=E5E7EB&color=9333EA)](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst) -[![Generative AI (Java)](https://img.shields.io/badge/Generative%20AI%20(Java)-C084FC?style=for-the-badge&labelColor=E5E7EB&color=C084FC)](https://github.com/microsoft/generative-ai-for-beginners-java?WT.mc_id=academic-105485-koreyst) -[![Generative AI (JavaScript)](https://img.shields.io/badge/Generative%20AI%20(JavaScript)-E879F9?style=for-the-badge&labelColor=E5E7EB&color=E879F9)](https://github.com/microsoft/generative-ai-with-javascript?WT.mc_id=academic-105485-koreyst) + +### Generative KI-Serie +[![Generative KI für Einsteiger](https://img.shields.io/badge/Generative%20AI%20for%20Beginners-8B5CF6?style=for-the-badge&labelColor=E5E7EB&color=8B5CF6)](https://github.com/microsoft/generative-ai-for-beginners?WT.mc_id=academic-105485-koreyst) +[![Generative KI (.NET)](https://img.shields.io/badge/Generative%20AI%20(.NET)-9333EA?style=for-the-badge&labelColor=E5E7EB&color=9333EA)](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst) +[![Generative KI (Java)](https://img.shields.io/badge/Generative%20AI%20(Java)-C084FC?style=for-the-badge&labelColor=E5E7EB&color=C084FC)](https://github.com/microsoft/generative-ai-for-beginners-java?WT.mc_id=academic-105485-koreyst) +[![Generative KI (JavaScript)](https://img.shields.io/badge/Generative%20AI%20(JavaScript)-E879F9?style=for-the-badge&labelColor=E5E7EB&color=E879F9)](https://github.com/microsoft/generative-ai-with-javascript?WT.mc_id=academic-105485-koreyst) --- - + ### Kernlernen -[![ML for Beginners](https://img.shields.io/badge/ML%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=22C55E)](https://aka.ms/ml-beginners?WT.mc_id=academic-105485-koreyst) -[![Data Science for Beginners](https://img.shields.io/badge/Data%20Science%20for%20Beginners-84CC16?style=for-the-badge&labelColor=E5E7EB&color=84CC16)](https://aka.ms/datascience-beginners?WT.mc_id=academic-105485-koreyst) -[![AI for Beginners](https://img.shields.io/badge/AI%20for%20Beginners-A3E635?style=for-the-badge&labelColor=E5E7EB&color=A3E635)](https://aka.ms/ai-beginners?WT.mc_id=academic-105485-koreyst) -[![Cybersecurity for Beginners](https://img.shields.io/badge/Cybersecurity%20for%20Beginners-F97316?style=for-the-badge&labelColor=E5E7EB&color=F97316)](https://github.com/microsoft/Security-101?WT.mc_id=academic-96948-sayoung) -[![Web Dev for Beginners](https://img.shields.io/badge/Web%20Dev%20for%20Beginners-EC4899?style=for-the-badge&labelColor=E5E7EB&color=EC4899)](https://aka.ms/webdev-beginners?WT.mc_id=academic-105485-koreyst) -[![IoT for Beginners](https://img.shields.io/badge/IoT%20for%20Beginners-14B8A6?style=for-the-badge&labelColor=E5E7EB&color=14B8A6)](https://aka.ms/iot-beginners?WT.mc_id=academic-105485-koreyst) -[![XR Development for Beginners](https://img.shields.io/badge/XR%20Development%20for%20Beginners-38BDF8?style=for-the-badge&labelColor=E5E7EB&color=38BDF8)](https://github.com/microsoft/xr-development-for-beginners?WT.mc_id=academic-105485-koreyst) +[![ML für Einsteiger](https://img.shields.io/badge/ML%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=22C55E)](https://aka.ms/ml-beginners?WT.mc_id=academic-105485-koreyst) +[![Datenwissenschaft für Einsteiger](https://img.shields.io/badge/Data%20Science%20for%20Beginners-84CC16?style=for-the-badge&labelColor=E5E7EB&color=84CC16)](https://aka.ms/datascience-beginners?WT.mc_id=academic-105485-koreyst) +[![KI für Einsteiger](https://img.shields.io/badge/AI%20for%20Beginners-A3E635?style=for-the-badge&labelColor=E5E7EB&color=A3E635)](https://aka.ms/ai-beginners?WT.mc_id=academic-105485-koreyst) +[![Cybersicherheit für Einsteiger](https://img.shields.io/badge/Cybersecurity%20for%20Beginners-F97316?style=for-the-badge&labelColor=E5E7EB&color=F97316)](https://github.com/microsoft/Security-101?WT.mc_id=academic-96948-sayoung) +[![Webentwicklung für Einsteiger](https://img.shields.io/badge/Web%20Dev%20for%20Beginners-EC4899?style=for-the-badge&labelColor=E5E7EB&color=EC4899)](https://aka.ms/webdev-beginners?WT.mc_id=academic-105485-koreyst) +[![IoT für Einsteiger](https://img.shields.io/badge/IoT%20for%20Beginners-14B8A6?style=for-the-badge&labelColor=E5E7EB&color=14B8A6)](https://aka.ms/iot-beginners?WT.mc_id=academic-105485-koreyst) +[![XR-Entwicklung für Einsteiger](https://img.shields.io/badge/XR%20Development%20for%20Beginners-38BDF8?style=for-the-badge&labelColor=E5E7EB&color=38BDF8)](https://github.com/microsoft/xr-development-for-beginners?WT.mc_id=academic-105485-koreyst) --- - -### Copilot Serie -[![Copilot for AI Paired Programming](https://img.shields.io/badge/Copilot%20for%20AI%20Paired%20Programming-FACC15?style=for-the-badge&labelColor=E5E7EB&color=FACC15)](https://aka.ms/GitHubCopilotAI?WT.mc_id=academic-105485-koreyst) -[![Copilot for C#/.NET](https://img.shields.io/badge/Copilot%20for%20C%23/.NET-FBBF24?style=for-the-badge&labelColor=E5E7EB&color=FBBF24)](https://github.com/microsoft/mastering-github-copilot-for-dotnet-csharp-developers?WT.mc_id=academic-105485-koreyst) -[![Copilot Adventure](https://img.shields.io/badge/Copilot%20Adventure-FDE68A?style=for-the-badge&labelColor=E5E7EB&color=FDE68A)](https://github.com/microsoft/CopilotAdventures?WT.mc_id=academic-105485-koreyst) + +### Copilot-Serie +[![Copilot für KI-Paarprogrammierung](https://img.shields.io/badge/Copilot%20for%20AI%20Paired%20Programming-FACC15?style=for-the-badge&labelColor=E5E7EB&color=FACC15)](https://aka.ms/GitHubCopilotAI?WT.mc_id=academic-105485-koreyst) +[![Copilot für C#/.NET](https://img.shields.io/badge/Copilot%20for%20C%23/.NET-FBBF24?style=for-the-badge&labelColor=E5E7EB&color=FBBF24)](https://github.com/microsoft/mastering-github-copilot-for-dotnet-csharp-developers?WT.mc_id=academic-105485-koreyst) +[![Copilot Abenteuer](https://img.shields.io/badge/Copilot%20Adventure-FDE68A?style=for-the-badge&labelColor=E5E7EB&color=FDE68A)](https://github.com/microsoft/CopilotAdventures?WT.mc_id=academic-105485-koreyst) ## Hilfe erhalten -Wenn Sie feststecken oder Fragen zum Erstellen von KI-Apps haben, schließen Sie sich anderen Lernenden und erfahrenen Entwicklern in Diskussionen über MCP an. Es ist eine unterstützende Gemeinschaft, in der Fragen willkommen sind und Wissen frei geteilt wird. +Wenn Sie feststecken oder Fragen beim Erstellen von KI-Anwendungen haben. Schließen Sie sich anderen Lernenden und erfahrenen Entwicklern in Diskussionen über MCP an. Es ist eine unterstützende Community, in der Fragen willkommen sind und Wissen frei geteilt wird. [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -Wenn Sie Produktfeedback oder Fehler beim Erstellen haben, besuchen Sie: +Wenn Sie Produktfeedback oder Fehler während des Aufbaus haben, besuchen Sie: [![Microsoft Foundry Developer Forum](https://img.shields.io/badge/GitHub-Microsoft_Foundry_Developer_Forum-blue?style=for-the-badge&logo=github&color=000000&logoColor=fff)](https://aka.ms/foundry/forum) --- -**Haftungsausschluss**: -Dieses Dokument wurde mit dem KI-Übersetzungsdienst [Co-op Translator](https://github.com/Azure/co-op-translator) übersetzt. Obwohl wir um Genauigkeit bemüht sind, weisen wir darauf hin, dass automatisierte Übersetzungen Fehler oder Ungenauigkeiten enthalten können. Das Originaldokument in seiner Ursprungssprache gilt als maßgebliche Quelle. Für wichtige Informationen wird eine professionelle menschliche Übersetzung empfohlen. Wir übernehmen keine Haftung für Missverständnisse oder Fehlinterpretationen, die aus der Nutzung dieser Übersetzung entstehen. +**Haftungsausschluss**: +Dieses Dokument wurde mithilfe des KI-Übersetzungsdienstes [Co-op Translator](https://github.com/Azure/co-op-translator) übersetzt. Obwohl wir uns um Genauigkeit bemühen, weisen wir darauf hin, dass automatisierte Übersetzungen Fehler oder Ungenauigkeiten enthalten können. Das Originaldokument in seiner ursprünglichen Sprache gilt als maßgebliche Quelle. Für wichtige Informationen wird eine professionelle menschliche Übersetzung empfohlen. Wir übernehmen keine Haftung für Missverständnisse oder Fehlinterpretationen, die durch die Nutzung dieser Übersetzung entstehen. \ No newline at end of file diff --git a/translations/de/lessons/2-Symbolic/MSConceptGraph.ipynb b/translations/de/lessons/2-Symbolic/MSConceptGraph.ipynb index a901d824..ca7ce21e 100644 --- a/translations/de/lessons/2-Symbolic/MSConceptGraph.ipynb +++ b/translations/de/lessons/2-Symbolic/MSConceptGraph.ipynb @@ -1,539 +1,532 @@ { - "cells": [ - { - "cell_type": "markdown", - "metadata": { - "collapsed": true - }, - "source": [ - "## Microsoft Concept Graph - Diese API IST NICHT MEHR VERFÜGBAR, ABER BITTE SCHAUEN SIE SICH DAS NOTEBOOK AN, UM DAS KONZEPT ZU VERSTEHEN\n", - "\n", - "[Microsoft Concept Graph](https://concept.research.microsoft.com/) ist eine umfangreiche Taxonomie von Begriffen, die aus dem Internet extrahiert wurden, mit `is-a`-Beziehungen zwischen Konzepten.\n", - "\n", - "Der Context Graph ist in zwei Formen verfügbar:\n", - " * Große Textdatei zum Herunterladen\n", - " * REST-API\n", - "\n", - "Statistiken:\n", - " * 5401933 einzigartige Konzepte\n", - " * 12551613 einzigartige Instanzen\n", - " * 87603947 `is-a`-Beziehungen\n" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Verwendung des Webdienstes\n", - "\n", - "Der Webdienst bietet verschiedene Aufrufe, um die Wahrscheinlichkeit eines Konzepts zu schätzen, zu unterschiedlichen Gruppen zu gehören. Weitere Informationen finden Sie [hier](https://concept.research.microsoft.com/Home/Api). \n", - "Hier ist die Beispiel-URL für einen Aufruf: `https://api.conceptnet.io/query?start=/c/en/microsoft&rel=/r/IsA&limit=10`\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "trusted": true - }, - "outputs": [], - "source": [ - "import urllib\n", - "import json\n", - "\n", - "def http(x):\n", - " response = urllib.request.urlopen(x)\n", - " data = response.read()\n", - " return data.decode('utf-8')\n", - "\n", - "def query(x):\n", - " concept = x.lower().replace(' ', '_')\n", - " url = \"https://api.conceptnet.io/query?start=/c/en/{}&rel=/r/IsA&limit=10\".format(\n", - " urllib.parse.quote(concept))\n", - " try:\n", - " result = json.loads(http(url))\n", - " except Exception:\n", - " return {}\n", - " edges = result.get('edges', [])\n", - " if not edges:\n", - " return {}\n", - " total_weight = sum(edge['weight'] for edge in edges)\n", - " if total_weight == 0:\n", - " return {}\n", - " return {edge['end']['label']: edge['weight'] / total_weight for edge in edges}\n", - "\n", - "query('microsoft')" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Lassen Sie uns versuchen, die Nachrichtentitel anhand von übergeordneten Konzepten zu kategorisieren. Um Nachrichtentitel zu erhalten, werden wir den Dienst [NewsApi.org](http://newsapi.org) nutzen. Sie müssen Ihren eigenen API-Schlüssel erhalten, um den Dienst nutzen zu können - gehen Sie auf die Website und registrieren Sie sich für den kostenlosen Entwicklerplan.\n" - ] - }, - { - "cell_type": "code", - "execution_count": 20, - "metadata": { - "trusted": true - }, - "outputs": [], - "source": [ - "newsapi_key = ''\n", - "def get_news(country='us'):\n", - " res = json.loads(http(\"https://newsapi.org/v2/top-headlines?country={0}&apiKey={1}\".format(country,newsapi_key)))\n", - " return res['articles']\n", - "\n", - "all_titles = [x['title'] for x in get_news('us')+get_news('gb')]" - ] - }, - { - "cell_type": "code", - "execution_count": 21, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "['Covid-19 Live Updates: Vaccines and Boosters News - The New York Times',\n", - " 'Ukrainians Flee Mariupol as Russian Forces Push to Take Port City - The Wall Street Journal',\n", - " 'Bond Yields Jump, Stock Futures Rise After Powell Says Fed Is Ready to Be More Aggressive - The Wall Street Journal',\n", - " 'Putin critic Alexei Navalny found guilty by Russian court - New York Post ',\n", - " \"Supreme Court nominee Ketanji Brown Jackson will face questions at confirmation hearing's second day - CNN\",\n", - " '2 teachers killed at Swedish high school, student arrested - ABC News',\n", - " 'Clues to Covid-19’s Next Moves Come From Sewers - The Wall Street Journal',\n", - " 'Republicans to roll dice by grilling Jackson over child-pornography sentencing decisions | TheHill - The Hill',\n", - " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", - " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", - " \"US stocks whipsawed overnight after Fed Chair Powell's remarks - Fox Business\",\n", - " \"'We've learned absolutely nothing': Tests could again be in short supply if Covid surges - POLITICO\",\n", - " \"Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\",\n", - " 'China searches for victims, flight recorders after first plane crash in 12 years - Reuters',\n", - " 'Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters',\n", - " 'Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español',\n", - " 'Powers Remain and Threats Lurk as Women’s Sweet 16 Is Set - The New York Times',\n", - " 'Webb Space Telescope Begins Multi-Instrument Alignment - SciTechDaily',\n", - " \"UConn vs UCF - NCAA women's tournament second-round highlights - March Madness\",\n", - " 'Bucking Republican Trend, Indiana Governor Vetoes Transgender Sports Bill - The New York Times',\n", - " \"Maggie Fox dead: Coronation Street and Shameless actress dies after 'sudden accident' - Mirror Online - The Mirror\",\n", - " 'China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent',\n", - " 'Daniel Morgan murder: damning report condemns Met police - The Guardian',\n", - " 'What to expect from Rishi Sunak’s Spring Statement - BBC.com',\n", - " 'UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian',\n", - " \"Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\",\n", - " 'Brass Eye’s outtakes show the brutal TV comedy was the tip of an iceberg - The Guardian',\n", - " \"Vladimir Putin threatens civilians to break Mariupol's spirit - The Times\",\n", - " 'Shell U-turn on Cambo oilfield would threaten green targets, say campaigners - The Guardian',\n", - " 'St Helens dog attack: Girl aged 17 months killed at home - BBC',\n", - " \"PlayStation to buy 'Assassin's Creed' veteran Jade Raymond's Haven Studios - NME\",\n", - " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", - " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", - " 'Nintendo Switch finally has folders • Eurogamer.net - Eurogamer.net',\n", - " 'FA to “find a solution” as Liverpool fan group blasts “shambolic” Wembley travel - This Is Anfield',\n", - " 'Manchester United transfer news LIVE Erik ten Hag latest and Man Utd manager updates - Manchester Evening News',\n", - " 'Inflation raises cost of UK government borrowing in February; crude oil up again – business live - The Guardian',\n", - " 'Alexei Navalny: Kremlin critic found guilty of large-scale fraud and contempt of court by Russian court - Sky News',\n", - " \"UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\",\n", - " 'Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian']" - ] - }, - "execution_count": 21, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "all_titles" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Zunächst möchten wir in der Lage sein, Nomen aus Nachrichtentiteln zu extrahieren. Dafür werden wir die Bibliothek `TextBlob` verwenden, die viele typische NLP-Aufgaben wie diese vereinfacht.\n" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Requirement already satisfied: textblob in c:\\winapp\\miniconda3\\lib\\site-packages (0.17.1)\n", - "Requirement already satisfied: nltk>=3.1 in c:\\winapp\\miniconda3\\lib\\site-packages (from textblob) (3.5)\n", - "Requirement already satisfied: joblib in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (1.0.1)\n", - "Requirement already satisfied: regex in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (2021.11.10)\n", - "Requirement already satisfied: tqdm in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (4.61.2)\n", - "Requirement already satisfied: click in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (8.0.3)\n", - "Requirement already satisfied: colorama in c:\\winapp\\miniconda3\\lib\\site-packages (from click->nltk>=3.1->textblob) (0.4.4)\n", - "Finished.\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[nltk_data] Downloading package brown to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package brown is already up-to-date!\n", - "[nltk_data] Downloading package punkt to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package punkt is already up-to-date!\n", - "[nltk_data] Downloading package wordnet to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package wordnet is already up-to-date!\n", - "[nltk_data] Downloading package averaged_perceptron_tagger to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package averaged_perceptron_tagger is already up-to-\n", - "[nltk_data] date!\n", - "[nltk_data] Downloading package conll2000 to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package conll2000 is already up-to-date!\n", - "[nltk_data] Downloading package movie_reviews to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package movie_reviews is already up-to-date!\n" - ] - } - ], - "source": [ - "import sys\n", - "!{sys.executable} -m pip install textblob\n", - "!{sys.executable} -m textblob.download_corpora\n", - "from textblob import TextBlob" - ] - }, - { - "cell_type": "code", - "execution_count": 22, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "data": { - "text/plain": [ - "{'covid-19 live updates': 1,\n", - " 'vaccines': 1,\n", - " 'boosters': 1,\n", - " 'york': 4,\n", - " 'ukrainians flee mariupol': 1,\n", - " 'forces push': 1,\n", - " 'port city': 1,\n", - " 'wall street journal': 3,\n", - " 'bond yields': 1,\n", - " 'futures rise': 1,\n", - " 'powell says fed': 1,\n", - " 'ready': 1,\n", - " 'be': 1,\n", - " 'aggressive': 1,\n", - " 'putin': 3,\n", - " 'alexei navalny': 2,\n", - " 'russian': 2,\n", - " 'supreme court nominee': 1,\n", - " 'ketanji brown jackson': 1,\n", - " \"confirmation hearing 's\": 1,\n", - " 'cnn': 1,\n", - " 'swedish': 1,\n", - " 'high school': 1,\n", - " 'abc': 1,\n", - " 'clues': 1,\n", - " 'covid-19': 1,\n", - " '’ s': 2,\n", - " 'moves': 1,\n", - " 'sewers': 1,\n", - " 'roll dice': 1,\n", - " 'jackson': 1,\n", - " 'decisions |': 1,\n", - " 'thehill': 1,\n", - " 'clear': 2,\n", - " 'chemical weapons': 2,\n", - " 'ukraine': 3,\n", - " 'claims president': 2,\n", - " 'biden': 2,\n", - " 'nasa': 2,\n", - " 'solar system': 2,\n", - " 'daily mail': 3,\n", - " 'us stocks': 1,\n", - " 'fed chair powell': 1,\n", - " \"'s remarks\": 1,\n", - " 'fox': 1,\n", - " \"'we 've\": 1,\n", - " 'tests': 1,\n", - " 'covid': 1,\n", - " 'politico': 1,\n", - " 'duchess': 1,\n", - " 'cambridge': 1,\n", - " 'swaps khaki jungle gear': 1,\n", - " 'vampire': 1,\n", - " 'wife': 1,\n", - " 'belize': 1,\n", - " 'china': 2,\n", - " 'flight recorders': 1,\n", - " 'plane crash': 1,\n", - " 'reuters': 2,\n", - " 'russian oligarch': 1,\n", - " 'abramovich': 1,\n", - " 'live': 1,\n", - " 'russia': 2,\n", - " 'stops talks': 1,\n", - " 'japan': 1,\n", - " 'español': 1,\n", - " 'powers remain': 1,\n", - " 'threats lurk': 1,\n", - " 'set': 1,\n", - " 'webb': 1,\n", - " 'telescope begins multi-instrument alignment': 1,\n", - " 'scitechdaily': 1,\n", - " 'uconn': 1,\n", - " 'ucf': 1,\n", - " 'ncaa': 1,\n", - " \"women 's tournament second-round highlights\": 1,\n", - " 'march madness': 1,\n", - " 'bucking republican trend': 1,\n", - " 'indiana': 1,\n", - " 'vetoes transgender': 1,\n", - " 'bill': 1,\n", - " 'maggie fox': 1,\n", - " 'coronation': 1,\n", - " 'shameless': 1,\n", - " \"'sudden accident\": 1,\n", - " 'mirror online': 1,\n", - " 'mirror': 2,\n", - " 'plane crash –': 1,\n", - " 'search': 1,\n", - " 'moment flight': 1,\n", - " 'daniel morgan': 1,\n", - " 'report condemns': 1,\n", - " 'met': 1,\n", - " 'guardian': 6,\n", - " 'rishi sunak': 1,\n", - " '’ s spring': 1,\n", - " 'statement': 1,\n", - " 'bbc.com': 1,\n", - " 'uk': 3,\n", - " 'ireland': 1,\n", - " 'euro': 1,\n", - " 'vladimir putin': 2,\n", - " \"'s 'lover\": 1,\n", - " 'brass eye': 1,\n", - " '’ s outtakes': 1,\n", - " 'brutal tv comedy': 1,\n", - " 'threatens civilians': 1,\n", - " 'mariupol': 1,\n", - " \"'s spirit\": 1,\n", - " 'shell u-turn': 1,\n", - " 'cambo': 1,\n", - " 'green targets': 1,\n", - " 'st helens': 1,\n", - " 'dog attack': 1,\n", - " 'girl': 1,\n", - " 'bbc': 1,\n", - " 'playstation': 1,\n", - " \"'assassin 's\": 1,\n", - " 'creed': 1,\n", - " 'jade raymond': 1,\n", - " 'haven studios': 1,\n", - " 'nme': 1,\n", - " 'nintendo switch': 1,\n", - " 'folders •': 1,\n", - " 'eurogamer.net': 2,\n", - " 'fa': 1,\n", - " 'solution ”': 1,\n", - " 'liverpool': 1,\n", - " 'fan group blasts “ shambolic ”': 1,\n", - " 'wembley': 1,\n", - " 'anfield': 1,\n", - " 'manchester': 1,\n", - " 'live erik': 1,\n", - " 'hag': 1,\n", - " 'utd': 1,\n", - " 'manager updates': 1,\n", - " 'manchester evening': 1,\n", - " 'inflation': 1,\n", - " 'government borrowing': 1,\n", - " 'february': 1,\n", - " 'crude oil': 1,\n", - " '– business': 1,\n", - " 'kremlin': 1,\n", - " 'large-scale fraud': 1,\n", - " 'sky': 1,\n", - " 'natural gas': 1,\n", - " 'gazprom': 1,\n", - " 'retail unit': 1,\n", - " 'insider': 1,\n", - " 'zaghari-ratcliffe': 1,\n", - " 'hunt': 1,\n", - " 'iran': 1,\n", - " 'debt payment': 1}" - ] - }, - "execution_count": 22, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "w = {}\n", - "for x in all_titles:\n", - " for n in TextBlob(x).noun_phrases:\n", - " if n in w:\n", - " w[n].append(x)\n", - " else:\n", - " w[n]=[x]\n", - "{ x:len(w[x]) for x in w.keys()}" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Wir können sehen, dass Substantive uns keine großen thematischen Gruppen liefern. Lassen Sie uns Substantive durch allgemeinere Begriffe ersetzen, die aus dem Konzeptgraphen gewonnen wurden. Dies wird einige Zeit in Anspruch nehmen, da wir für jede Substantivphrase einen REST-Aufruf durchführen.\n" - ] - }, - { - "cell_type": "code", - "execution_count": 23, - "metadata": { - "trusted": true - }, - "outputs": [], - "source": [ - "w = {}\n", - "for x in all_titles:\n", - " for noun in TextBlob(x).noun_phrases:\n", - " terms = query(noun)\n", - " for term in [u for u in terms.keys() if terms[u]>0.1]:\n", - " if term in w:\n", - " w[term].append(x)\n", - " else:\n", - " w[term]=[x]" - ] - }, - { - "cell_type": "code", - "execution_count": 24, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "data": { - "text/plain": [ - "{'city': 9,\n", - " 'brand': 4,\n", - " 'place': 9,\n", - " 'town': 4,\n", - " 'factor': 4,\n", - " 'film': 4,\n", - " 'nation': 11,\n", - " 'state': 5,\n", - " 'person': 4,\n", - " 'organization': 5,\n", - " 'publication': 10,\n", - " 'market': 5,\n", - " 'economy': 4,\n", - " 'company': 6,\n", - " 'newspaper': 6,\n", - " 'relationship': 6}" - ] - }, - "execution_count": 24, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "{ x:len(w[x]) for x in w.keys() if len(w[x])>3}" - ] - }, - { - "cell_type": "code", - "execution_count": 27, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "ECONOMY:\n", - "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", - "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", - "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", - "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", - "\n", - "NATION:\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", - "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", - "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", - "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", - "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", - "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", - "UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian\n", - "Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", - "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", - "Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian\n", - "\n", - "PERSON:\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", - "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", - "Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n" - ] - } - ], - "source": [ - "print('\\nECONOMY:\\n'+'\\n'.join(w['economy']))\n", - "print('\\nNATION:\\n'+'\\n'.join(w['nation']))\n", - "print('\\nPERSON:\\n'+'\\n'.join(w['person']))" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "\n---\n\n**Haftungsausschluss**: \nDieses Dokument wurde mit dem KI-Übersetzungsdienst [Co-op Translator](https://github.com/Azure/co-op-translator) übersetzt. Obwohl wir uns um Genauigkeit bemühen, beachten Sie bitte, dass automatisierte Übersetzungen Fehler oder Ungenauigkeiten enthalten können. Das Originaldokument in seiner ursprünglichen Sprache sollte als maßgebliche Quelle betrachtet werden. Für kritische Informationen wird eine professionelle menschliche Übersetzung empfohlen. Wir übernehmen keine Haftung für Missverständnisse oder Fehlinterpretationen, die sich aus der Nutzung dieser Übersetzung ergeben.\n" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3.7.4 64-bit (conda)", - "metadata": { - "interpreter": { - "hash": "86193a1ab0ba47eac1c69c1756090baa3b420b3eea7d4aafab8b85f8b312f0c5" - } - }, - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.9.5" - }, - "coopTranslator": { - "original_hash": "7b3f1fc049371bcf8649ac9fefdf0413", - "translation_date": "2025-10-03T18:50:11+00:00", - "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", - "language_code": "de" - } + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "collapsed": true + }, + "source": [ + "## Konzepte-Graph mit ConceptNet\n", + "\n", + "> **Hinweis:** Die ursprüngliche [Microsoft Concept Graph](https://concept.research.microsoft.com/) API ist nicht mehr verfügbar. Dieses Notebook wurde aktualisiert, um [ConceptNet](https://conceptnet.io/) als Ersatz zu verwenden, ein frei verfügbares offenes Wissensnetzwerk mit ähnlichen `is-a`-Beziehungen zwischen Konzepten.\n", + "\n", + "[ConceptNet](https://conceptnet.io/) ist ein großes semantisches Netzwerk von Konzepten mit Beziehungen wie `IsA`, `PartOf`, `UsedFor` und mehr. Es ist verfügbar als:\n", + " * Eine herunterladbare Datendatei\n", + " * Eine REST API (kein API-Schlüssel erforderlich)\n", + "\n", + "ConceptNet-Statistiken:\n", + " * Über 8 Millionen Knoten\n", + " * 21+ Millionen Kanten in 83 Sprachen\n" + ] }, - "nbformat": 4, - "nbformat_minor": 2 + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Verwendung des ConceptNet Webdienstes\n", + "\n", + "[ConceptNet](https://conceptnet.io/) bietet eine REST-API, um `ist-ein` (IsA) Beziehungen zwischen Konzepten zu erkunden. Es wird kein API-Schlüssel benötigt.\n", + "Hier ist die Beispiel-URL zum Aufrufen: `https://api.conceptnet.io/query?start=/c/en/microsoft&rel=/r/IsA&limit=10`\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "trusted": true + }, + "outputs": [], + "source": [ + "import urllib\n", + "import json\n", + "\n", + "def http(x):\n", + " response = urllib.request.urlopen(x)\n", + " data = response.read()\n", + " return data.decode('utf-8')\n", + "\n", + "def query(x):\n", + " concept = x.lower().replace(' ', '_')\n", + " url = \"https://api.conceptnet.io/query?start=/c/en/{}&rel=/r/IsA&limit=10\".format(\n", + " urllib.parse.quote(concept))\n", + " try:\n", + " result = json.loads(http(url))\n", + " except Exception:\n", + " return {}\n", + " edges = result.get('edges', [])\n", + " if not edges:\n", + " return {}\n", + " total_weight = sum(edge['weight'] for edge in edges)\n", + " if total_weight == 0:\n", + " return {}\n", + " return {edge['end']['label']: edge['weight'] / total_weight for edge in edges}\n", + "\n", + "query('microsoft')" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Versuchen wir, die Nachrichtentitel mithilfe übergeordneter Konzepte zu kategorisieren. Um Nachrichtentitel zu erhalten, verwenden wir den Dienst [NewsApi.org](http://newsapi.org). Sie müssen Ihren eigenen API-Schlüssel erhalten, um den Dienst nutzen zu können – gehen Sie auf die Website und registrieren Sie sich für den kostenlosen Entwicklerplan.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 20, + "metadata": { + "trusted": true + }, + "outputs": [], + "source": [ + "newsapi_key = ''\n", + "def get_news(country='us'):\n", + " res = json.loads(http(\"https://newsapi.org/v2/top-headlines?country={0}&apiKey={1}\".format(country,newsapi_key)))\n", + " return res['articles']\n", + "\n", + "all_titles = [x['title'] for x in get_news('us')+get_news('gb')]" + ] + }, + { + "cell_type": "code", + "execution_count": 21, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "['Covid-19 Live Updates: Vaccines and Boosters News - The New York Times',\n", + " 'Ukrainians Flee Mariupol as Russian Forces Push to Take Port City - The Wall Street Journal',\n", + " 'Bond Yields Jump, Stock Futures Rise After Powell Says Fed Is Ready to Be More Aggressive - The Wall Street Journal',\n", + " 'Putin critic Alexei Navalny found guilty by Russian court - New York Post ',\n", + " \"Supreme Court nominee Ketanji Brown Jackson will face questions at confirmation hearing's second day - CNN\",\n", + " '2 teachers killed at Swedish high school, student arrested - ABC News',\n", + " 'Clues to Covid-19’s Next Moves Come From Sewers - The Wall Street Journal',\n", + " 'Republicans to roll dice by grilling Jackson over child-pornography sentencing decisions | TheHill - The Hill',\n", + " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", + " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", + " \"US stocks whipsawed overnight after Fed Chair Powell's remarks - Fox Business\",\n", + " \"'We've learned absolutely nothing': Tests could again be in short supply if Covid surges - POLITICO\",\n", + " \"Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\",\n", + " 'China searches for victims, flight recorders after first plane crash in 12 years - Reuters',\n", + " 'Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters',\n", + " 'Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español',\n", + " 'Powers Remain and Threats Lurk as Women’s Sweet 16 Is Set - The New York Times',\n", + " 'Webb Space Telescope Begins Multi-Instrument Alignment - SciTechDaily',\n", + " \"UConn vs UCF - NCAA women's tournament second-round highlights - March Madness\",\n", + " 'Bucking Republican Trend, Indiana Governor Vetoes Transgender Sports Bill - The New York Times',\n", + " \"Maggie Fox dead: Coronation Street and Shameless actress dies after 'sudden accident' - Mirror Online - The Mirror\",\n", + " 'China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent',\n", + " 'Daniel Morgan murder: damning report condemns Met police - The Guardian',\n", + " 'What to expect from Rishi Sunak’s Spring Statement - BBC.com',\n", + " 'UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian',\n", + " \"Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\",\n", + " 'Brass Eye’s outtakes show the brutal TV comedy was the tip of an iceberg - The Guardian',\n", + " \"Vladimir Putin threatens civilians to break Mariupol's spirit - The Times\",\n", + " 'Shell U-turn on Cambo oilfield would threaten green targets, say campaigners - The Guardian',\n", + " 'St Helens dog attack: Girl aged 17 months killed at home - BBC',\n", + " \"PlayStation to buy 'Assassin's Creed' veteran Jade Raymond's Haven Studios - NME\",\n", + " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", + " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", + " 'Nintendo Switch finally has folders • Eurogamer.net - Eurogamer.net',\n", + " 'FA to “find a solution” as Liverpool fan group blasts “shambolic” Wembley travel - This Is Anfield',\n", + " 'Manchester United transfer news LIVE Erik ten Hag latest and Man Utd manager updates - Manchester Evening News',\n", + " 'Inflation raises cost of UK government borrowing in February; crude oil up again – business live - The Guardian',\n", + " 'Alexei Navalny: Kremlin critic found guilty of large-scale fraud and contempt of court by Russian court - Sky News',\n", + " \"UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\",\n", + " 'Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian']" + ] + }, + "execution_count": 21, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "all_titles" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Zunächst möchten wir in der Lage sein, Nomen aus Nachrichtentiteln zu extrahieren. Wir werden die Bibliothek `TextBlob` verwenden, um dies zu tun, die viele typische NLP-Aufgaben wie diese vereinfacht.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Requirement already satisfied: textblob in c:\\winapp\\miniconda3\\lib\\site-packages (0.17.1)\n", + "Requirement already satisfied: nltk>=3.1 in c:\\winapp\\miniconda3\\lib\\site-packages (from textblob) (3.5)\n", + "Requirement already satisfied: joblib in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (1.0.1)\n", + "Requirement already satisfied: regex in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (2021.11.10)\n", + "Requirement already satisfied: tqdm in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (4.61.2)\n", + "Requirement already satisfied: click in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (8.0.3)\n", + "Requirement already satisfied: colorama in c:\\winapp\\miniconda3\\lib\\site-packages (from click->nltk>=3.1->textblob) (0.4.4)\n", + "Finished.\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "[nltk_data] Downloading package brown to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package brown is already up-to-date!\n", + "[nltk_data] Downloading package punkt to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package punkt is already up-to-date!\n", + "[nltk_data] Downloading package wordnet to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package wordnet is already up-to-date!\n", + "[nltk_data] Downloading package averaged_perceptron_tagger to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package averaged_perceptron_tagger is already up-to-\n", + "[nltk_data] date!\n", + "[nltk_data] Downloading package conll2000 to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package conll2000 is already up-to-date!\n", + "[nltk_data] Downloading package movie_reviews to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package movie_reviews is already up-to-date!\n" + ] + } + ], + "source": [ + "import sys\n", + "!{sys.executable} -m pip install textblob\n", + "!{sys.executable} -m textblob.download_corpora\n", + "from textblob import TextBlob" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'covid-19 live updates': 1,\n", + " 'vaccines': 1,\n", + " 'boosters': 1,\n", + " 'york': 4,\n", + " 'ukrainians flee mariupol': 1,\n", + " 'forces push': 1,\n", + " 'port city': 1,\n", + " 'wall street journal': 3,\n", + " 'bond yields': 1,\n", + " 'futures rise': 1,\n", + " 'powell says fed': 1,\n", + " 'ready': 1,\n", + " 'be': 1,\n", + " 'aggressive': 1,\n", + " 'putin': 3,\n", + " 'alexei navalny': 2,\n", + " 'russian': 2,\n", + " 'supreme court nominee': 1,\n", + " 'ketanji brown jackson': 1,\n", + " \"confirmation hearing 's\": 1,\n", + " 'cnn': 1,\n", + " 'swedish': 1,\n", + " 'high school': 1,\n", + " 'abc': 1,\n", + " 'clues': 1,\n", + " 'covid-19': 1,\n", + " '’ s': 2,\n", + " 'moves': 1,\n", + " 'sewers': 1,\n", + " 'roll dice': 1,\n", + " 'jackson': 1,\n", + " 'decisions |': 1,\n", + " 'thehill': 1,\n", + " 'clear': 2,\n", + " 'chemical weapons': 2,\n", + " 'ukraine': 3,\n", + " 'claims president': 2,\n", + " 'biden': 2,\n", + " 'nasa': 2,\n", + " 'solar system': 2,\n", + " 'daily mail': 3,\n", + " 'us stocks': 1,\n", + " 'fed chair powell': 1,\n", + " \"'s remarks\": 1,\n", + " 'fox': 1,\n", + " \"'we 've\": 1,\n", + " 'tests': 1,\n", + " 'covid': 1,\n", + " 'politico': 1,\n", + " 'duchess': 1,\n", + " 'cambridge': 1,\n", + " 'swaps khaki jungle gear': 1,\n", + " 'vampire': 1,\n", + " 'wife': 1,\n", + " 'belize': 1,\n", + " 'china': 2,\n", + " 'flight recorders': 1,\n", + " 'plane crash': 1,\n", + " 'reuters': 2,\n", + " 'russian oligarch': 1,\n", + " 'abramovich': 1,\n", + " 'live': 1,\n", + " 'russia': 2,\n", + " 'stops talks': 1,\n", + " 'japan': 1,\n", + " 'español': 1,\n", + " 'powers remain': 1,\n", + " 'threats lurk': 1,\n", + " 'set': 1,\n", + " 'webb': 1,\n", + " 'telescope begins multi-instrument alignment': 1,\n", + " 'scitechdaily': 1,\n", + " 'uconn': 1,\n", + " 'ucf': 1,\n", + " 'ncaa': 1,\n", + " \"women 's tournament second-round highlights\": 1,\n", + " 'march madness': 1,\n", + " 'bucking republican trend': 1,\n", + " 'indiana': 1,\n", + " 'vetoes transgender': 1,\n", + " 'bill': 1,\n", + " 'maggie fox': 1,\n", + " 'coronation': 1,\n", + " 'shameless': 1,\n", + " \"'sudden accident\": 1,\n", + " 'mirror online': 1,\n", + " 'mirror': 2,\n", + " 'plane crash –': 1,\n", + " 'search': 1,\n", + " 'moment flight': 1,\n", + " 'daniel morgan': 1,\n", + " 'report condemns': 1,\n", + " 'met': 1,\n", + " 'guardian': 6,\n", + " 'rishi sunak': 1,\n", + " '’ s spring': 1,\n", + " 'statement': 1,\n", + " 'bbc.com': 1,\n", + " 'uk': 3,\n", + " 'ireland': 1,\n", + " 'euro': 1,\n", + " 'vladimir putin': 2,\n", + " \"'s 'lover\": 1,\n", + " 'brass eye': 1,\n", + " '’ s outtakes': 1,\n", + " 'brutal tv comedy': 1,\n", + " 'threatens civilians': 1,\n", + " 'mariupol': 1,\n", + " \"'s spirit\": 1,\n", + " 'shell u-turn': 1,\n", + " 'cambo': 1,\n", + " 'green targets': 1,\n", + " 'st helens': 1,\n", + " 'dog attack': 1,\n", + " 'girl': 1,\n", + " 'bbc': 1,\n", + " 'playstation': 1,\n", + " \"'assassin 's\": 1,\n", + " 'creed': 1,\n", + " 'jade raymond': 1,\n", + " 'haven studios': 1,\n", + " 'nme': 1,\n", + " 'nintendo switch': 1,\n", + " 'folders •': 1,\n", + " 'eurogamer.net': 2,\n", + " 'fa': 1,\n", + " 'solution ”': 1,\n", + " 'liverpool': 1,\n", + " 'fan group blasts “ shambolic ”': 1,\n", + " 'wembley': 1,\n", + " 'anfield': 1,\n", + " 'manchester': 1,\n", + " 'live erik': 1,\n", + " 'hag': 1,\n", + " 'utd': 1,\n", + " 'manager updates': 1,\n", + " 'manchester evening': 1,\n", + " 'inflation': 1,\n", + " 'government borrowing': 1,\n", + " 'february': 1,\n", + " 'crude oil': 1,\n", + " '– business': 1,\n", + " 'kremlin': 1,\n", + " 'large-scale fraud': 1,\n", + " 'sky': 1,\n", + " 'natural gas': 1,\n", + " 'gazprom': 1,\n", + " 'retail unit': 1,\n", + " 'insider': 1,\n", + " 'zaghari-ratcliffe': 1,\n", + " 'hunt': 1,\n", + " 'iran': 1,\n", + " 'debt payment': 1}" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "w = {}\n", + "for x in all_titles:\n", + " for n in TextBlob(x).noun_phrases:\n", + " if n in w:\n", + " w[n].append(x)\n", + " else:\n", + " w[n]=[x]\n", + "{ x:len(w[x]) for x in w.keys()}" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Wir können sehen, dass Substantive uns keine großen thematischen Gruppen liefern. Lassen Sie uns Substantive durch allgemeinere Begriffe ersetzen, die aus dem Konzeptgraphen stammen. Das wird einige Zeit dauern, da wir für jede Nominalphrase einen REST-Aufruf durchführen.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "metadata": { + "trusted": true + }, + "outputs": [], + "source": [ + "w = {}\n", + "for x in all_titles:\n", + " for noun in TextBlob(x).noun_phrases:\n", + " terms = query(noun)\n", + " for term in [u for u in terms.keys() if terms[u]>0.1]:\n", + " if term in w:\n", + " w[term].append(x)\n", + " else:\n", + " w[term]=[x]" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'city': 9,\n", + " 'brand': 4,\n", + " 'place': 9,\n", + " 'town': 4,\n", + " 'factor': 4,\n", + " 'film': 4,\n", + " 'nation': 11,\n", + " 'state': 5,\n", + " 'person': 4,\n", + " 'organization': 5,\n", + " 'publication': 10,\n", + " 'market': 5,\n", + " 'economy': 4,\n", + " 'company': 6,\n", + " 'newspaper': 6,\n", + " 'relationship': 6}" + ] + }, + "execution_count": 24, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "{ x:len(w[x]) for x in w.keys() if len(w[x])>3}" + ] + }, + { + "cell_type": "code", + "execution_count": 27, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "ECONOMY:\n", + "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", + "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", + "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", + "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", + "\n", + "NATION:\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", + "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", + "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", + "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", + "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", + "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", + "UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian\n", + "Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", + "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", + "Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian\n", + "\n", + "PERSON:\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", + "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", + "Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n" + ] + } + ], + "source": [ + "print('\\nECONOMY:\\n'+'\\n'.join(w['economy']))\n", + "print('\\nNATION:\\n'+'\\n'.join(w['nation']))\n", + "print('\\nPERSON:\\n'+'\\n'.join(w['person']))" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "---\n\n\n**Haftungsausschluss**: \nDieses Dokument wurde mit dem KI-Übersetzungsdienst [Co-op Translator](https://github.com/Azure/co-op-translator) übersetzt. Obwohl wir auf Genauigkeit achten, können automatisierte Übersetzungen Fehler oder Ungenauigkeiten enthalten. Das Originaldokument in seiner Ursprungssprache gilt als maßgebliche Quelle. Für wichtige Informationen wird eine professionelle menschliche Übersetzung empfohlen. Wir übernehmen keine Haftung für Missverständnisse oder Fehlinterpretationen, die durch die Nutzung dieser Übersetzung entstehen.\n\n" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3.7.4 64-bit (conda)", + "metadata": { + "interpreter": { + "hash": "86193a1ab0ba47eac1c69c1756090baa3b420b3eea7d4aafab8b85f8b312f0c5" + } + }, + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.9.5" + } + }, + "nbformat": 4, + "nbformat_minor": 2 } \ No newline at end of file diff --git a/translations/es/.co-op-translator.json b/translations/es/.co-op-translator.json index e3e16e33..84e06963 100644 --- a/translations/es/.co-op-translator.json +++ b/translations/es/.co-op-translator.json @@ -6,8 +6,8 @@ "language_code": "es" }, "README.md": { - "original_hash": "75fe3383afc51eaa84b82ace619ffea7", - "translation_date": "2026-02-06T07:15:44+00:00", + "original_hash": "9eaca839b0b3f6d7f0a195fd33cebd30", + "translation_date": "2026-02-28T08:16:55+00:00", "source_file": "README.md", "language_code": "es" }, @@ -89,6 +89,12 @@ "source_file": "lessons/1-Intro/assignment.md", "language_code": "es" }, + "lessons/2-Symbolic/MSConceptGraph.ipynb": { + "original_hash": "e5690bbc6e5119a96a8172ec7261db67", + "translation_date": "2026-02-28T08:13:51+00:00", + "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", + "language_code": "es" + }, "lessons/2-Symbolic/README.md": { "original_hash": "f9f06b266b8b2bfc6b8792ff2bb1bea4", "translation_date": "2026-01-15T10:47:28+00:00", diff --git a/translations/es/README.md b/translations/es/README.md index 1e3a8333..b1014e9b 100644 --- a/translations/es/README.md +++ b/translations/es/README.md @@ -18,27 +18,38 @@ |:---:| | AI For Beginners - _Sketchnote por [@girlie_mac](https://twitter.com/girlie_mac)_ | -Explora el mundo de la **Inteligencia Artificial** (IA) con nuestro currículo de 12 semanas y 24 lecciones. Incluye lecciones prácticas, cuestionarios y laboratorios. El currículo es apto para principiantes y cubre herramientas como TensorFlow y PyTorch, así como la ética en la IA. +¡Explora el mundo de la **Inteligencia Artificial** (IA) con nuestro currículo de 12 semanas y 24 lecciones! Incluye lecciones prácticas, cuestionarios y laboratorios. El currículo es amigable para principiantes y cubre herramientas como TensorFlow y PyTorch, así como ética en IA -### 🌐 Soporte Multilenguaje -#### Soportado mediante GitHub Action (Automatizado y Siempre Actualizado) +### 🌐 Soporte Multilingüe + +#### Soportado vía GitHub Action (Automatizado y Siempre Actualizado) [Arabic](../ar/README.md) | [Bengali](../bn/README.md) | [Bulgarian](../bg/README.md) | [Burmese (Myanmar)](../my/README.md) | [Chinese (Simplified)](../zh-CN/README.md) | [Chinese (Traditional, Hong Kong)](../zh-HK/README.md) | [Chinese (Traditional, Macau)](../zh-MO/README.md) | [Chinese (Traditional, Taiwan)](../zh-TW/README.md) | [Croatian](../hr/README.md) | [Czech](../cs/README.md) | [Danish](../da/README.md) | [Dutch](../nl/README.md) | [Estonian](../et/README.md) | [Finnish](../fi/README.md) | [French](../fr/README.md) | [German](../de/README.md) | [Greek](../el/README.md) | [Hebrew](../he/README.md) | [Hindi](../hi/README.md) | [Hungarian](../hu/README.md) | [Indonesian](../id/README.md) | [Italian](../it/README.md) | [Japanese](../ja/README.md) | [Kannada](../kn/README.md) | [Korean](../ko/README.md) | [Lithuanian](../lt/README.md) | [Malay](../ms/README.md) | [Malayalam](../ml/README.md) | [Marathi](../mr/README.md) | [Nepali](../ne/README.md) | [Nigerian Pidgin](../pcm/README.md) | [Norwegian](../no/README.md) | [Persian (Farsi)](../fa/README.md) | [Polish](../pl/README.md) | [Portuguese (Brazil)](../pt-BR/README.md) | [Portuguese (Portugal)](../pt-PT/README.md) | [Punjabi (Gurmukhi)](../pa/README.md) | [Romanian](../ro/README.md) | [Russian](../ru/README.md) | [Serbian (Cyrillic)](../sr/README.md) | [Slovak](../sk/README.md) | [Slovenian](../sl/README.md) | [Spanish](./README.md) | [Swahili](../sw/README.md) | [Swedish](../sv/README.md) | [Tagalog (Filipino)](../tl/README.md) | [Tamil](../ta/README.md) | [Telugu](../te/README.md) | [Thai](../th/README.md) | [Turkish](../tr/README.md) | [Ukrainian](../uk/README.md) | [Urdu](../ur/README.md) | [Vietnamese](../vi/README.md) -> **¿Prefieres Clonar Localmente?** - -> Este repositorio incluye más de 50 traducciones que aumentan considerablemente el tamaño de la descarga. Para clonar sin las traducciones, usa sparse checkout: +> **¿Prefieres clonar localmente?** +> +> Este repositorio incluye más de 50 traducciones de idiomas, lo que incrementa significativamente el tamaño de la descarga. Para clonar sin las traducciones, usa sparse checkout: +> +> **Bash / macOS / Linux:** > ```bash > git clone --filter=blob:none --sparse https://github.com/microsoft/AI-For-Beginners.git > cd AI-For-Beginners > git sparse-checkout set --no-cone '/*' '!translations' '!translated_images' > ``` -> Esto te proporciona todo lo necesario para completar el curso con una descarga mucho más rápida. +> +> **CMD (Windows):** +> ```cmd +> git clone --filter=blob:none --sparse https://github.com/microsoft/AI-For-Beginners.git +> cd AI-For-Beginners +> git sparse-checkout set --no-cone "/*" "!translations" "!translated_images" +> ``` +> +> Esto te dará todo lo necesario para completar el curso con una descarga mucho más rápida. -**Si deseas que se agreguen idiomas adicionales, están listados [aquí](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md)** +**Si deseas que se soporten idiomas adicionales, estos están listados [aquí](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md)** ## Únete a la Comunidad [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) @@ -47,31 +58,31 @@ Explora el mundo de la **Inteligencia Artificial** (IA) con nuestro currículo d **[Mapa mental del curso](http://soshnikov.com/courses/ai-for-beginners/mindmap.html)** -En este currículo aprenderás: +En este currículo, aprenderás: -* Diferentes enfoques de la Inteligencia Artificial, incluyendo el enfoque "clásico" simbólico con **Representación del Conocimiento** y razonamiento ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). -* **Redes Neuronales** y **Aprendizaje Profundo**, que son el núcleo de la IA moderna. Ilustraremos los conceptos detrás de estos temas importantes usando código en dos de los frameworks más populares - [TensorFlow](http://Tensorflow.org) y [PyTorch](http://pytorch.org). -* **Arquitecturas Neuronales** para trabajar con imágenes y texto. Cubriremos modelos recientes aunque puede faltar un poco de lo último en el estado del arte. +* Diferentes enfoques de la Inteligencia Artificial, incluyendo el "antiguo y bueno" enfoque simbólico con **Representación del Conocimiento** y razonamiento ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). +* **Redes Neuronales** y **Aprendizaje Profundo**, que están en el núcleo de la IA moderna. Ilustraremos los conceptos detrás de estos temas importantes usando código en dos de los frameworks más populares - [TensorFlow](http://Tensorflow.org) y [PyTorch](http://pytorch.org). +* **Arquitecturas Neuronales** para trabajar con imágenes y texto. Cubriremos modelos recientes, aunque puede que no estén completamente al día con el estado del arte. * Enfoques de IA menos populares, como **Algoritmos Genéticos** y **Sistemas Multi-Agente**. Lo que no cubriremos en este currículo: > [Encuentra todos los recursos adicionales para este curso en nuestra colección de Microsoft Learn](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) -* Casos de negocio del uso de **IA en negocios**. Considera seguir la ruta de aprendizaje [Introducción a la IA para usuarios de negocio](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) en Microsoft Learn, o la [Escuela de Negocios de IA](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), desarrollada en cooperación con [INSEAD](https://www.insead.edu/). +* Casos de negocio de usar **IA en los Negocios**. Considera tomar la ruta de aprendizaje [Introducción a la IA para usuarios de negocios](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) en Microsoft Learn, o [Escuela de Negocios de IA](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), desarrollada en cooperación con [INSEAD](https://www.insead.edu/). * **Aprendizaje Automático Clásico**, que está bien descrito en nuestro [Currículo de Aprendizaje Automático para Principiantes](http://github.com/Microsoft/ML-for-Beginners). -* Aplicaciones prácticas de IA construidas usando **[Servicios Cognitivos](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)**. Para esto recomendamos comenzar con módulos de Microsoft Learn para [visón](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), [procesamiento de lenguaje natural](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[IA Generativa con Azure OpenAI Service](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** y otros. -* **Frameworks específicos de ML en la Nube**, tales como [Azure Machine Learning](https://azure.microsoft.com/services/machine-learning/?WT.mc_id=academic-77998-bethanycheum), [Microsoft Fabric](https://learn.microsoft.com/en-us/training/paths/get-started-fabric/?WT.mc_id=academic-77998-bethanycheum), o [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). Considera usar las rutas de aprendizaje [Construye y opera soluciones de machine learning con Azure Machine Learning](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) y [Construye y opera soluciones de machine learning con Azure Databricks](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum). -* **IA Conversacional** y **Chat Bots**. Hay una ruta de aprendizaje separada [Crea soluciones de IA conversacional](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum), y también puedes referirte a [este post del blog](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/) para más detalles. -* **Matemáticas Profundas** detrás del aprendizaje profundo. Para esto recomendamos [Deep Learning](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) de Ian Goodfellow, Yoshua Bengio y Aaron Courville, que también está disponible en línea en [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/). +* Aplicaciones prácticas de IA construidas usando **[Servicios Cognitivos](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)**. Para esto, recomendamos que comiences con los módulos de Microsoft Learn para [visión](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), [procesamiento de lenguaje natural](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[IA Generativa con Azure OpenAI Service](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** y otros. +* **Frameworks específicos de ML en la Nube**, como [Azure Machine Learning](https://azure.microsoft.com/services/machine-learning/?WT.mc_id=academic-77998-bethanycheum), [Microsoft Fabric](https://learn.microsoft.com/en-us/training/paths/get-started-fabric/?WT.mc_id=academic-77998-bethanycheum) o [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). Considera usar las rutas de aprendizaje [Construir y operar soluciones de aprendizaje automático con Azure Machine Learning](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) y [Construir y operar soluciones de aprendizaje automático con Azure Databricks](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum). +* **IA Conversacional** y **Chat Bots**. Existe una ruta de aprendizaje separada [Crear soluciones de IA conversacional](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum), y también puedes consultar [esta publicación en blog](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/) para más detalles. +* **Matemáticas Profundas** detrás del aprendizaje profundo. Para esto, recomendamos [Deep Learning](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) de Ian Goodfellow, Yoshua Bengio y Aaron Courville, que también está disponible en línea en [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/). -Para una introducción suave a los temas de _IA en la Nube_ podrías considerar la Ruta de Aprendizaje [Comienza con inteligencia artificial en Azure](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum). +Para una introducción suave a temas de _IA en la Nube_ puedes considerar tomar la ruta de aprendizaje [Comienza con inteligencia artificial en Azure](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum). # Contenido -| | Enlace a la Lección | PyTorch/Keras/TensorFlow | Laboratorio | +| | Enlace de la Lección | PyTorch/Keras/TensorFlow | Laboratorio | | :-: | :------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------ | -| 0 | [Configuración del Curso](./lessons/0-course-setup/setup.md) | [Configura tu Entorno de Desarrollo](./lessons/0-course-setup/how-to-run.md) | | +| 0 | [Configuración del Curso](./lessons/0-course-setup/setup.md) | [Configura tu entorno de desarrollo](./lessons/0-course-setup/how-to-run.md) | | | I | [**Introducción a la IA**](./lessons/1-Intro/README.md) | | | | 01 | [Introducción e Historia de la IA](./lessons/1-Intro/README.md) | - | - | | II | **IA Simbólica** | @@ -90,81 +101,79 @@ Para una introducción suave a los temas de _IA en la Nube_ podrías considerar | 12 | [Segmentación Semántica. U-Net](./lessons/4-ComputerVision/12-Segmentation/README.md) | [PyTorch](./lessons/4-ComputerVision/12-Segmentation/SemanticSegmentationPytorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/12-Segmentation/SemanticSegmentationTF.ipynb) | | | V | [**Procesamiento de Lenguaje Natural**](./lessons/5-NLP/README.md) | [PyTorch](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-pytorch/?WT.mc_id=academic-77998-cacaste) /[TensorFlow](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-TensorFlow/?WT.mc_id=academic-77998-cacaste) | [Explorar Procesamiento de Lenguaje Natural en Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| | 13 | [Representación de Texto. Bow/TF-IDF](./lessons/5-NLP/13-TextRep/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationTF.ipynb) | | -| 14 | [Incrustaciones semánticas de palabras. Word2Vec y GloVe](./lessons/5-NLP/14-Embeddings/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsTF.ipynb) | | -| 15 | [Modelado del Lenguaje. Entrenamiento de tus propias incrustaciones](./lessons/5-NLP/15-LanguageModeling/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-PyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-TF.ipynb) | [Laboratorio](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | +| 14 | [Embeddings de palabras semánticos. Word2Vec y GloVe](./lessons/5-NLP/14-Embeddings/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsTF.ipynb) | | +| 15 | [Modelado de Lenguaje. Entrenando tus propios embeddings](./lessons/5-NLP/15-LanguageModeling/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-PyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-TF.ipynb) | [Laboratorio](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | | 16 | [Redes Neuronales Recurrentes](./lessons/5-NLP/16-RNN/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNTF.ipynb) | | | 17 | [Redes Recurrentes Generativas](./lessons/5-NLP/17-GenerativeNetworks/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativePyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativeTF.ipynb) | [Laboratorio](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | | 18 | [Transformers. BERT.](./lessons/5-NLP/18-Transformers/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/18-Transformers/TransformersPyTorch.ipynb) /[TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/18-Transformers/TransformersTF.ipynb) | | | 19 | [Reconocimiento de Entidades Nombradas](./lessons/5-NLP/19-NER/README.md) | [TensorFlow](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [Laboratorio](./lessons/5-NLP/19-NER/lab/README.md) | -| 20 | [Modelos de Lenguaje Grandes, Programación de Prompts y Tareas Few-Shot](./lessons/5-NLP/20-LangModels/README.md) | [PyTorch](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/20-LangModels/GPT-PyTorch.ipynb) | | +| 20 | [Modelos de Lenguaje Grandes, Programación de Prompts y Tareas con Pocos Ejemplos](./lessons/5-NLP/20-LangModels/README.md) | [PyTorch](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/20-LangModels/GPT-PyTorch.ipynb) | | | VI | **Otras Técnicas de IA** || | | 21 | [Algoritmos Genéticos](./lessons/6-Other/21-GeneticAlgorithms/README.md) | [Cuaderno](./lessons/6-Other/21-GeneticAlgorithms/Genetic.ipynb) | | | 22 | [Aprendizaje por Refuerzo Profundo](./lessons/6-Other/22-DeepRL/README.md) | [PyTorch](./lessons/6-Other/22-DeepRL/CartPole-RL-PyTorch.ipynb) /[TensorFlow](./lessons/6-Other/22-DeepRL/CartPole-RL-TF.ipynb) | [Laboratorio](./lessons/6-Other/22-DeepRL/lab/README.md) | | 23 | [Sistemas Multiagente](./lessons/6-Other/23-MultiagentSystems/README.md) | | | | VII | **Ética en IA** | | | -| 24 | [Ética en IA y IA Responsable](./lessons/7-Ethics/README.md) | [Microsoft Learn: Principios de IA Responsable](https://docs.microsoft.com/learn/paths/responsible-ai-business-principles/?WT.mc_id=academic-77998-cacaste) | | +| 24 | [Ética en IA e IA Responsable](./lessons/7-Ethics/README.md) | [Microsoft Learn: Principios de IA Responsable](https://docs.microsoft.com/learn/paths/responsible-ai-business-principles/?WT.mc_id=academic-77998-cacaste) | | | IX | **Extras** | | | -| 25 | [Redes Multi-Modales, CLIP y VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [Cuaderno](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | +| 25 | [Redes Multimodales, CLIP y VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [Cuaderno](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | ## Cada lección contiene - * Material de lectura previa -* Cuadernos ejecutables de Jupyter, que a menudo son específicos para el framework (**PyTorch** o **TensorFlow**). El cuaderno ejecutable también contiene mucho material teórico, por lo que para entender el tema debes revisar al menos una versión del cuaderno (ya sea PyTorch o TensorFlow). -* **Laboratorios** disponibles para algunos temas, que te ofrecen la oportunidad de intentar aplicar el material aprendido a un problema específico. +* Cuadernos Jupyter ejecutables, que a menudo son específicos del framework (**PyTorch** o **TensorFlow**). El cuaderno ejecutable también contiene mucho material teórico, por lo que para entender el tema necesitas revisar al menos una versión del cuaderno (ya sea PyTorch o TensorFlow). +* **Laboratorios** disponibles para algunos temas, que te dan la oportunidad de intentar aplicar el material aprendido a un problema específico. * Algunas secciones contienen enlaces a módulos de [**MS Learn**](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) que cubren temas relacionados. ## Comenzando ### 🎯 ¿Nuevo en IA? ¡Empieza aquí! -Si eres completamente nuevo en IA y quieres ejemplos prácticos y rápidos, consulta nuestros [**Ejemplos para Principiantes**](./examples/README.md)! Estos incluyen: +Si eres completamente nuevo en IA y quieres ejemplos rápidos y prácticos, consulta nuestros [**Ejemplos para Principiantes**](./examples/README.md). Estos incluyen: - 🌟 **Hola Mundo IA** - Tu primer programa de IA (reconocimiento de patrones) - 🧠 **Red Neuronal Simple** - Construye una red neuronal desde cero +- 🖼️ **Clasificador de Imágenes** - Clasifica imágenes con comentarios detallados +- 💬 **Análisis de Sentimiento de Texto** - Analiza texto positivo/negativo -- 🖼️ **Clasificador de imágenes** - Clasifica imágenes con comentarios detallados -- 💬 **Sentimiento de texto** - Analiza texto positivo/negativo +Estos ejemplos están diseñados para ayudarte a entender conceptos de IA antes de profundizar en el currículo completo. -Estos ejemplos están diseñados para ayudarte a entender conceptos de IA antes de sumergirte en el plan de estudios completo. +### 📚 Configuración completa del currículo -### 📚 Configuración del plan de estudios completo - -- Hemos creado una [lección de configuración](./lessons/0-course-setup/setup.md) para ayudarte a configurar tu entorno de desarrollo. - Para educadores, también hemos creado una [lección de configuración del plan de estudios](./lessons/0-course-setup/for-teachers.md) -- Cómo [Ejecutar el código en VSCode o en un Codespace](./lessons/0-course-setup/how-to-run.md) +- Hemos creado una [lección de configuración](./lessons/0-course-setup/setup.md) para ayudarte a configurar tu entorno de desarrollo. - Para educadores, también hemos creado una [lección de configuración del currículo](./lessons/0-course-setup/for-teachers.md). +- Cómo [Ejecutar el código en VSCode o Codespace](./lessons/0-course-setup/how-to-run.md) Sigue estos pasos: -Bifurca el repositorio: Haz clic en el botón "Fork" en la esquina superior derecha de esta página. +Haz un fork del repositorio: haz clic en el botón "Fork" en la esquina superior derecha de esta página. Clona el repositorio: `git clone https://github.com/microsoft/AI-For-Beginners.git` -No olvides marcar con estrella (🌟) este repositorio para encontrarlo más fácilmente luego. +No olvides darle estrella (🌟) a este repositorio para encontrarlo más fácilmente después. ## Conoce a otros estudiantes -Únete a nuestro [servidor oficial de Discord de AI](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum) para conocer y conectarte con otros estudiantes que toman este curso y recibir apoyo. +Únete a nuestro [servidor oficial de Discord de IA](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum) para conocer y conectar con otros estudiantes que están tomando este curso y obtener apoyo. -Si tienes retroalimentación sobre el producto o preguntas mientras construyes, visita nuestro [Foro de Desarrolladores de Azure AI Foundry](https://aka.ms/foundry/forum) +Si tienes comentarios o preguntas sobre el producto mientras construyes, visita nuestro [Foro de Desarrolladores de Azure AI Foundry](https://aka.ms/foundry/forum) ## Cuestionarios -> **Una nota sobre los cuestionarios**: Todos los cuestionarios están contenidos en la carpeta Quiz-app en etc\quiz-app, o [En línea Aquí](https://ff-quizzes.netlify.app/) Están enlazados desde dentro de las lecciones. La aplicación del cuestionario se puede ejecutar localmente o desplegarse en Azure; sigue las instrucciones en la carpeta `quiz-app`. Se están localizando gradualmente. +> **Una nota sobre los cuestionarios**: Todos los cuestionarios están contenidos en la carpeta Quiz-app en etc\quiz-app, o [En línea Aquí](https://ff-quizzes.netlify.app/). Están vinculados desde dentro de las lecciones; la aplicación de cuestionarios puede ejecutarse localmente o desplegarse en Azure; sigue las instrucciones en la carpeta `quiz-app`. Se están localizando gradualmente. ## Se busca ayuda -¿Tienes sugerencias o encontraste errores ortográficos o en el código? Abre un problema o crea una solicitud de extracción. +¿Tienes sugerencias o encontraste errores ortográficos o de código? Abre un issue o crea un pull request. ## Agradecimientos especiales -* **✍️ Autor principal:** [Dmitry Soshnikov](http://soshnikov.com), PhD +* **✍️ Autor Principal:** [Dmitry Soshnikov](http://soshnikov.com), PhD * **🔥 Editor:** [Jen Looper](https://twitter.com/jenlooper), PhD -* **🎨 Ilustradora de sketchnotes:** [Tomomi Imura](https://twitter.com/girlie_mac) -* **✅ Creadora de cuestionarios:** [Lateefah Bello](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) -* **🙏 Colaboradores principales:** [Evgenii Pishchik](https://github.com/Pe4enIks) +* **🎨 Ilustrador de Sketchnotes:** [Tomomi Imura](https://twitter.com/girlie_mac) +* **✅ Creador de Cuestionarios:** [Lateefah Bello](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) +* **🙏 Colaboradores Principales:** [Evgenii Pishchik](https://github.com/Pe4enIks) -## Otros planes de estudios +## Otros Currículos -¡Nuestro equipo produce otros planes de estudios! Revisa: +¡Nuestro equipo produce otros currículos! Mira: ### LangChain @@ -180,7 +189,7 @@ Si tienes retroalimentación sobre el producto o preguntas mientras construyes, [![Agentes de IA para Principiantes](https://img.shields.io/badge/AI%20Agents%20for%20Beginners-00C49A?style=for-the-badge&labelColor=E5E7EB&color=00C49A)](https://github.com/microsoft/ai-agents-for-beginners?WT.mc_id=academic-105485-koreyst) --- - + ### Serie de IA Generativa [![IA Generativa para Principiantes](https://img.shields.io/badge/Generative%20AI%20for%20Beginners-8B5CF6?style=for-the-badge&labelColor=E5E7EB&color=8B5CF6)](https://github.com/microsoft/generative-ai-for-beginners?WT.mc_id=academic-105485-koreyst) [![IA Generativa (.NET)](https://img.shields.io/badge/Generative%20AI%20(.NET)-9333EA?style=for-the-badge&labelColor=E5E7EB&color=9333EA)](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst) @@ -188,8 +197,8 @@ Si tienes retroalimentación sobre el producto o preguntas mientras construyes, [![IA Generativa (JavaScript)](https://img.shields.io/badge/Generative%20AI%20(JavaScript)-E879F9?style=for-the-badge&labelColor=E5E7EB&color=E879F9)](https://github.com/microsoft/generative-ai-with-javascript?WT.mc_id=academic-105485-koreyst) --- - -### Aprendizaje básico + +### Aprendizaje Básico [![ML para Principiantes](https://img.shields.io/badge/ML%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=22C55E)](https://aka.ms/ml-beginners?WT.mc_id=academic-105485-koreyst) [![Ciencia de Datos para Principiantes](https://img.shields.io/badge/Data%20Science%20for%20Beginners-84CC16?style=for-the-badge&labelColor=E5E7EB&color=84CC16)](https://aka.ms/datascience-beginners?WT.mc_id=academic-105485-koreyst) [![IA para Principiantes](https://img.shields.io/badge/AI%20for%20Beginners-A3E635?style=for-the-badge&labelColor=E5E7EB&color=A3E635)](https://aka.ms/ai-beginners?WT.mc_id=academic-105485-koreyst) @@ -199,26 +208,26 @@ Si tienes retroalimentación sobre el producto o preguntas mientras construyes, [![Desarrollo XR para Principiantes](https://img.shields.io/badge/XR%20Development%20for%20Beginners-38BDF8?style=for-the-badge&labelColor=E5E7EB&color=38BDF8)](https://github.com/microsoft/xr-development-for-beginners?WT.mc_id=academic-105485-koreyst) --- - + ### Serie Copilot -[![Copilot para programación en pareja con IA](https://img.shields.io/badge/Copilot%20for%20AI%20Paired%20Programming-FACC15?style=for-the-badge&labelColor=E5E7EB&color=FACC15)](https://aka.ms/GitHubCopilotAI?WT.mc_id=academic-105485-koreyst) +[![Copilot para Programación en Pares con IA](https://img.shields.io/badge/Copilot%20for%20AI%20Paired%20Programming-FACC15?style=for-the-badge&labelColor=E5E7EB&color=FACC15)](https://aka.ms/GitHubCopilotAI?WT.mc_id=academic-105485-koreyst) [![Copilot para C#/.NET](https://img.shields.io/badge/Copilot%20for%20C%23/.NET-FBBF24?style=for-the-badge&labelColor=E5E7EB&color=FBBF24)](https://github.com/microsoft/mastering-github-copilot-for-dotnet-csharp-developers?WT.mc_id=academic-105485-koreyst) [![Aventura Copilot](https://img.shields.io/badge/Copilot%20Adventure-FDE68A?style=for-the-badge&labelColor=E5E7EB&color=FDE68A)](https://github.com/microsoft/CopilotAdventures?WT.mc_id=academic-105485-koreyst) ## Obtener ayuda -Si te quedas atascado o tienes preguntas sobre cómo construir aplicaciones de IA. Únete a otros estudiantes y desarrolladores experimentados en discusiones sobre MCP. Es una comunidad de apoyo donde las preguntas son bienvenidas y el conocimiento se comparte libremente. +Si te quedas atascado o tienes alguna pregunta sobre la construcción de aplicaciones de IA, únete a otros estudiantes y desarrolladores experimentados en discusiones sobre MCP. Es una comunidad solidaria donde las preguntas son bienvenidas y el conocimiento se comparte libremente. [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -Si tienes retroalimentación sobre el producto o encuentras errores mientras construyes, visita: +Si tienes comentarios sobre el producto o errores mientras construyes, visita: [![Microsoft Foundry Developer Forum](https://img.shields.io/badge/GitHub-Microsoft_Foundry_Developer_Forum-blue?style=for-the-badge&logo=github&color=000000&logoColor=fff)](https://aka.ms/foundry/forum) --- -**Aviso legal**: -Este documento ha sido traducido utilizando el servicio de traducción automática [Co-op Translator](https://github.com/Azure/co-op-translator). Aunque nos esforzamos por lograr precisión, tenga en cuenta que las traducciones automatizadas pueden contener errores o inexactitudes. El documento original en su idioma nativo debe considerarse la fuente autorizada. Para información crítica, se recomienda una traducción profesional realizada por humanos. No nos hacemos responsables por malentendidos o interpretaciones erróneas derivadas del uso de esta traducción. +**Descargo de responsabilidad**: +Este documento ha sido traducido utilizando el servicio de traducción automática [Co-op Translator](https://github.com/Azure/co-op-translator). Aunque nos esforzamos por la precisión, tenga en cuenta que las traducciones automáticas pueden contener errores o inexactitudes. El documento original en su idioma nativo debe considerarse la fuente autorizada. Para información crítica, se recomienda una traducción profesional realizada por humanos. No nos hacemos responsables de cualquier malentendido o interpretación errónea que surja del uso de esta traducción. \ No newline at end of file diff --git a/translations/es/lessons/2-Symbolic/MSConceptGraph.ipynb b/translations/es/lessons/2-Symbolic/MSConceptGraph.ipynb index 010a0584..05a486a1 100644 --- a/translations/es/lessons/2-Symbolic/MSConceptGraph.ipynb +++ b/translations/es/lessons/2-Symbolic/MSConceptGraph.ipynb @@ -1,539 +1,532 @@ { - "cells": [ - { - "cell_type": "markdown", - "metadata": { - "collapsed": true - }, - "source": [ - "## Microsoft Concept Graph - ESTA API YA NO ESTÁ DISPONIBLE, PERO POR FAVOR REVISA EL NOTEBOOK PARA ENTENDER EL CONCEPTO\n", - "\n", - "[Microsoft Concept Graph](https://concept.research.microsoft.com/) es una gran taxonomía de términos extraídos de internet, con relaciones de tipo `es-un` entre conceptos.\n", - "\n", - "El Context Graph está disponible en dos formas:\n", - " * Archivo de texto grande para descargar\n", - " * API REST\n", - "\n", - "Estadísticas:\n", - " * 5,401,933 conceptos únicos\n", - " * 12,551,613 instancias únicas\n", - " * 87,603,947 relaciones de tipo `es-un`\n" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Uso del servicio web\n", - "\n", - "El servicio web ofrece diferentes llamadas para estimar la probabilidad de que un concepto pertenezca a distintos grupos. Más información está disponible [aquí](https://concept.research.microsoft.com/Home/Api). \n", - "Aquí tienes un ejemplo de URL para realizar la llamada: `https://api.conceptnet.io/query?start=/c/en/microsoft&rel=/r/IsA&limit=10`\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "trusted": true - }, - "outputs": [], - "source": [ - "import urllib\n", - "import json\n", - "\n", - "def http(x):\n", - " response = urllib.request.urlopen(x)\n", - " data = response.read()\n", - " return data.decode('utf-8')\n", - "\n", - "def query(x):\n", - " concept = x.lower().replace(' ', '_')\n", - " url = \"https://api.conceptnet.io/query?start=/c/en/{}&rel=/r/IsA&limit=10\".format(\n", - " urllib.parse.quote(concept))\n", - " try:\n", - " result = json.loads(http(url))\n", - " except Exception:\n", - " return {}\n", - " edges = result.get('edges', [])\n", - " if not edges:\n", - " return {}\n", - " total_weight = sum(edge['weight'] for edge in edges)\n", - " if total_weight == 0:\n", - " return {}\n", - " return {edge['end']['label']: edge['weight'] / total_weight for edge in edges}\n", - "\n", - "query('microsoft')" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Intentemos categorizar los títulos de noticias utilizando conceptos principales. Para obtener los títulos de noticias, utilizaremos el servicio [NewsApi.org](http://newsapi.org). Necesitas obtener tu propia clave API para usar el servicio: ve al sitio web y regístrate en el plan de desarrollador gratuito.\n" - ] - }, - { - "cell_type": "code", - "execution_count": 20, - "metadata": { - "trusted": true - }, - "outputs": [], - "source": [ - "newsapi_key = ''\n", - "def get_news(country='us'):\n", - " res = json.loads(http(\"https://newsapi.org/v2/top-headlines?country={0}&apiKey={1}\".format(country,newsapi_key)))\n", - " return res['articles']\n", - "\n", - "all_titles = [x['title'] for x in get_news('us')+get_news('gb')]" - ] - }, - { - "cell_type": "code", - "execution_count": 21, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "['Covid-19 Live Updates: Vaccines and Boosters News - The New York Times',\n", - " 'Ukrainians Flee Mariupol as Russian Forces Push to Take Port City - The Wall Street Journal',\n", - " 'Bond Yields Jump, Stock Futures Rise After Powell Says Fed Is Ready to Be More Aggressive - The Wall Street Journal',\n", - " 'Putin critic Alexei Navalny found guilty by Russian court - New York Post ',\n", - " \"Supreme Court nominee Ketanji Brown Jackson will face questions at confirmation hearing's second day - CNN\",\n", - " '2 teachers killed at Swedish high school, student arrested - ABC News',\n", - " 'Clues to Covid-19’s Next Moves Come From Sewers - The Wall Street Journal',\n", - " 'Republicans to roll dice by grilling Jackson over child-pornography sentencing decisions | TheHill - The Hill',\n", - " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", - " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", - " \"US stocks whipsawed overnight after Fed Chair Powell's remarks - Fox Business\",\n", - " \"'We've learned absolutely nothing': Tests could again be in short supply if Covid surges - POLITICO\",\n", - " \"Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\",\n", - " 'China searches for victims, flight recorders after first plane crash in 12 years - Reuters',\n", - " 'Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters',\n", - " 'Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español',\n", - " 'Powers Remain and Threats Lurk as Women’s Sweet 16 Is Set - The New York Times',\n", - " 'Webb Space Telescope Begins Multi-Instrument Alignment - SciTechDaily',\n", - " \"UConn vs UCF - NCAA women's tournament second-round highlights - March Madness\",\n", - " 'Bucking Republican Trend, Indiana Governor Vetoes Transgender Sports Bill - The New York Times',\n", - " \"Maggie Fox dead: Coronation Street and Shameless actress dies after 'sudden accident' - Mirror Online - The Mirror\",\n", - " 'China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent',\n", - " 'Daniel Morgan murder: damning report condemns Met police - The Guardian',\n", - " 'What to expect from Rishi Sunak’s Spring Statement - BBC.com',\n", - " 'UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian',\n", - " \"Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\",\n", - " 'Brass Eye’s outtakes show the brutal TV comedy was the tip of an iceberg - The Guardian',\n", - " \"Vladimir Putin threatens civilians to break Mariupol's spirit - The Times\",\n", - " 'Shell U-turn on Cambo oilfield would threaten green targets, say campaigners - The Guardian',\n", - " 'St Helens dog attack: Girl aged 17 months killed at home - BBC',\n", - " \"PlayStation to buy 'Assassin's Creed' veteran Jade Raymond's Haven Studios - NME\",\n", - " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", - " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", - " 'Nintendo Switch finally has folders • Eurogamer.net - Eurogamer.net',\n", - " 'FA to “find a solution” as Liverpool fan group blasts “shambolic” Wembley travel - This Is Anfield',\n", - " 'Manchester United transfer news LIVE Erik ten Hag latest and Man Utd manager updates - Manchester Evening News',\n", - " 'Inflation raises cost of UK government borrowing in February; crude oil up again – business live - The Guardian',\n", - " 'Alexei Navalny: Kremlin critic found guilty of large-scale fraud and contempt of court by Russian court - Sky News',\n", - " \"UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\",\n", - " 'Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian']" - ] - }, - "execution_count": 21, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "all_titles" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "En primer lugar, queremos poder extraer sustantivos de los títulos de noticias. Usaremos la biblioteca `TextBlob` para hacer esto, lo que simplifica muchas tareas típicas de procesamiento de lenguaje natural como esta.\n" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Requirement already satisfied: textblob in c:\\winapp\\miniconda3\\lib\\site-packages (0.17.1)\n", - "Requirement already satisfied: nltk>=3.1 in c:\\winapp\\miniconda3\\lib\\site-packages (from textblob) (3.5)\n", - "Requirement already satisfied: joblib in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (1.0.1)\n", - "Requirement already satisfied: regex in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (2021.11.10)\n", - "Requirement already satisfied: tqdm in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (4.61.2)\n", - "Requirement already satisfied: click in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (8.0.3)\n", - "Requirement already satisfied: colorama in c:\\winapp\\miniconda3\\lib\\site-packages (from click->nltk>=3.1->textblob) (0.4.4)\n", - "Finished.\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[nltk_data] Downloading package brown to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package brown is already up-to-date!\n", - "[nltk_data] Downloading package punkt to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package punkt is already up-to-date!\n", - "[nltk_data] Downloading package wordnet to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package wordnet is already up-to-date!\n", - "[nltk_data] Downloading package averaged_perceptron_tagger to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package averaged_perceptron_tagger is already up-to-\n", - "[nltk_data] date!\n", - "[nltk_data] Downloading package conll2000 to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package conll2000 is already up-to-date!\n", - "[nltk_data] Downloading package movie_reviews to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package movie_reviews is already up-to-date!\n" - ] - } - ], - "source": [ - "import sys\n", - "!{sys.executable} -m pip install textblob\n", - "!{sys.executable} -m textblob.download_corpora\n", - "from textblob import TextBlob" - ] - }, - { - "cell_type": "code", - "execution_count": 22, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "data": { - "text/plain": [ - "{'covid-19 live updates': 1,\n", - " 'vaccines': 1,\n", - " 'boosters': 1,\n", - " 'york': 4,\n", - " 'ukrainians flee mariupol': 1,\n", - " 'forces push': 1,\n", - " 'port city': 1,\n", - " 'wall street journal': 3,\n", - " 'bond yields': 1,\n", - " 'futures rise': 1,\n", - " 'powell says fed': 1,\n", - " 'ready': 1,\n", - " 'be': 1,\n", - " 'aggressive': 1,\n", - " 'putin': 3,\n", - " 'alexei navalny': 2,\n", - " 'russian': 2,\n", - " 'supreme court nominee': 1,\n", - " 'ketanji brown jackson': 1,\n", - " \"confirmation hearing 's\": 1,\n", - " 'cnn': 1,\n", - " 'swedish': 1,\n", - " 'high school': 1,\n", - " 'abc': 1,\n", - " 'clues': 1,\n", - " 'covid-19': 1,\n", - " '’ s': 2,\n", - " 'moves': 1,\n", - " 'sewers': 1,\n", - " 'roll dice': 1,\n", - " 'jackson': 1,\n", - " 'decisions |': 1,\n", - " 'thehill': 1,\n", - " 'clear': 2,\n", - " 'chemical weapons': 2,\n", - " 'ukraine': 3,\n", - " 'claims president': 2,\n", - " 'biden': 2,\n", - " 'nasa': 2,\n", - " 'solar system': 2,\n", - " 'daily mail': 3,\n", - " 'us stocks': 1,\n", - " 'fed chair powell': 1,\n", - " \"'s remarks\": 1,\n", - " 'fox': 1,\n", - " \"'we 've\": 1,\n", - " 'tests': 1,\n", - " 'covid': 1,\n", - " 'politico': 1,\n", - " 'duchess': 1,\n", - " 'cambridge': 1,\n", - " 'swaps khaki jungle gear': 1,\n", - " 'vampire': 1,\n", - " 'wife': 1,\n", - " 'belize': 1,\n", - " 'china': 2,\n", - " 'flight recorders': 1,\n", - " 'plane crash': 1,\n", - " 'reuters': 2,\n", - " 'russian oligarch': 1,\n", - " 'abramovich': 1,\n", - " 'live': 1,\n", - " 'russia': 2,\n", - " 'stops talks': 1,\n", - " 'japan': 1,\n", - " 'español': 1,\n", - " 'powers remain': 1,\n", - " 'threats lurk': 1,\n", - " 'set': 1,\n", - " 'webb': 1,\n", - " 'telescope begins multi-instrument alignment': 1,\n", - " 'scitechdaily': 1,\n", - " 'uconn': 1,\n", - " 'ucf': 1,\n", - " 'ncaa': 1,\n", - " \"women 's tournament second-round highlights\": 1,\n", - " 'march madness': 1,\n", - " 'bucking republican trend': 1,\n", - " 'indiana': 1,\n", - " 'vetoes transgender': 1,\n", - " 'bill': 1,\n", - " 'maggie fox': 1,\n", - " 'coronation': 1,\n", - " 'shameless': 1,\n", - " \"'sudden accident\": 1,\n", - " 'mirror online': 1,\n", - " 'mirror': 2,\n", - " 'plane crash –': 1,\n", - " 'search': 1,\n", - " 'moment flight': 1,\n", - " 'daniel morgan': 1,\n", - " 'report condemns': 1,\n", - " 'met': 1,\n", - " 'guardian': 6,\n", - " 'rishi sunak': 1,\n", - " '’ s spring': 1,\n", - " 'statement': 1,\n", - " 'bbc.com': 1,\n", - " 'uk': 3,\n", - " 'ireland': 1,\n", - " 'euro': 1,\n", - " 'vladimir putin': 2,\n", - " \"'s 'lover\": 1,\n", - " 'brass eye': 1,\n", - " '’ s outtakes': 1,\n", - " 'brutal tv comedy': 1,\n", - " 'threatens civilians': 1,\n", - " 'mariupol': 1,\n", - " \"'s spirit\": 1,\n", - " 'shell u-turn': 1,\n", - " 'cambo': 1,\n", - " 'green targets': 1,\n", - " 'st helens': 1,\n", - " 'dog attack': 1,\n", - " 'girl': 1,\n", - " 'bbc': 1,\n", - " 'playstation': 1,\n", - " \"'assassin 's\": 1,\n", - " 'creed': 1,\n", - " 'jade raymond': 1,\n", - " 'haven studios': 1,\n", - " 'nme': 1,\n", - " 'nintendo switch': 1,\n", - " 'folders •': 1,\n", - " 'eurogamer.net': 2,\n", - " 'fa': 1,\n", - " 'solution ”': 1,\n", - " 'liverpool': 1,\n", - " 'fan group blasts “ shambolic ”': 1,\n", - " 'wembley': 1,\n", - " 'anfield': 1,\n", - " 'manchester': 1,\n", - " 'live erik': 1,\n", - " 'hag': 1,\n", - " 'utd': 1,\n", - " 'manager updates': 1,\n", - " 'manchester evening': 1,\n", - " 'inflation': 1,\n", - " 'government borrowing': 1,\n", - " 'february': 1,\n", - " 'crude oil': 1,\n", - " '– business': 1,\n", - " 'kremlin': 1,\n", - " 'large-scale fraud': 1,\n", - " 'sky': 1,\n", - " 'natural gas': 1,\n", - " 'gazprom': 1,\n", - " 'retail unit': 1,\n", - " 'insider': 1,\n", - " 'zaghari-ratcliffe': 1,\n", - " 'hunt': 1,\n", - " 'iran': 1,\n", - " 'debt payment': 1}" - ] - }, - "execution_count": 22, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "w = {}\n", - "for x in all_titles:\n", - " for n in TextBlob(x).noun_phrases:\n", - " if n in w:\n", - " w[n].append(x)\n", - " else:\n", - " w[n]=[x]\n", - "{ x:len(w[x]) for x in w.keys()}" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Podemos ver que los sustantivos no nos proporcionan grandes grupos temáticos. Vamos a sustituir los sustantivos por términos más generales obtenidos del gráfico de conceptos. Esto tomará algo de tiempo, porque estamos haciendo una llamada REST para cada frase nominal.\n" - ] - }, - { - "cell_type": "code", - "execution_count": 23, - "metadata": { - "trusted": true - }, - "outputs": [], - "source": [ - "w = {}\n", - "for x in all_titles:\n", - " for noun in TextBlob(x).noun_phrases:\n", - " terms = query(noun)\n", - " for term in [u for u in terms.keys() if terms[u]>0.1]:\n", - " if term in w:\n", - " w[term].append(x)\n", - " else:\n", - " w[term]=[x]" - ] - }, - { - "cell_type": "code", - "execution_count": 24, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "data": { - "text/plain": [ - "{'city': 9,\n", - " 'brand': 4,\n", - " 'place': 9,\n", - " 'town': 4,\n", - " 'factor': 4,\n", - " 'film': 4,\n", - " 'nation': 11,\n", - " 'state': 5,\n", - " 'person': 4,\n", - " 'organization': 5,\n", - " 'publication': 10,\n", - " 'market': 5,\n", - " 'economy': 4,\n", - " 'company': 6,\n", - " 'newspaper': 6,\n", - " 'relationship': 6}" - ] - }, - "execution_count": 24, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "{ x:len(w[x]) for x in w.keys() if len(w[x])>3}" - ] - }, - { - "cell_type": "code", - "execution_count": 27, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "ECONOMY:\n", - "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", - "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", - "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", - "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", - "\n", - "NATION:\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", - "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", - "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", - "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", - "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", - "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", - "UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian\n", - "Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", - "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", - "Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian\n", - "\n", - "PERSON:\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", - "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", - "Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n" - ] - } - ], - "source": [ - "print('\\nECONOMY:\\n'+'\\n'.join(w['economy']))\n", - "print('\\nNATION:\\n'+'\\n'.join(w['nation']))\n", - "print('\\nPERSON:\\n'+'\\n'.join(w['person']))" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "\n---\n\n**Descargo de responsabilidad**: \nEste documento ha sido traducido utilizando el servicio de traducción automática [Co-op Translator](https://github.com/Azure/co-op-translator). Aunque nos esforzamos por lograr precisión, tenga en cuenta que las traducciones automáticas pueden contener errores o imprecisiones. El documento original en su idioma nativo debe considerarse la fuente autorizada. Para información crítica, se recomienda una traducción profesional realizada por humanos. No nos hacemos responsables de malentendidos o interpretaciones erróneas que surjan del uso de esta traducción.\n" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3.7.4 64-bit (conda)", - "metadata": { - "interpreter": { - "hash": "86193a1ab0ba47eac1c69c1756090baa3b420b3eea7d4aafab8b85f8b312f0c5" - } - }, - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.9.5" - }, - "coopTranslator": { - "original_hash": "7b3f1fc049371bcf8649ac9fefdf0413", - "translation_date": "2025-10-03T18:49:58+00:00", - "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", - "language_code": "es" - } + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "collapsed": true + }, + "source": [ + "## Grafo de Conceptos usando ConceptNet\n", + "\n", + "> **Nota:** La API original de [Microsoft Concept Graph](https://concept.research.microsoft.com/) ya no está disponible. Este cuaderno ha sido actualizado para usar [ConceptNet](https://conceptnet.io/) como reemplazo, que es un grafo de conocimiento abierto y gratuito con relaciones similares de `is-a` entre conceptos.\n", + "\n", + "[ConceptNet](https://conceptnet.io/) es una gran red semántica de conceptos con relaciones como `IsA`, `PartOf`, `UsedFor` y más. Está disponible como:\n", + " * Un archivo de datos descargable\n", + " * Una API REST (no se requiere clave de API)\n", + "\n", + "Estadísticas de ConceptNet:\n", + " * Más de 8 millones de nodos\n", + " * Más de 21 millones de aristas en 83 idiomas\n" + ] }, - "nbformat": 4, - "nbformat_minor": 2 + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Uso del Servicio Web ConceptNet\n", + "\n", + "[ConceptNet](https://conceptnet.io/) ofrece una API REST para explorar relaciones de tipo `es-un` (IsA) entre conceptos. No se requiere clave API.\n", + "Aquí está la URL de ejemplo para llamar: `https://api.conceptnet.io/query?start=/c/en/microsoft&rel=/r/IsA&limit=10`\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "trusted": true + }, + "outputs": [], + "source": [ + "import urllib\n", + "import json\n", + "\n", + "def http(x):\n", + " response = urllib.request.urlopen(x)\n", + " data = response.read()\n", + " return data.decode('utf-8')\n", + "\n", + "def query(x):\n", + " concept = x.lower().replace(' ', '_')\n", + " url = \"https://api.conceptnet.io/query?start=/c/en/{}&rel=/r/IsA&limit=10\".format(\n", + " urllib.parse.quote(concept))\n", + " try:\n", + " result = json.loads(http(url))\n", + " except Exception:\n", + " return {}\n", + " edges = result.get('edges', [])\n", + " if not edges:\n", + " return {}\n", + " total_weight = sum(edge['weight'] for edge in edges)\n", + " if total_weight == 0:\n", + " return {}\n", + " return {edge['end']['label']: edge['weight'] / total_weight for edge in edges}\n", + "\n", + "query('microsoft')" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Intentemos categorizar los títulos de noticias usando conceptos principales. Para obtener los títulos de noticias, utilizaremos el servicio [NewsApi.org](http://newsapi.org). Necesitas obtener tu propia clave API para poder usar el servicio: ve al sitio web y regístrate en el plan de desarrollador gratuito.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 20, + "metadata": { + "trusted": true + }, + "outputs": [], + "source": [ + "newsapi_key = ''\n", + "def get_news(country='us'):\n", + " res = json.loads(http(\"https://newsapi.org/v2/top-headlines?country={0}&apiKey={1}\".format(country,newsapi_key)))\n", + " return res['articles']\n", + "\n", + "all_titles = [x['title'] for x in get_news('us')+get_news('gb')]" + ] + }, + { + "cell_type": "code", + "execution_count": 21, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "['Covid-19 Live Updates: Vaccines and Boosters News - The New York Times',\n", + " 'Ukrainians Flee Mariupol as Russian Forces Push to Take Port City - The Wall Street Journal',\n", + " 'Bond Yields Jump, Stock Futures Rise After Powell Says Fed Is Ready to Be More Aggressive - The Wall Street Journal',\n", + " 'Putin critic Alexei Navalny found guilty by Russian court - New York Post ',\n", + " \"Supreme Court nominee Ketanji Brown Jackson will face questions at confirmation hearing's second day - CNN\",\n", + " '2 teachers killed at Swedish high school, student arrested - ABC News',\n", + " 'Clues to Covid-19’s Next Moves Come From Sewers - The Wall Street Journal',\n", + " 'Republicans to roll dice by grilling Jackson over child-pornography sentencing decisions | TheHill - The Hill',\n", + " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", + " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", + " \"US stocks whipsawed overnight after Fed Chair Powell's remarks - Fox Business\",\n", + " \"'We've learned absolutely nothing': Tests could again be in short supply if Covid surges - POLITICO\",\n", + " \"Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\",\n", + " 'China searches for victims, flight recorders after first plane crash in 12 years - Reuters',\n", + " 'Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters',\n", + " 'Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español',\n", + " 'Powers Remain and Threats Lurk as Women’s Sweet 16 Is Set - The New York Times',\n", + " 'Webb Space Telescope Begins Multi-Instrument Alignment - SciTechDaily',\n", + " \"UConn vs UCF - NCAA women's tournament second-round highlights - March Madness\",\n", + " 'Bucking Republican Trend, Indiana Governor Vetoes Transgender Sports Bill - The New York Times',\n", + " \"Maggie Fox dead: Coronation Street and Shameless actress dies after 'sudden accident' - Mirror Online - The Mirror\",\n", + " 'China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent',\n", + " 'Daniel Morgan murder: damning report condemns Met police - The Guardian',\n", + " 'What to expect from Rishi Sunak’s Spring Statement - BBC.com',\n", + " 'UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian',\n", + " \"Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\",\n", + " 'Brass Eye’s outtakes show the brutal TV comedy was the tip of an iceberg - The Guardian',\n", + " \"Vladimir Putin threatens civilians to break Mariupol's spirit - The Times\",\n", + " 'Shell U-turn on Cambo oilfield would threaten green targets, say campaigners - The Guardian',\n", + " 'St Helens dog attack: Girl aged 17 months killed at home - BBC',\n", + " \"PlayStation to buy 'Assassin's Creed' veteran Jade Raymond's Haven Studios - NME\",\n", + " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", + " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", + " 'Nintendo Switch finally has folders • Eurogamer.net - Eurogamer.net',\n", + " 'FA to “find a solution” as Liverpool fan group blasts “shambolic” Wembley travel - This Is Anfield',\n", + " 'Manchester United transfer news LIVE Erik ten Hag latest and Man Utd manager updates - Manchester Evening News',\n", + " 'Inflation raises cost of UK government borrowing in February; crude oil up again – business live - The Guardian',\n", + " 'Alexei Navalny: Kremlin critic found guilty of large-scale fraud and contempt of court by Russian court - Sky News',\n", + " \"UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\",\n", + " 'Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian']" + ] + }, + "execution_count": 21, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "all_titles" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "En primer lugar, queremos poder extraer sustantivos de los títulos de noticias. Usaremos la biblioteca `TextBlob` para hacer esto, que simplifica muchas tareas típicas de PLN como esta.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Requirement already satisfied: textblob in c:\\winapp\\miniconda3\\lib\\site-packages (0.17.1)\n", + "Requirement already satisfied: nltk>=3.1 in c:\\winapp\\miniconda3\\lib\\site-packages (from textblob) (3.5)\n", + "Requirement already satisfied: joblib in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (1.0.1)\n", + "Requirement already satisfied: regex in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (2021.11.10)\n", + "Requirement already satisfied: tqdm in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (4.61.2)\n", + "Requirement already satisfied: click in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (8.0.3)\n", + "Requirement already satisfied: colorama in c:\\winapp\\miniconda3\\lib\\site-packages (from click->nltk>=3.1->textblob) (0.4.4)\n", + "Finished.\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "[nltk_data] Downloading package brown to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package brown is already up-to-date!\n", + "[nltk_data] Downloading package punkt to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package punkt is already up-to-date!\n", + "[nltk_data] Downloading package wordnet to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package wordnet is already up-to-date!\n", + "[nltk_data] Downloading package averaged_perceptron_tagger to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package averaged_perceptron_tagger is already up-to-\n", + "[nltk_data] date!\n", + "[nltk_data] Downloading package conll2000 to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package conll2000 is already up-to-date!\n", + "[nltk_data] Downloading package movie_reviews to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package movie_reviews is already up-to-date!\n" + ] + } + ], + "source": [ + "import sys\n", + "!{sys.executable} -m pip install textblob\n", + "!{sys.executable} -m textblob.download_corpora\n", + "from textblob import TextBlob" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'covid-19 live updates': 1,\n", + " 'vaccines': 1,\n", + " 'boosters': 1,\n", + " 'york': 4,\n", + " 'ukrainians flee mariupol': 1,\n", + " 'forces push': 1,\n", + " 'port city': 1,\n", + " 'wall street journal': 3,\n", + " 'bond yields': 1,\n", + " 'futures rise': 1,\n", + " 'powell says fed': 1,\n", + " 'ready': 1,\n", + " 'be': 1,\n", + " 'aggressive': 1,\n", + " 'putin': 3,\n", + " 'alexei navalny': 2,\n", + " 'russian': 2,\n", + " 'supreme court nominee': 1,\n", + " 'ketanji brown jackson': 1,\n", + " \"confirmation hearing 's\": 1,\n", + " 'cnn': 1,\n", + " 'swedish': 1,\n", + " 'high school': 1,\n", + " 'abc': 1,\n", + " 'clues': 1,\n", + " 'covid-19': 1,\n", + " '’ s': 2,\n", + " 'moves': 1,\n", + " 'sewers': 1,\n", + " 'roll dice': 1,\n", + " 'jackson': 1,\n", + " 'decisions |': 1,\n", + " 'thehill': 1,\n", + " 'clear': 2,\n", + " 'chemical weapons': 2,\n", + " 'ukraine': 3,\n", + " 'claims president': 2,\n", + " 'biden': 2,\n", + " 'nasa': 2,\n", + " 'solar system': 2,\n", + " 'daily mail': 3,\n", + " 'us stocks': 1,\n", + " 'fed chair powell': 1,\n", + " \"'s remarks\": 1,\n", + " 'fox': 1,\n", + " \"'we 've\": 1,\n", + " 'tests': 1,\n", + " 'covid': 1,\n", + " 'politico': 1,\n", + " 'duchess': 1,\n", + " 'cambridge': 1,\n", + " 'swaps khaki jungle gear': 1,\n", + " 'vampire': 1,\n", + " 'wife': 1,\n", + " 'belize': 1,\n", + " 'china': 2,\n", + " 'flight recorders': 1,\n", + " 'plane crash': 1,\n", + " 'reuters': 2,\n", + " 'russian oligarch': 1,\n", + " 'abramovich': 1,\n", + " 'live': 1,\n", + " 'russia': 2,\n", + " 'stops talks': 1,\n", + " 'japan': 1,\n", + " 'español': 1,\n", + " 'powers remain': 1,\n", + " 'threats lurk': 1,\n", + " 'set': 1,\n", + " 'webb': 1,\n", + " 'telescope begins multi-instrument alignment': 1,\n", + " 'scitechdaily': 1,\n", + " 'uconn': 1,\n", + " 'ucf': 1,\n", + " 'ncaa': 1,\n", + " \"women 's tournament second-round highlights\": 1,\n", + " 'march madness': 1,\n", + " 'bucking republican trend': 1,\n", + " 'indiana': 1,\n", + " 'vetoes transgender': 1,\n", + " 'bill': 1,\n", + " 'maggie fox': 1,\n", + " 'coronation': 1,\n", + " 'shameless': 1,\n", + " \"'sudden accident\": 1,\n", + " 'mirror online': 1,\n", + " 'mirror': 2,\n", + " 'plane crash –': 1,\n", + " 'search': 1,\n", + " 'moment flight': 1,\n", + " 'daniel morgan': 1,\n", + " 'report condemns': 1,\n", + " 'met': 1,\n", + " 'guardian': 6,\n", + " 'rishi sunak': 1,\n", + " '’ s spring': 1,\n", + " 'statement': 1,\n", + " 'bbc.com': 1,\n", + " 'uk': 3,\n", + " 'ireland': 1,\n", + " 'euro': 1,\n", + " 'vladimir putin': 2,\n", + " \"'s 'lover\": 1,\n", + " 'brass eye': 1,\n", + " '’ s outtakes': 1,\n", + " 'brutal tv comedy': 1,\n", + " 'threatens civilians': 1,\n", + " 'mariupol': 1,\n", + " \"'s spirit\": 1,\n", + " 'shell u-turn': 1,\n", + " 'cambo': 1,\n", + " 'green targets': 1,\n", + " 'st helens': 1,\n", + " 'dog attack': 1,\n", + " 'girl': 1,\n", + " 'bbc': 1,\n", + " 'playstation': 1,\n", + " \"'assassin 's\": 1,\n", + " 'creed': 1,\n", + " 'jade raymond': 1,\n", + " 'haven studios': 1,\n", + " 'nme': 1,\n", + " 'nintendo switch': 1,\n", + " 'folders •': 1,\n", + " 'eurogamer.net': 2,\n", + " 'fa': 1,\n", + " 'solution ”': 1,\n", + " 'liverpool': 1,\n", + " 'fan group blasts “ shambolic ”': 1,\n", + " 'wembley': 1,\n", + " 'anfield': 1,\n", + " 'manchester': 1,\n", + " 'live erik': 1,\n", + " 'hag': 1,\n", + " 'utd': 1,\n", + " 'manager updates': 1,\n", + " 'manchester evening': 1,\n", + " 'inflation': 1,\n", + " 'government borrowing': 1,\n", + " 'february': 1,\n", + " 'crude oil': 1,\n", + " '– business': 1,\n", + " 'kremlin': 1,\n", + " 'large-scale fraud': 1,\n", + " 'sky': 1,\n", + " 'natural gas': 1,\n", + " 'gazprom': 1,\n", + " 'retail unit': 1,\n", + " 'insider': 1,\n", + " 'zaghari-ratcliffe': 1,\n", + " 'hunt': 1,\n", + " 'iran': 1,\n", + " 'debt payment': 1}" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "w = {}\n", + "for x in all_titles:\n", + " for n in TextBlob(x).noun_phrases:\n", + " if n in w:\n", + " w[n].append(x)\n", + " else:\n", + " w[n]=[x]\n", + "{ x:len(w[x]) for x in w.keys()}" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Podemos ver que los sustantivos no nos dan grandes grupos temáticos. Sustituyamos los sustantivos por términos más generales obtenidos del grafo conceptual. Esto tomará algo de tiempo, porque estamos haciendo una llamada REST por cada frase nominal.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "metadata": { + "trusted": true + }, + "outputs": [], + "source": [ + "w = {}\n", + "for x in all_titles:\n", + " for noun in TextBlob(x).noun_phrases:\n", + " terms = query(noun)\n", + " for term in [u for u in terms.keys() if terms[u]>0.1]:\n", + " if term in w:\n", + " w[term].append(x)\n", + " else:\n", + " w[term]=[x]" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'city': 9,\n", + " 'brand': 4,\n", + " 'place': 9,\n", + " 'town': 4,\n", + " 'factor': 4,\n", + " 'film': 4,\n", + " 'nation': 11,\n", + " 'state': 5,\n", + " 'person': 4,\n", + " 'organization': 5,\n", + " 'publication': 10,\n", + " 'market': 5,\n", + " 'economy': 4,\n", + " 'company': 6,\n", + " 'newspaper': 6,\n", + " 'relationship': 6}" + ] + }, + "execution_count": 24, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "{ x:len(w[x]) for x in w.keys() if len(w[x])>3}" + ] + }, + { + "cell_type": "code", + "execution_count": 27, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "ECONOMY:\n", + "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", + "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", + "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", + "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", + "\n", + "NATION:\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", + "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", + "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", + "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", + "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", + "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", + "UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian\n", + "Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", + "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", + "Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian\n", + "\n", + "PERSON:\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", + "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", + "Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n" + ] + } + ], + "source": [ + "print('\\nECONOMY:\\n'+'\\n'.join(w['economy']))\n", + "print('\\nNATION:\\n'+'\\n'.join(w['nation']))\n", + "print('\\nPERSON:\\n'+'\\n'.join(w['person']))" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "---\n\n\n**Aviso legal**:\nEste documento ha sido traducido utilizando el servicio de traducción AI [Co-op Translator](https://github.com/Azure/co-op-translator). Aunque nos esforzamos por la precisión, tenga en cuenta que las traducciones automáticas pueden contener errores o imprecisiones. El documento original en su idioma nativo debe considerarse la fuente autorizada. Para información crítica, se recomienda la traducción profesional realizada por humanos. No nos hacemos responsables de ningún malentendido o interpretación errónea derivada del uso de esta traducción.\n\n" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3.7.4 64-bit (conda)", + "metadata": { + "interpreter": { + "hash": "86193a1ab0ba47eac1c69c1756090baa3b420b3eea7d4aafab8b85f8b312f0c5" + } + }, + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.9.5" + } + }, + "nbformat": 4, + "nbformat_minor": 2 } \ No newline at end of file diff --git a/translations/fr/.co-op-translator.json b/translations/fr/.co-op-translator.json index 7264af24..8b0328a2 100644 --- a/translations/fr/.co-op-translator.json +++ b/translations/fr/.co-op-translator.json @@ -6,8 +6,8 @@ "language_code": "fr" }, "README.md": { - "original_hash": "75fe3383afc51eaa84b82ace619ffea7", - "translation_date": "2026-02-06T07:13:51+00:00", + "original_hash": "9eaca839b0b3f6d7f0a195fd33cebd30", + "translation_date": "2026-02-28T08:15:36+00:00", "source_file": "README.md", "language_code": "fr" }, @@ -89,6 +89,12 @@ "source_file": "lessons/1-Intro/assignment.md", "language_code": "fr" }, + "lessons/2-Symbolic/MSConceptGraph.ipynb": { + "original_hash": "e5690bbc6e5119a96a8172ec7261db67", + "translation_date": "2026-02-28T08:13:38+00:00", + "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", + "language_code": "fr" + }, "lessons/2-Symbolic/README.md": { "original_hash": "f9f06b266b8b2bfc6b8792ff2bb1bea4", "translation_date": "2026-01-15T10:43:40+00:00", diff --git a/translations/fr/README.md b/translations/fr/README.md index 9c46aaf7..5d5e4173 100644 --- a/translations/fr/README.md +++ b/translations/fr/README.md @@ -18,28 +18,37 @@ |:---:| | AI For Beginners - _Sketchnote par [@girlie_mac](https://twitter.com/girlie_mac)_ | -Explorez le monde de l'**Intelligence Artificielle** (IA) avec notre programme de 12 semaines et 24 leçons ! Il comprend des leçons pratiques, des quiz et des laboratoires. Le programme est adapté aux débutants et couvre des outils comme TensorFlow et PyTorch, ainsi que l'éthique en IA. - +Explorez le monde de **l'Intelligence Artificielle** (IA) avec notre programme de 12 semaines et 24 leçons ! Il comprend des leçons pratiques, des quiz et des laboratoires. Le programme est adapté aux débutants et couvre des outils comme TensorFlow et PyTorch, ainsi que l'éthique en IA. ### 🌐 Support Multilingue #### Pris en charge via GitHub Action (Automatisé & Toujours à Jour) -[Arabe](../ar/README.md) | [Bengali](../bn/README.md) | [Bulgare](../bg/README.md) | [Birman (Myanmar)](../my/README.md) | [Chinois (Simplifié)](../zh-CN/README.md) | [Chinois (Traditionnel, Hong Kong)](../zh-HK/README.md) | [Chinois (Traditionnel, Macau)](../zh-MO/README.md) | [Chinois (Traditionnel, Taïwan)](../zh-TW/README.md) | [Croate](../hr/README.md) | [Tchèque](../cs/README.md) | [Danois](../da/README.md) | [Néerlandais](../nl/README.md) | [Estonien](../et/README.md) | [Finnois](../fi/README.md) | [Français](./README.md) | [Allemand](../de/README.md) | [Grec](../el/README.md) | [Hébreu](../he/README.md) | [Hindi](../hi/README.md) | [Hongrois](../hu/README.md) | [Indonésien](../id/README.md) | [Italien](../it/README.md) | [Japonais](../ja/README.md) | [Kannada](../kn/README.md) | [Coréen](../ko/README.md) | [Lituanien](../lt/README.md) | [Malais](../ms/README.md) | [Malayalam](../ml/README.md) | [Marathi](../mr/README.md) | [Népalais](../ne/README.md) | [Pidgin Nigérian](../pcm/README.md) | [Norvégien](../no/README.md) | [Persan (Farsi)](../fa/README.md) | [Polonais](../pl/README.md) | [Portugais (Brésil)](../pt-BR/README.md) | [Portugais (Portugal)](../pt-PT/README.md) | [Pendjabi (Gurmukhi)](../pa/README.md) | [Roumain](../ro/README.md) | [Russe](../ru/README.md) | [Serbe (Cyrillique)](../sr/README.md) | [Slovaque](../sk/README.md) | [Slovène](../sl/README.md) | [Espagnol](../es/README.md) | [Swahili](../sw/README.md) | [Suédois](../sv/README.md) | [Tagalog (Filipino)](../tl/README.md) | [Tamoul](../ta/README.md) | [Télougou](../te/README.md) | [Thaï](../th/README.md) | [Turc](../tr/README.md) | [Ukrainien](../uk/README.md) | [Ourdou](../ur/README.md) | [Vietnamien](../vi/README.md) +[Arabe](../ar/README.md) | [Bengali](../bn/README.md) | [Bulgare](../bg/README.md) | [Birman (Myanmar)](../my/README.md) | [Chinois (Simplifié)](../zh-CN/README.md) | [Chinois (Traditionnel, Hong Kong)](../zh-HK/README.md) | [Chinois (Traditionnel, Macao)](../zh-MO/README.md) | [Chinois (Traditionnel, Taiwan)](../zh-TW/README.md) | [Croate](../hr/README.md) | [Tchèque](../cs/README.md) | [Danois](../da/README.md) | [Néerlandais](../nl/README.md) | [Estonien](../et/README.md) | [Finnois](../fi/README.md) | [Français](./README.md) | [Allemand](../de/README.md) | [Grec](../el/README.md) | [Hébreu](../he/README.md) | [Hindi](../hi/README.md) | [Hongrois](../hu/README.md) | [Indonésien](../id/README.md) | [Italien](../it/README.md) | [Japonais](../ja/README.md) | [Kannada](../kn/README.md) | [Coréen](../ko/README.md) | [Lituanien](../lt/README.md) | [Malais](../ms/README.md) | [Malayalam](../ml/README.md) | [Marathi](../mr/README.md) | [Népalais](../ne/README.md) | [Pidgin Nigeria](../pcm/README.md) | [Norvégien](../no/README.md) | [Persan (Farsi)](../fa/README.md) | [Polonais](../pl/README.md) | [Portugais (Brésil)](../pt-BR/README.md) | [Portugais (Portugal)](../pt-PT/README.md) | [Pendjabi (Gurmukhi)](../pa/README.md) | [Roumain](../ro/README.md) | [Russe](../ru/README.md) | [Serbe (Cyrillique)](../sr/README.md) | [Slovaque](../sk/README.md) | [Slovène](../sl/README.md) | [Espagnol](../es/README.md) | [Swahili](../sw/README.md) | [Suédois](../sv/README.md) | [Tagalog (Philippin)](../tl/README.md) | [Tamoul](../ta/README.md) | [Telugu](../te/README.md) | [Thaï](../th/README.md) | [Turc](../tr/README.md) | [Ukrainien](../uk/README.md) | [Urdu](../ur/README.md) | [Vietnamien](../vi/README.md) -> **Préférez cloner localement ?** - -> Ce dépôt inclut plus de 50 traductions, ce qui augmente considérablement la taille du téléchargement. Pour cloner sans les traductions, utilisez le checkout partiel : +> **Vous préférez cloner localement ?** +> +> Ce dépôt inclut plus de 50 traductions, ce qui augmente significativement la taille du téléchargement. Pour cloner sans les traductions, utilisez le sparse checkout : +> +> **Bash / macOS / Linux :** > ```bash > git clone --filter=blob:none --sparse https://github.com/microsoft/AI-For-Beginners.git > cd AI-For-Beginners > git sparse-checkout set --no-cone '/*' '!translations' '!translated_images' > ``` -> Cela vous donne tout ce dont vous avez besoin pour suivre le cours avec un téléchargement bien plus rapide. +> +> **CMD (Windows) :** +> ```cmd +> git clone --filter=blob:none --sparse https://github.com/microsoft/AI-For-Beginners.git +> cd AI-For-Beginners +> git sparse-checkout set --no-cone "/*" "!translations" "!translated_images" +> ``` +> +> Cela vous donne tout ce dont vous avez besoin pour compléter le cours avec un téléchargement beaucoup plus rapide. -**Si vous souhaitez disposer de langues de traduction supplémentaires, elles sont listées [ici](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md)** +**Si vous souhaitez que d'autres langues de traduction soient ajoutées, les langues prises en charge sont listées [ici](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md)** ## Rejoignez la Communauté [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) @@ -50,169 +59,169 @@ Explorez le monde de l'**Intelligence Artificielle** (IA) avec notre programme d Dans ce programme, vous apprendrez : -* Différentes approches de l'Intelligence Artificielle, y compris l'approche symbolique « classique » avec la **Représentation des Connaissances** et le raisonnement ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). -* Les **Réseaux de Neurones** et le **Deep Learning**, qui sont au cœur de l'IA moderne. Nous illustrerons les concepts derrière ces sujets importants à l'aide de code dans deux des frameworks les plus populaires - [TensorFlow](http://Tensorflow.org) et [PyTorch](http://pytorch.org). -* Les **Architectures Neurales** pour travailler avec les images et le texte. Nous couvrirons des modèles récents mais qui peuvent être un peu en retard sur l'état de l'art. -* Des approches moins populaires de l'IA, telles que les **Algorithmes Génétiques** et les **Systèmes Multi-Agents**. +* Différentes approches de l'intelligence artificielle, y compris l'approche symbolique "classique" avec la **représentation des connaissances** et le raisonnement ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). +* Les **réseaux de neurones** et **l'apprentissage profond**, qui sont au cœur de l'IA moderne. Nous illustrerons les concepts derrière ces sujets importants en codant dans deux des frameworks les plus populaires - [TensorFlow](http://Tensorflow.org) et [PyTorch](http://pytorch.org). +* Les **architectures neuronales** pour travailler avec les images et le texte. Nous couvrirons les modèles récents, même si cela peut manquer un peu des dernières avancées. +* Les approches IA moins populaires, comme les **algorithmes génétiques** et les **systèmes multi-agents**. Ce que nous ne couvrirons pas dans ce programme : > [Trouvez toutes les ressources supplémentaires pour ce cours dans notre collection Microsoft Learn](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) -* Les cas d'utilisation de l'**IA en entreprise**. Envisagez de suivre le parcours d’apprentissage [Introduction à l’IA pour les utilisateurs métier](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) sur Microsoft Learn, ou [AI Business School](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), développé en coopération avec [INSEAD](https://www.insead.edu/). -* Le **Machine Learning Classique**, bien décrit dans notre [programme Machine Learning pour Débutants](http://github.com/Microsoft/ML-for-Beginners). -* Des applications pratiques d’IA construites avec les **[Cognitive Services](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)**. Pour cela, nous recommandons de commencer par des modules Microsoft Learn pour la [vision](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), le [traitement du langage naturel](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[l’IA Générative avec Azure OpenAI Service](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** et autres. -* Des **Frameworks Cloud** spécifiques de ML, tels que [Azure Machine Learning](https://azure.microsoft.com/services/machine-learning/?WT.mc_id=academic-77998-bethanycheum), [Microsoft Fabric](https://learn.microsoft.com/en-us/training/paths/get-started-fabric/?WT.mc_id=academic-77998-bethanycheum), ou [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). Envisagez d’utiliser les parcours d’apprentissage [Construire et exploiter des solutions de machine learning avec Azure Machine Learning](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) et [Construire et exploiter des solutions de machine learning avec Azure Databricks](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum). -* L’**IA conversationnelle** et les **Chat Bots**. Il existe un parcours d’apprentissage séparé [Créer des solutions d'IA conversationnelle](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum), vous pouvez également consulter [cet article de blog](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/) pour plus de détails. -* Les **Mathématiques Avancées** du deep learning. Pour cela, nous recommandons [Deep Learning](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) de Ian Goodfellow, Yoshua Bengio et Aaron Courville, également disponible en ligne sur [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/). +* Les cas d'utilisation de l’**IA en entreprise**. Envisagez de suivre le parcours d’apprentissage [Introduction à l’IA pour les utilisateurs métier](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) sur Microsoft Learn, ou [AI Business School](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), développé en coopération avec [INSEAD](https://www.insead.edu/). +* Le **Machine Learning classique**, bien décrit dans notre programme [Machine Learning for Beginners](http://github.com/Microsoft/ML-for-Beginners). +* Les applications pratiques d’IA construites en utilisant les **[Services cognitifs](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)**. Pour cela, nous recommandons de commencer par les modules Microsoft Learn pour la [vision](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), le [traitement du langage naturel](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[IA générative avec Azure OpenAI Service](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** et autres. +* Les **frameworks cloud spécifiques au ML**, tels que [Azure Machine Learning](https://azure.microsoft.com/services/machine-learning/?WT.mc_id=academic-77998-bethanycheum), [Microsoft Fabric](https://learn.microsoft.com/en-us/training/paths/get-started-fabric/?WT.mc_id=academic-77998-bethanycheum) ou [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). Envisagez d’utiliser les parcours [Créer et exploiter des solutions de ML avec Azure Machine Learning](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) et [Créer et exploiter des solutions ML avec Azure Databricks](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum). +* L’**IA conversationnelle** et les **chatbots**. Il existe un parcours d’apprentissage séparé [Créer des solutions d’IA conversationnelle](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum), et vous pouvez aussi consulter [cet article de blog](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/) pour plus de détails. +* Les **mathématiques approfondies** derrière l'apprentissage profond. Pour cela, nous recommandons [Deep Learning](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) d’Ian Goodfellow, Yoshua Bengio et Aaron Courville, disponible également en ligne sur [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/). -Pour une introduction douce aux sujets _IA dans le Cloud_, vous pouvez envisager de suivre le parcours d’apprentissage [Commencer avec l’intelligence artificielle sur Azure](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum). +Pour une introduction en douceur aux thèmes de _l'IA dans le cloud_, vous pouvez envisager de suivre le parcours d’apprentissage [Commencer avec l’intelligence artificielle sur Azure](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum). # Contenu -| | Lien vers la Leçon | PyTorch/Keras/TensorFlow | Laboratoire | -| :-: | :--------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------ | -| 0 | [Installation du cours](./lessons/0-course-setup/setup.md) | [Configurer votre environnement de développement](./lessons/0-course-setup/how-to-run.md) | | -| I | [**Introduction à l’IA**](./lessons/1-Intro/README.md) | | | -| 01 | [Introduction et histoire de l’IA](./lessons/1-Intro/README.md) | - | - | +| | Lien de la Leçon | PyTorch/Keras/TensorFlow | Laboratoire | +| :-: | :------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------ | +| 0 | [Configuration du cours](./lessons/0-course-setup/setup.md) | [Configurez votre environnement de développement](./lessons/0-course-setup/how-to-run.md) | | +| I | [**Introduction à l'IA**](./lessons/1-Intro/README.md) | | | +| 01 | [Introduction et histoire de l'IA](./lessons/1-Intro/README.md) | - | - | | II | **IA Symbolique** | -| 02 | [Représentation des connaissances et systèmes experts](./lessons/2-Symbolic/README.md) | [Systèmes Experts](./lessons/2-Symbolic/Animals.ipynb) / [Ontologie](./lessons/2-Symbolic/FamilyOntology.ipynb) /[Graphe de Concepts](./lessons/2-Symbolic/MSConceptGraph.ipynb) | | -| III | [**Introduction aux réseaux de neurones**](./lessons/3-NeuralNetworks/README.md) ||| +| 02 | [Représentation des Connaissances et Systèmes Experts](./lessons/2-Symbolic/README.md) | [Systèmes Experts](./lessons/2-Symbolic/Animals.ipynb) / [Ontologie](./lessons/2-Symbolic/FamilyOntology.ipynb) /[Graphe de Concepts](./lessons/2-Symbolic/MSConceptGraph.ipynb) | | +| III | [**Introduction aux Réseaux Neuronaux**](./lessons/3-NeuralNetworks/README.md) ||| | 03 | [Perceptron](./lessons/3-NeuralNetworks/03-Perceptron/README.md) | [Notebook](./lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb) | [Lab](./lessons/3-NeuralNetworks/03-Perceptron/lab/README.md) | -| 04 | [Perceptron multicouche et création de notre propre framework](./lessons/3-NeuralNetworks/04-OwnFramework/README.md) | [Notebook](./lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb) | [Lab](./lessons/3-NeuralNetworks/04-OwnFramework/lab/README.md) | -| 05 | [Introduction aux frameworks (PyTorch/TensorFlow) et surapprentissage](./lessons/3-NeuralNetworks/05-Frameworks/README.md) | [PyTorch](./lessons/3-NeuralNetworks/05-Frameworks/IntroPyTorch.ipynb) / [Keras](./lessons/3-NeuralNetworks/05-Frameworks/IntroKeras.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Lab](./lessons/3-NeuralNetworks/05-Frameworks/lab/README.md) | -| IV | [**Vision par ordinateur**](./lessons/4-ComputerVision/README.md) | [PyTorch](https://docs.microsoft.com/learn/modules/intro-computer-vision-pytorch/?WT.mc_id=academic-77998-cacaste) / [TensorFlow](https://docs.microsoft.com/learn/modules/intro-computer-vision-TensorFlow/?WT.mc_id=academic-77998-cacaste)| [Explorez la vision par ordinateur sur Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) | -| 06 | [Introduction à la vision par ordinateur. OpenCV](./lessons/4-ComputerVision/06-IntroCV/README.md) | [Notebook](./lessons/4-ComputerVision/06-IntroCV/OpenCV.ipynb) | [Lab](./lessons/4-ComputerVision/06-IntroCV/lab/README.md) | -| 07 | [Réseaux de neurones convolutionnels](./lessons/4-ComputerVision/07-ConvNets/README.md) & [Architectures CNN](./lessons/4-ComputerVision/07-ConvNets/CNN_Architectures.md) | [PyTorch](./lessons/4-ComputerVision/07-ConvNets/ConvNetsPyTorch.ipynb) /[TensorFlow](./lessons/4-ComputerVision/07-ConvNets/ConvNetsTF.ipynb) | [Lab](./lessons/4-ComputerVision/07-ConvNets/lab/README.md) | -| 08 | [Réseaux pré-entraînés et apprentissage par transfert](./lessons/4-ComputerVision/08-TransferLearning/README.md) et [Astuces d'entraînement](./lessons/4-ComputerVision/08-TransferLearning/TrainingTricks.md) | [PyTorch](./lessons/4-ComputerVision/08-TransferLearning/TransferLearningPyTorch.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Lab](./lessons/4-ComputerVision/08-TransferLearning/lab/README.md) | -| 09 | [Autoencodeurs et VAEs](./lessons/4-ComputerVision/09-Autoencoders/README.md) | [PyTorch](./lessons/4-ComputerVision/09-Autoencoders/AutoEncodersPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/09-Autoencoders/AutoencodersTF.ipynb) | | -| 10 | [Réseaux antagonistes génératifs & transfert de style artistique](./lessons/4-ComputerVision/10-GANs/README.md) | [PyTorch](./lessons/4-ComputerVision/10-GANs/GANPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/10-GANs/GANTF.ipynb) | | -| 11 | [Détection d'objets](./lessons/4-ComputerVision/11-ObjectDetection/README.md) | [TensorFlow](./lessons/4-ComputerVision/11-ObjectDetection/ObjectDetection.ipynb) | [Lab](./lessons/4-ComputerVision/11-ObjectDetection/lab/README.md) | -| 12 | [Segmentation sémantique. U-Net](./lessons/4-ComputerVision/12-Segmentation/README.md) | [PyTorch](./lessons/4-ComputerVision/12-Segmentation/SemanticSegmentationPytorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/12-Segmentation/SemanticSegmentationTF.ipynb) | | -| V | [**Traitement du langage naturel**](./lessons/5-NLP/README.md) | [PyTorch](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-pytorch/?WT.mc_id=academic-77998-cacaste) /[TensorFlow](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-TensorFlow/?WT.mc_id=academic-77998-cacaste) | [Explorez le traitement du langage naturel sur Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| -| 13 | [Représentation du texte. Bow/TF-IDF](./lessons/5-NLP/13-TextRep/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationTF.ipynb) | | -| 14 | [Embeddings sémantiques. Word2Vec et GloVe](./lessons/5-NLP/14-Embeddings/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsTF.ipynb) | | -| 15 | [Modélisation du langage. Entraîner vos propres embeddings](./lessons/5-NLP/15-LanguageModeling/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-PyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-TF.ipynb) | [Lab](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | -| 16 | [Réseaux neuronaux récurrents](./lessons/5-NLP/16-RNN/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNTF.ipynb) | | -| 17 | [Réseaux récurrents génératifs](./lessons/5-NLP/17-GenerativeNetworks/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativePyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativeTF.ipynb) | [Lab](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | +| 04 | [Perceptron Multicouche et Création de notre propre Framework](./lessons/3-NeuralNetworks/04-OwnFramework/README.md) | [Notebook](./lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb) | [Lab](./lessons/3-NeuralNetworks/04-OwnFramework/lab/README.md) | +| 05 | [Introduction aux Frameworks (PyTorch/TensorFlow) et Sur-apprentissage](./lessons/3-NeuralNetworks/05-Frameworks/README.md) | [PyTorch](./lessons/3-NeuralNetworks/05-Frameworks/IntroPyTorch.ipynb) / [Keras](./lessons/3-NeuralNetworks/05-Frameworks/IntroKeras.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Lab](./lessons/3-NeuralNetworks/05-Frameworks/lab/README.md) | +| IV | [**Vision par Ordinateur**](./lessons/4-ComputerVision/README.md) | [PyTorch](https://docs.microsoft.com/learn/modules/intro-computer-vision-pytorch/?WT.mc_id=academic-77998-cacaste) / [TensorFlow](https://docs.microsoft.com/learn/modules/intro-computer-vision-TensorFlow/?WT.mc_id=academic-77998-cacaste)| [Explorez la Vision par Ordinateur sur Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) | +| 06 | [Introduction à la Vision par Ordinateur. OpenCV](./lessons/4-ComputerVision/06-IntroCV/README.md) | [Notebook](./lessons/4-ComputerVision/06-IntroCV/OpenCV.ipynb) | [Lab](./lessons/4-ComputerVision/06-IntroCV/lab/README.md) | +| 07 | [Réseaux Neuronaux Convolutifs](./lessons/4-ComputerVision/07-ConvNets/README.md) & [Architectures CNN](./lessons/4-ComputerVision/07-ConvNets/CNN_Architectures.md) | [PyTorch](./lessons/4-ComputerVision/07-ConvNets/ConvNetsPyTorch.ipynb) /[TensorFlow](./lessons/4-ComputerVision/07-ConvNets/ConvNetsTF.ipynb) | [Lab](./lessons/4-ComputerVision/07-ConvNets/lab/README.md) | +| 08 | [Réseaux Pré-entraînés et Apprentissage par Transfert](./lessons/4-ComputerVision/08-TransferLearning/README.md) et [Astuces d'Entraînement](./lessons/4-ComputerVision/08-TransferLearning/TrainingTricks.md) | [PyTorch](./lessons/4-ComputerVision/08-TransferLearning/TransferLearningPyTorch.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Lab](./lessons/4-ComputerVision/08-TransferLearning/lab/README.md) | +| 09 | [Autoencodeurs et VAE](./lessons/4-ComputerVision/09-Autoencoders/README.md) | [PyTorch](./lessons/4-ComputerVision/09-Autoencoders/AutoEncodersPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/09-Autoencoders/AutoencodersTF.ipynb) | | +| 10 | [Réseaux Adverses Génératifs & Transfert de Style Artistique](./lessons/4-ComputerVision/10-GANs/README.md) | [PyTorch](./lessons/4-ComputerVision/10-GANs/GANPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/10-GANs/GANTF.ipynb) | | +| 11 | [Détection d'Objets](./lessons/4-ComputerVision/11-ObjectDetection/README.md) | [TensorFlow](./lessons/4-ComputerVision/11-ObjectDetection/ObjectDetection.ipynb) | [Lab](./lessons/4-ComputerVision/11-ObjectDetection/lab/README.md) | +| 12 | [Segmentation Sémantique. U-Net](./lessons/4-ComputerVision/12-Segmentation/README.md) | [PyTorch](./lessons/4-ComputerVision/12-Segmentation/SemanticSegmentationPytorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/12-Segmentation/SemanticSegmentationTF.ipynb) | | +| V | [**Traitement du Langage Naturel**](./lessons/5-NLP/README.md) | [PyTorch](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-pytorch/?WT.mc_id=academic-77998-cacaste) /[TensorFlow](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-TensorFlow/?WT.mc_id=academic-77998-cacaste) | [Explorez le Traitement du Langage Naturel sur Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| +| 13 | [Représentation de texte. Bow/TF-IDF](./lessons/5-NLP/13-TextRep/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationTF.ipynb) | | +| 14 | [Incorporations sémantiques de mots. Word2Vec et GloVe](./lessons/5-NLP/14-Embeddings/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsTF.ipynb) | | +| 15 | [Modélisation du Langage. Entraîner ses propres embeddings](./lessons/5-NLP/15-LanguageModeling/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-PyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-TF.ipynb) | [Lab](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | +| 16 | [Réseaux Neuronaux Récurrents](./lessons/5-NLP/16-RNN/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNPyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNTF.ipynb) | | +| 17 | [Réseaux Récurrents Génératifs](./lessons/5-NLP/17-GenerativeNetworks/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativePyTorch.ipynb) / [TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativeTF.ipynb) | [Lab](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | | 18 | [Transformers. BERT.](./lessons/5-NLP/18-Transformers/README.md) | [PyTorch](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/18-Transformers/TransformersPyTorch.ipynb) /[TensorFlow](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/18-Transformers/TransformersTF.ipynb) | | -| 19 | [Reconnaissance d'entités nommées](./lessons/5-NLP/19-NER/README.md) | [TensorFlow](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [Lab](./lessons/5-NLP/19-NER/lab/README.md) | -| 20 | [Grands modèles de langage, programmation par prompt et tâches few-shot](./lessons/5-NLP/20-LangModels/README.md) | [PyTorch](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/20-LangModels/GPT-PyTorch.ipynb) | | -| VI | **Autres techniques d'IA** || | -| 21 | [Algorithmes génétiques](./lessons/6-Other/21-GeneticAlgorithms/README.md) | [Notebook](./lessons/6-Other/21-GeneticAlgorithms/Genetic.ipynb) | | -| 22 | [Apprentissage par renforcement profond](./lessons/6-Other/22-DeepRL/README.md) | [PyTorch](./lessons/6-Other/22-DeepRL/CartPole-RL-PyTorch.ipynb) /[TensorFlow](./lessons/6-Other/22-DeepRL/CartPole-RL-TF.ipynb) | [Lab](./lessons/6-Other/22-DeepRL/lab/README.md) | -| 23 | [Systèmes multi-agents](./lessons/6-Other/23-MultiagentSystems/README.md) | | | +| 19 | [Reconnaissance d'Entités Nommées](./lessons/5-NLP/19-NER/README.md) | [TensorFlow](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [Lab](./lessons/5-NLP/19-NER/lab/README.md) | +| 20 | [Grands Modèles de Langage, Programmation par Prompts et Tâches Few-Shot](./lessons/5-NLP/20-LangModels/README.md) | [PyTorch](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/20-LangModels/GPT-PyTorch.ipynb) | | +| VI | **Autres Techniques d'IA** || | +| 21 | [Algorithmes Génétiques](./lessons/6-Other/21-GeneticAlgorithms/README.md) | [Notebook](./lessons/6-Other/21-GeneticAlgorithms/Genetic.ipynb) | | +| 22 | [Apprentissage par Renforcement Profond](./lessons/6-Other/22-DeepRL/README.md) | [PyTorch](./lessons/6-Other/22-DeepRL/CartPole-RL-PyTorch.ipynb) /[TensorFlow](./lessons/6-Other/22-DeepRL/CartPole-RL-TF.ipynb) | [Lab](./lessons/6-Other/22-DeepRL/lab/README.md) | +| 23 | [Systèmes Multi-Agents](./lessons/6-Other/23-MultiagentSystems/README.md) | | | | VII | **Éthique de l'IA** | | | -| 24 | [Éthique de l'IA et IA responsable](./lessons/7-Ethics/README.md) | [Microsoft Learn : Principes d'IA responsable](https://docs.microsoft.com/learn/paths/responsible-ai-business-principles/?WT.mc_id=academic-77998-cacaste) | | -| IX | **Suppléments** | | | -| 25 | [Réseaux multi-modaux, CLIP et VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [Notebook](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | +| 24 | [Éthique de l'IA et IA Responsable](./lessons/7-Ethics/README.md) | [Microsoft Learn : Principes de l'IA Responsable](https://docs.microsoft.com/learn/paths/responsible-ai-business-principles/?WT.mc_id=academic-77998-cacaste) | | +| IX | **Extras** | | | +| 25 | [Réseaux Multi-Modaux, CLIP et VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [Notebook](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | ## Chaque leçon contient +* Matériel de pré-lecture +* Carnets Jupyter exécutables, souvent spécifiques au framework (**PyTorch** ou **TensorFlow**). Le carnet exécutable contient également beaucoup de matériel théorique, donc pour comprendre le sujet, vous devez parcourir au moins une version du carnet (soit PyTorch, soit TensorFlow). +* **Laboratoires** disponibles pour certains sujets, qui vous donnent l'occasion d'essayer d'appliquer le matériel que vous avez appris à un problème spécifique. +* Certaines sections contiennent des liens vers des modules [**MS Learn**](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) qui couvrent des sujets connexes. -* Du matériel de pré-lecture -* Des notebooks Jupyter exécutables, souvent spécifiques au framework (**PyTorch** ou **TensorFlow**). Le notebook exécutable contient également beaucoup de matériel théorique, donc pour comprendre le sujet, vous devez parcourir au moins une version du notebook (soit PyTorch soit TensorFlow). -* Des **labs** disponibles pour certains sujets, qui vous donnent l’opportunité d’essayer d’appliquer le matériel appris à un problème spécifique. -* Certaines sections contiennent des liens vers des modules [**MS Learn**](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) qui couvrent des sujets associés. - -## Pour commencer +## Commencer ### 🎯 Nouveau en IA ? Commencez ici ! -Si vous débutez complètement en IA et souhaitez des exemples rapides et pratiques, consultez nos [**Exemples pour débutants**](./examples/README.md) ! Ceux-ci incluent : +Si vous êtes complètement novice en IA et souhaitez des exemples rapides et pratiques, consultez nos [**Exemples adaptés aux débutants**](./examples/README.md) ! Ceux-ci incluent : -- 🌟 **Hello AI World** - Votre premier programme d’IA (reconnaissance de motifs) -- 🧠 **Réseau neuronal simple** - Construire un réseau neuronal à partir de zéro +- 🌟 **Hello AI World** - Votre premier programme d'IA (reconnaissance de motifs) +- 🧠 **Réseau de neurones simple** - Construisez un réseau de neurones à partir de zéro - 🖼️ **Classificateur d'images** - Classifiez des images avec des commentaires détaillés -- 💬 **Sentiment du texte** - Analysez un texte positif/négatif +- 💬 **Analyse du sentiment du texte** - Analysez les textes positifs/négatifs -Ces exemples sont conçus pour vous aider à comprendre les concepts d'IA avant de plonger dans le programme complet. +Ces exemples sont conçus pour vous aider à comprendre les concepts de l'IA avant de plonger dans le programme complet. -### 📚 Configuration du programme complet +### 📚 Configuration du programme complet -- Nous avons créé une [leçon d'installation](./lessons/0-course-setup/setup.md) pour vous aider à configurer votre environnement de développement. - Pour les enseignants, nous avons aussi créé une [leçon d'installation du programme](./lessons/0-course-setup/for-teachers.md) pour vous ! +- Nous avons créé une [leçon d'installation](./lessons/0-course-setup/setup.md) pour vous aider à configurer votre environnement de développement. +- Pour les éducateurs, nous avons également créé une [leçon de configuration du programme](./lessons/0-course-setup/for-teachers.md) ! - Comment [exécuter le code dans VSCode ou un Codespace](./lessons/0-course-setup/how-to-run.md) -Suivez ces étapes : +Suivez ces étapes : -Forkez le dépôt : Cliquez sur le bouton "Fork" en haut à droite de cette page. +Forker le dépôt : cliquez sur le bouton "Fork" en haut à droite de cette page. -Clonez le dépôt : `git clone https://github.com/microsoft/AI-For-Beginners.git` +Cloner le dépôt : `git clone https://github.com/microsoft/AI-For-Beginners.git` -N'oubliez pas d'ajouter une étoile (🌟) à ce repo pour le retrouver plus facilement plus tard. +N'oubliez pas de mettre une étoile (🌟) à ce dépôt pour le retrouver plus facilement plus tard. -## Rencontrez d'autres apprenants +## Rencontrez d'autres apprenants -Rejoignez notre [serveur Discord officiel AI](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum) pour rencontrer et réseauter avec d'autres apprenants suivant ce cours et obtenir du support. +Rejoignez notre [serveur Discord officiel AI](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum) pour rencontrer et réseauter avec d'autres apprenants suivant ce cours et obtenir de l'aide. -Si vous avez des retours sur le produit ou des questions pendant votre développement, visitez notre [forum développeur Azure AI Foundry](https://aka.ms/foundry/forum) +Si vous avez des retours produit ou des questions pendant votre apprentissage, visitez notre [Forum développeurs Azure AI Foundry](https://aka.ms/foundry/forum) -## Quiz +## Quiz -> **Une note à propos des quiz** : Tous les quiz se trouvent dans le dossier Quiz-app dans etc\quiz-app, ou [en ligne ici](https://ff-quizzes.netlify.app/) Ils sont liés depuis les leçons, l'application de quiz peut être exécutée localement ou déployée sur Azure ; suivez les instructions dans le dossier `quiz-app`. Ils sont progressivement localisés. +> **Une note au sujet des quiz** : Tous les quiz se trouvent dans le dossier Quiz-app dans etc\quiz-app, ou [en ligne ici](https://ff-quizzes.netlify.app/) Ils sont liés depuis les leçons, l'application quiz peut être exécutée localement ou déployée sur Azure ; suivez les instructions dans le dossier `quiz-app`. Ils sont progressivement localisés. -## Aide demandée +## Appel à contribution -Avez-vous des suggestions ou avez-vous trouvé des fautes d'orthographe ou des erreurs de code ? Ouvrez un ticket ou créez une demande de tirage. +Avez-vous des suggestions ou avez-vous trouvé des fautes d’orthographe ou des erreurs dans le code ? Ouvrez une issue ou créez une pull request. -## Remerciements particuliers +## Remerciements particuliers -* **✍️ Auteur principal :** [Dmitry Soshnikov](http://soshnikov.com), PhD -* **🔥 Éditeur :** [Jen Looper](https://twitter.com/jenlooper), PhD -* **🎨 Illustrateur Sketchnote :** [Tomomi Imura](https://twitter.com/girlie_mac) -* **✅ Créateur de quiz :** [Lateefah Bello](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) -* **🙏 Contributeurs principaux :** [Evgenii Pishchik](https://github.com/Pe4enIks) +* **✍️ Auteur principal:** [Dmitry Soshnikov](http://soshnikov.com), PhD +* **🔥 Éditeur:** [Jen Looper](https://twitter.com/jenlooper), PhD +* **🎨 Illustratrice Sketchnote:** [Tomomi Imura](https://twitter.com/girlie_mac) +* **✅ Créateurs de quiz:** [Lateefah Bello](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) +* **🙏 Contributeurs principaux:** [Evgenii Pishchik](https://github.com/Pe4enIks) -## Autres programmes +## Autres programmes -Notre équipe produit d'autres programmes ! Découvrez : +Notre équipe produit d'autres programmes ! Découvrez : - -### LangChain -[![LangChain4j for Beginners](https://img.shields.io/badge/LangChain4j%20for%20Beginners-22C55E?style=for-the-badge&&labelColor=E5E7EB&color=0553D6)](https://aka.ms/langchain4j-for-beginners) -[![LangChain.js for Beginners](https://img.shields.io/badge/LangChain.js%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=0553D6)](https://aka.ms/langchainjs-for-beginners?WT.mc_id=m365-94501-dwahlin) -[![LangChain for Beginners](https://img.shields.io/badge/LangChain%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=0553D6)](https://github.com/microsoft/langchain-for-beginners?WT.mc_id=m365-94501-dwahlin) ---- + +### LangChain +[![LangChain4j for Beginners](https://img.shields.io/badge/LangChain4j%20for%20Beginners-22C55E?style=for-the-badge&&labelColor=E5E7EB&color=0553D6)](https://aka.ms/langchain4j-for-beginners) +[![LangChain.js for Beginners](https://img.shields.io/badge/LangChain.js%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=0553D6)](https://aka.ms/langchainjs-for-beginners?WT.mc_id=m365-94501-dwahlin) +[![LangChain for Beginners](https://img.shields.io/badge/LangChain%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=0553D6)](https://github.com/microsoft/langchain-for-beginners?WT.mc_id=m365-94501-dwahlin) +--- -### Azure / Edge / MCP / Agents -[![AZD for Beginners](https://img.shields.io/badge/AZD%20for%20Beginners-0078D4?style=for-the-badge&labelColor=E5E7EB&color=0078D4)](https://github.com/microsoft/AZD-for-beginners?WT.mc_id=academic-105485-koreyst) -[![Edge AI for Beginners](https://img.shields.io/badge/Edge%20AI%20for%20Beginners-00B8E4?style=for-the-badge&labelColor=E5E7EB&color=00B8E4)](https://github.com/microsoft/edgeai-for-beginners?WT.mc_id=academic-105485-koreyst) -[![MCP for Beginners](https://img.shields.io/badge/MCP%20for%20Beginners-009688?style=for-the-badge&labelColor=E5E7EB&color=009688)](https://github.com/microsoft/mcp-for-beginners?WT.mc_id=academic-105485-koreyst) -[![AI Agents for Beginners](https://img.shields.io/badge/AI%20Agents%20for%20Beginners-00C49A?style=for-the-badge&labelColor=E5E7EB&color=00C49A)](https://github.com/microsoft/ai-agents-for-beginners?WT.mc_id=academic-105485-koreyst) +### Azure / Edge / MCP / Agents +[![AZD for Beginners](https://img.shields.io/badge/AZD%20for%20Beginners-0078D4?style=for-the-badge&labelColor=E5E7EB&color=0078D4)](https://github.com/microsoft/AZD-for-beginners?WT.mc_id=academic-105485-koreyst) +[![Edge AI for Beginners](https://img.shields.io/badge/Edge%20AI%20for%20Beginners-00B8E4?style=for-the-badge&labelColor=E5E7EB&color=00B8E4)](https://github.com/microsoft/edgeai-for-beginners?WT.mc_id=academic-105485-koreyst) +[![MCP for Beginners](https://img.shields.io/badge/MCP%20for%20Beginners-009688?style=for-the-badge&labelColor=E5E7EB&color=009688)](https://github.com/microsoft/mcp-for-beginners?WT.mc_id=academic-105485-koreyst) +[![AI Agents for Beginners](https://img.shields.io/badge/AI%20Agents%20for%20Beginners-00C49A?style=for-the-badge&labelColor=E5E7EB&color=00C49A)](https://github.com/microsoft/ai-agents-for-beginners?WT.mc_id=academic-105485-koreyst) ---- - -### Série IA Générative -[![Generative AI for Beginners](https://img.shields.io/badge/Generative%20AI%20for%20Beginners-8B5CF6?style=for-the-badge&labelColor=E5E7EB&color=8B5CF6)](https://github.com/microsoft/generative-ai-for-beginners?WT.mc_id=academic-105485-koreyst) -[![Generative AI (.NET)](https://img.shields.io/badge/Generative%20AI%20(.NET)-9333EA?style=for-the-badge&labelColor=E5E7EB&color=9333EA)](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst) -[![Generative AI (Java)](https://img.shields.io/badge/Generative%20AI%20(Java)-C084FC?style=for-the-badge&labelColor=E5E7EB&color=C084FC)](https://github.com/microsoft/generative-ai-for-beginners-java?WT.mc_id=academic-105485-koreyst) -[![Generative AI (JavaScript)](https://img.shields.io/badge/Generative%20AI%20(JavaScript)-E879F9?style=for-the-badge&labelColor=E5E7EB&color=E879F9)](https://github.com/microsoft/generative-ai-with-javascript?WT.mc_id=academic-105485-koreyst) +--- + +### Série IA Générative +[![Generative AI for Beginners](https://img.shields.io/badge/Generative%20AI%20for%20Beginners-8B5CF6?style=for-the-badge&labelColor=E5E7EB&color=8B5CF6)](https://github.com/microsoft/generative-ai-for-beginners?WT.mc_id=academic-105485-koreyst) +[![Generative AI (.NET)](https://img.shields.io/badge/Generative%20AI%20(.NET)-9333EA?style=for-the-badge&labelColor=E5E7EB&color=9333EA)](https://github.com/microsoft/Generative-AI-for-beginners-dotnet?WT.mc_id=academic-105485-koreyst) +[![Generative AI (Java)](https://img.shields.io/badge/Generative%20AI%20(Java)-C084FC?style=for-the-badge&labelColor=E5E7EB&color=C084FC)](https://github.com/microsoft/generative-ai-for-beginners-java?WT.mc_id=academic-105485-koreyst) +[![Generative AI (JavaScript)](https://img.shields.io/badge/Generative%20AI%20(JavaScript)-E879F9?style=for-the-badge&labelColor=E5E7EB&color=E879F9)](https://github.com/microsoft/generative-ai-with-javascript?WT.mc_id=academic-105485-koreyst) ---- - -### Apprentissage de base -[![ML for Beginners](https://img.shields.io/badge/ML%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=22C55E)](https://aka.ms/ml-beginners?WT.mc_id=academic-105485-koreyst) -[![Data Science for Beginners](https://img.shields.io/badge/Data%20Science%20for%20Beginners-84CC16?style=for-the-badge&labelColor=E5E7EB&color=84CC16)](https://aka.ms/datascience-beginners?WT.mc_id=academic-105485-koreyst) -[![AI for Beginners](https://img.shields.io/badge/AI%20for%20Beginners-A3E635?style=for-the-badge&labelColor=E5E7EB&color=A3E635)](https://aka.ms/ai-beginners?WT.mc_id=academic-105485-koreyst) -[![Cybersecurity for Beginners](https://img.shields.io/badge/Cybersecurity%20for%20Beginners-F97316?style=for-the-badge&labelColor=E5E7EB&color=F97316)](https://github.com/microsoft/Security-101?WT.mc_id=academic-96948-sayoung) -[![Web Dev for Beginners](https://img.shields.io/badge/Web%20Dev%20for%20Beginners-EC4899?style=for-the-badge&labelColor=E5E7EB&color=EC4899)](https://aka.ms/webdev-beginners?WT.mc_id=academic-105485-koreyst) -[![IoT for Beginners](https://img.shields.io/badge/IoT%20for%20Beginners-14B8A6?style=for-the-badge&labelColor=E5E7EB&color=14B8A6)](https://aka.ms/iot-beginners?WT.mc_id=academic-105485-koreyst) -[![XR Development for Beginners](https://img.shields.io/badge/XR%20Development%20for%20Beginners-38BDF8?style=for-the-badge&labelColor=E5E7EB&color=38BDF8)](https://github.com/microsoft/xr-development-for-beginners?WT.mc_id=academic-105485-koreyst) +--- + +### Apprentissage fondamental +[![ML for Beginners](https://img.shields.io/badge/ML%20for%20Beginners-22C55E?style=for-the-badge&labelColor=E5E7EB&color=22C55E)](https://aka.ms/ml-beginners?WT.mc_id=academic-105485-koreyst) +[![Data Science for Beginners](https://img.shields.io/badge/Data%20Science%20for%20Beginners-84CC16?style=for-the-badge&labelColor=E5E7EB&color=84CC16)](https://aka.ms/datascience-beginners?WT.mc_id=academic-105485-koreyst) +[![AI for Beginners](https://img.shields.io/badge/AI%20for%20Beginners-A3E635?style=for-the-badge&labelColor=E5E7EB&color=A3E635)](https://aka.ms/ai-beginners?WT.mc_id=academic-105485-koreyst) +[![Cybersecurity for Beginners](https://img.shields.io/badge/Cybersecurity%20for%20Beginners-F97316?style=for-the-badge&labelColor=E5E7EB&color=F97316)](https://github.com/microsoft/Security-101?WT.mc_id=academic-96948-sayoung) +[![Web Dev for Beginners](https://img.shields.io/badge/Web%20Dev%20for%20Beginners-EC4899?style=for-the-badge&labelColor=E5E7EB&color=EC4899)](https://aka.ms/webdev-beginners?WT.mc_id=academic-105485-koreyst) +[![IoT for Beginners](https://img.shields.io/badge/IoT%20for%20Beginners-14B8A6?style=for-the-badge&labelColor=E5E7EB&color=14B8A6)](https://aka.ms/iot-beginners?WT.mc_id=academic-105485-koreyst) +[![XR Development for Beginners](https://img.shields.io/badge/XR%20Development%20for%20Beginners-38BDF8?style=for-the-badge&labelColor=E5E7EB&color=38BDF8)](https://github.com/microsoft/xr-development-for-beginners?WT.mc_id=academic-105485-koreyst) ---- - -### Série Copilot -[![Copilot for AI Paired Programming](https://img.shields.io/badge/Copilot%20for%20AI%20Paired%20Programming-FACC15?style=for-the-badge&labelColor=E5E7EB&color=FACC15)](https://aka.ms/GitHubCopilotAI?WT.mc_id=academic-105485-koreyst) -[![Copilot for C#/.NET](https://img.shields.io/badge/Copilot%20for%20C%23/.NET-FBBF24?style=for-the-badge&labelColor=E5E7EB&color=FBBF24)](https://github.com/microsoft/mastering-github-copilot-for-dotnet-csharp-developers?WT.mc_id=academic-105485-koreyst) -[![Copilot Adventure](https://img.shields.io/badge/Copilot%20Adventure-FDE68A?style=for-the-badge&labelColor=E5E7EB&color=FDE68A)](https://github.com/microsoft/CopilotAdventures?WT.mc_id=academic-105485-koreyst) - +--- + +### Série Copilot +[![Copilot for AI Paired Programming](https://img.shields.io/badge/Copilot%20for%20AI%20Paired%20Programming-FACC15?style=for-the-badge&labelColor=E5E7EB&color=FACC15)](https://aka.ms/GitHubCopilotAI?WT.mc_id=academic-105485-koreyst) +[![Copilot for C#/.NET](https://img.shields.io/badge/Copilot%20for%20C%23/.NET-FBBF24?style=for-the-badge&labelColor=E5E7EB&color=FBBF24)](https://github.com/microsoft/mastering-github-copilot-for-dotnet-csharp-developers?WT.mc_id=academic-105485-koreyst) +[![Copilot Adventure](https://img.shields.io/badge/Copilot%20Adventure-FDE68A?style=for-the-badge&labelColor=E5E7EB&color=FDE68A)](https://github.com/microsoft/CopilotAdventures?WT.mc_id=academic-105485-koreyst) + -## Obtenir de l'aide +## Obtenir de l'aide -Si vous êtes bloqué ou avez des questions à propos du développement d'applications IA, rejoignez d'autres apprenants et développeurs expérimentés pour discuter de MCP. C'est une communauté de soutien où les questions sont les bienvenues et le savoir est partagé librement. +Si vous êtes bloqué ou avez des questions sur la création d'applications IA, rejoignez d'autres apprenants et développeurs expérimentés dans les discussions sur MCP. C'est une communauté bienveillante où les questions sont bienvenues et où les connaissances sont librement partagées. -[![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) +[![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -Si vous avez des retours sur le produit ou trouvez des erreurs pendant le développement, visitez : +Si vous avez des retours produit ou des erreurs lors de la création, visitez : [![Microsoft Foundry Developer Forum](https://img.shields.io/badge/GitHub-Microsoft_Foundry_Developer_Forum-blue?style=for-the-badge&logo=github&color=000000&logoColor=fff)](https://aka.ms/foundry/forum) @@ -220,5 +229,5 @@ Si vous avez des retours sur le produit ou trouvez des erreurs pendant le dével **Avertissement** : -Ce document a été traduit à l'aide du service de traduction automatique [Co-op Translator](https://github.com/Azure/co-op-translator). Bien que nous nous efforcions d'assurer l'exactitude, veuillez noter que les traductions automatisées peuvent contenir des erreurs ou des inexactitudes. Le document original dans sa langue natale doit être considéré comme la source faisant autorité. Pour les informations critiques, il est recommandé de recourir à une traduction professionnelle réalisée par un humain. Nous déclinons toute responsabilité en cas de malentendus ou d'interprétations erronées résultant de l'utilisation de cette traduction. +Ce document a été traduit à l’aide du service de traduction automatique [Co-op Translator](https://github.com/Azure/co-op-translator). Bien que nous nous efforçons d’assurer l’exactitude, veuillez noter que les traductions automatisées peuvent contenir des erreurs ou des inexactitudes. Le document original dans sa langue d’origine doit être considéré comme la source faisant foi. Pour les informations critiques, une traduction professionnelle réalisée par un humain est recommandée. Nous ne saurions être tenus responsables des malentendus ou interprétations erronées résultant de l’utilisation de cette traduction. \ No newline at end of file diff --git a/translations/fr/lessons/2-Symbolic/MSConceptGraph.ipynb b/translations/fr/lessons/2-Symbolic/MSConceptGraph.ipynb index 5aa83928..3525e258 100644 --- a/translations/fr/lessons/2-Symbolic/MSConceptGraph.ipynb +++ b/translations/fr/lessons/2-Symbolic/MSConceptGraph.ipynb @@ -1,539 +1,532 @@ { - "cells": [ - { - "cell_type": "markdown", - "metadata": { - "collapsed": true - }, - "source": [ - "## Microsoft Concept Graph - CETTE API N'EST PLUS DISPONIBLE, MAIS VEUILLEZ CONSULTER LE CAHIER POUR COMPRENDRE LE CONCEPT\n", - "\n", - "[Microsoft Concept Graph](https://concept.research.microsoft.com/) est une vaste taxonomie de termes extraits d'Internet, avec des relations de type `is-a` entre les concepts.\n", - "\n", - "Le Context Graph est disponible sous deux formes :\n", - " * Fichier texte volumineux à télécharger\n", - " * API REST\n", - "\n", - "Statistiques :\n", - " * 5 401 933 concepts uniques,\n", - " * 12 551 613 instances uniques,\n", - " * 87 603 947 relations `is-a`\n" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Utilisation du service web\n", - "\n", - "Le service web propose différents appels pour estimer la probabilité qu'un concept appartienne à différents groupes. Plus d'informations sont disponibles [ici](https://concept.research.microsoft.com/Home/Api). \n", - "Voici l'URL d'exemple à utiliser : `https://api.conceptnet.io/query?start=/c/en/microsoft&rel=/r/IsA&limit=10`\n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "trusted": true - }, - "outputs": [], - "source": [ - "import urllib\n", - "import json\n", - "\n", - "def http(x):\n", - " response = urllib.request.urlopen(x)\n", - " data = response.read()\n", - " return data.decode('utf-8')\n", - "\n", - "def query(x):\n", - " concept = x.lower().replace(' ', '_')\n", - " url = \"https://api.conceptnet.io/query?start=/c/en/{}&rel=/r/IsA&limit=10\".format(\n", - " urllib.parse.quote(concept))\n", - " try:\n", - " result = json.loads(http(url))\n", - " except Exception:\n", - " return {}\n", - " edges = result.get('edges', [])\n", - " if not edges:\n", - " return {}\n", - " total_weight = sum(edge['weight'] for edge in edges)\n", - " if total_weight == 0:\n", - " return {}\n", - " return {edge['end']['label']: edge['weight'] / total_weight for edge in edges}\n", - "\n", - "query('microsoft')" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Essayons de catégoriser les titres des actualités en utilisant des concepts parentaux. Pour obtenir les titres des actualités, nous utiliserons le service [NewsApi.org](http://newsapi.org). Vous devez obtenir votre propre clé API pour utiliser le service - rendez-vous sur le site web et inscrivez-vous au plan développeur gratuit.\n" - ] - }, - { - "cell_type": "code", - "execution_count": 20, - "metadata": { - "trusted": true - }, - "outputs": [], - "source": [ - "newsapi_key = ''\n", - "def get_news(country='us'):\n", - " res = json.loads(http(\"https://newsapi.org/v2/top-headlines?country={0}&apiKey={1}\".format(country,newsapi_key)))\n", - " return res['articles']\n", - "\n", - "all_titles = [x['title'] for x in get_news('us')+get_news('gb')]" - ] - }, - { - "cell_type": "code", - "execution_count": 21, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "['Covid-19 Live Updates: Vaccines and Boosters News - The New York Times',\n", - " 'Ukrainians Flee Mariupol as Russian Forces Push to Take Port City - The Wall Street Journal',\n", - " 'Bond Yields Jump, Stock Futures Rise After Powell Says Fed Is Ready to Be More Aggressive - The Wall Street Journal',\n", - " 'Putin critic Alexei Navalny found guilty by Russian court - New York Post ',\n", - " \"Supreme Court nominee Ketanji Brown Jackson will face questions at confirmation hearing's second day - CNN\",\n", - " '2 teachers killed at Swedish high school, student arrested - ABC News',\n", - " 'Clues to Covid-19’s Next Moves Come From Sewers - The Wall Street Journal',\n", - " 'Republicans to roll dice by grilling Jackson over child-pornography sentencing decisions | TheHill - The Hill',\n", - " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", - " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", - " \"US stocks whipsawed overnight after Fed Chair Powell's remarks - Fox Business\",\n", - " \"'We've learned absolutely nothing': Tests could again be in short supply if Covid surges - POLITICO\",\n", - " \"Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\",\n", - " 'China searches for victims, flight recorders after first plane crash in 12 years - Reuters',\n", - " 'Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters',\n", - " 'Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español',\n", - " 'Powers Remain and Threats Lurk as Women’s Sweet 16 Is Set - The New York Times',\n", - " 'Webb Space Telescope Begins Multi-Instrument Alignment - SciTechDaily',\n", - " \"UConn vs UCF - NCAA women's tournament second-round highlights - March Madness\",\n", - " 'Bucking Republican Trend, Indiana Governor Vetoes Transgender Sports Bill - The New York Times',\n", - " \"Maggie Fox dead: Coronation Street and Shameless actress dies after 'sudden accident' - Mirror Online - The Mirror\",\n", - " 'China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent',\n", - " 'Daniel Morgan murder: damning report condemns Met police - The Guardian',\n", - " 'What to expect from Rishi Sunak’s Spring Statement - BBC.com',\n", - " 'UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian',\n", - " \"Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\",\n", - " 'Brass Eye’s outtakes show the brutal TV comedy was the tip of an iceberg - The Guardian',\n", - " \"Vladimir Putin threatens civilians to break Mariupol's spirit - The Times\",\n", - " 'Shell U-turn on Cambo oilfield would threaten green targets, say campaigners - The Guardian',\n", - " 'St Helens dog attack: Girl aged 17 months killed at home - BBC',\n", - " \"PlayStation to buy 'Assassin's Creed' veteran Jade Raymond's Haven Studios - NME\",\n", - " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", - " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", - " 'Nintendo Switch finally has folders • Eurogamer.net - Eurogamer.net',\n", - " 'FA to “find a solution” as Liverpool fan group blasts “shambolic” Wembley travel - This Is Anfield',\n", - " 'Manchester United transfer news LIVE Erik ten Hag latest and Man Utd manager updates - Manchester Evening News',\n", - " 'Inflation raises cost of UK government borrowing in February; crude oil up again – business live - The Guardian',\n", - " 'Alexei Navalny: Kremlin critic found guilty of large-scale fraud and contempt of court by Russian court - Sky News',\n", - " \"UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\",\n", - " 'Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian']" - ] - }, - "execution_count": 21, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "all_titles" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Tout d'abord, nous voulons pouvoir extraire les noms des titres d'actualités. Nous utiliserons la bibliothèque `TextBlob` pour cela, qui simplifie beaucoup de tâches typiques de NLP comme celle-ci.\n" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Requirement already satisfied: textblob in c:\\winapp\\miniconda3\\lib\\site-packages (0.17.1)\n", - "Requirement already satisfied: nltk>=3.1 in c:\\winapp\\miniconda3\\lib\\site-packages (from textblob) (3.5)\n", - "Requirement already satisfied: joblib in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (1.0.1)\n", - "Requirement already satisfied: regex in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (2021.11.10)\n", - "Requirement already satisfied: tqdm in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (4.61.2)\n", - "Requirement already satisfied: click in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (8.0.3)\n", - "Requirement already satisfied: colorama in c:\\winapp\\miniconda3\\lib\\site-packages (from click->nltk>=3.1->textblob) (0.4.4)\n", - "Finished.\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[nltk_data] Downloading package brown to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package brown is already up-to-date!\n", - "[nltk_data] Downloading package punkt to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package punkt is already up-to-date!\n", - "[nltk_data] Downloading package wordnet to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package wordnet is already up-to-date!\n", - "[nltk_data] Downloading package averaged_perceptron_tagger to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package averaged_perceptron_tagger is already up-to-\n", - "[nltk_data] date!\n", - "[nltk_data] Downloading package conll2000 to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package conll2000 is already up-to-date!\n", - "[nltk_data] Downloading package movie_reviews to\n", - "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", - "[nltk_data] Package movie_reviews is already up-to-date!\n" - ] - } - ], - "source": [ - "import sys\n", - "!{sys.executable} -m pip install textblob\n", - "!{sys.executable} -m textblob.download_corpora\n", - "from textblob import TextBlob" - ] - }, - { - "cell_type": "code", - "execution_count": 22, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "data": { - "text/plain": [ - "{'covid-19 live updates': 1,\n", - " 'vaccines': 1,\n", - " 'boosters': 1,\n", - " 'york': 4,\n", - " 'ukrainians flee mariupol': 1,\n", - " 'forces push': 1,\n", - " 'port city': 1,\n", - " 'wall street journal': 3,\n", - " 'bond yields': 1,\n", - " 'futures rise': 1,\n", - " 'powell says fed': 1,\n", - " 'ready': 1,\n", - " 'be': 1,\n", - " 'aggressive': 1,\n", - " 'putin': 3,\n", - " 'alexei navalny': 2,\n", - " 'russian': 2,\n", - " 'supreme court nominee': 1,\n", - " 'ketanji brown jackson': 1,\n", - " \"confirmation hearing 's\": 1,\n", - " 'cnn': 1,\n", - " 'swedish': 1,\n", - " 'high school': 1,\n", - " 'abc': 1,\n", - " 'clues': 1,\n", - " 'covid-19': 1,\n", - " '’ s': 2,\n", - " 'moves': 1,\n", - " 'sewers': 1,\n", - " 'roll dice': 1,\n", - " 'jackson': 1,\n", - " 'decisions |': 1,\n", - " 'thehill': 1,\n", - " 'clear': 2,\n", - " 'chemical weapons': 2,\n", - " 'ukraine': 3,\n", - " 'claims president': 2,\n", - " 'biden': 2,\n", - " 'nasa': 2,\n", - " 'solar system': 2,\n", - " 'daily mail': 3,\n", - " 'us stocks': 1,\n", - " 'fed chair powell': 1,\n", - " \"'s remarks\": 1,\n", - " 'fox': 1,\n", - " \"'we 've\": 1,\n", - " 'tests': 1,\n", - " 'covid': 1,\n", - " 'politico': 1,\n", - " 'duchess': 1,\n", - " 'cambridge': 1,\n", - " 'swaps khaki jungle gear': 1,\n", - " 'vampire': 1,\n", - " 'wife': 1,\n", - " 'belize': 1,\n", - " 'china': 2,\n", - " 'flight recorders': 1,\n", - " 'plane crash': 1,\n", - " 'reuters': 2,\n", - " 'russian oligarch': 1,\n", - " 'abramovich': 1,\n", - " 'live': 1,\n", - " 'russia': 2,\n", - " 'stops talks': 1,\n", - " 'japan': 1,\n", - " 'español': 1,\n", - " 'powers remain': 1,\n", - " 'threats lurk': 1,\n", - " 'set': 1,\n", - " 'webb': 1,\n", - " 'telescope begins multi-instrument alignment': 1,\n", - " 'scitechdaily': 1,\n", - " 'uconn': 1,\n", - " 'ucf': 1,\n", - " 'ncaa': 1,\n", - " \"women 's tournament second-round highlights\": 1,\n", - " 'march madness': 1,\n", - " 'bucking republican trend': 1,\n", - " 'indiana': 1,\n", - " 'vetoes transgender': 1,\n", - " 'bill': 1,\n", - " 'maggie fox': 1,\n", - " 'coronation': 1,\n", - " 'shameless': 1,\n", - " \"'sudden accident\": 1,\n", - " 'mirror online': 1,\n", - " 'mirror': 2,\n", - " 'plane crash –': 1,\n", - " 'search': 1,\n", - " 'moment flight': 1,\n", - " 'daniel morgan': 1,\n", - " 'report condemns': 1,\n", - " 'met': 1,\n", - " 'guardian': 6,\n", - " 'rishi sunak': 1,\n", - " '’ s spring': 1,\n", - " 'statement': 1,\n", - " 'bbc.com': 1,\n", - " 'uk': 3,\n", - " 'ireland': 1,\n", - " 'euro': 1,\n", - " 'vladimir putin': 2,\n", - " \"'s 'lover\": 1,\n", - " 'brass eye': 1,\n", - " '’ s outtakes': 1,\n", - " 'brutal tv comedy': 1,\n", - " 'threatens civilians': 1,\n", - " 'mariupol': 1,\n", - " \"'s spirit\": 1,\n", - " 'shell u-turn': 1,\n", - " 'cambo': 1,\n", - " 'green targets': 1,\n", - " 'st helens': 1,\n", - " 'dog attack': 1,\n", - " 'girl': 1,\n", - " 'bbc': 1,\n", - " 'playstation': 1,\n", - " \"'assassin 's\": 1,\n", - " 'creed': 1,\n", - " 'jade raymond': 1,\n", - " 'haven studios': 1,\n", - " 'nme': 1,\n", - " 'nintendo switch': 1,\n", - " 'folders •': 1,\n", - " 'eurogamer.net': 2,\n", - " 'fa': 1,\n", - " 'solution ”': 1,\n", - " 'liverpool': 1,\n", - " 'fan group blasts “ shambolic ”': 1,\n", - " 'wembley': 1,\n", - " 'anfield': 1,\n", - " 'manchester': 1,\n", - " 'live erik': 1,\n", - " 'hag': 1,\n", - " 'utd': 1,\n", - " 'manager updates': 1,\n", - " 'manchester evening': 1,\n", - " 'inflation': 1,\n", - " 'government borrowing': 1,\n", - " 'february': 1,\n", - " 'crude oil': 1,\n", - " '– business': 1,\n", - " 'kremlin': 1,\n", - " 'large-scale fraud': 1,\n", - " 'sky': 1,\n", - " 'natural gas': 1,\n", - " 'gazprom': 1,\n", - " 'retail unit': 1,\n", - " 'insider': 1,\n", - " 'zaghari-ratcliffe': 1,\n", - " 'hunt': 1,\n", - " 'iran': 1,\n", - " 'debt payment': 1}" - ] - }, - "execution_count": 22, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "w = {}\n", - "for x in all_titles:\n", - " for n in TextBlob(x).noun_phrases:\n", - " if n in w:\n", - " w[n].append(x)\n", - " else:\n", - " w[n]=[x]\n", - "{ x:len(w[x]) for x in w.keys()}" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "Nous pouvons constater que les noms ne nous donnent pas de grands groupes thématiques. Remplaçons les noms par des termes plus généraux obtenus à partir du graphe conceptuel. Cela prendra un certain temps, car nous effectuons un appel REST pour chaque syntagme nominal.\n" - ] - }, - { - "cell_type": "code", - "execution_count": 23, - "metadata": { - "trusted": true - }, - "outputs": [], - "source": [ - "w = {}\n", - "for x in all_titles:\n", - " for noun in TextBlob(x).noun_phrases:\n", - " terms = query(noun)\n", - " for term in [u for u in terms.keys() if terms[u]>0.1]:\n", - " if term in w:\n", - " w[term].append(x)\n", - " else:\n", - " w[term]=[x]" - ] - }, - { - "cell_type": "code", - "execution_count": 24, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "data": { - "text/plain": [ - "{'city': 9,\n", - " 'brand': 4,\n", - " 'place': 9,\n", - " 'town': 4,\n", - " 'factor': 4,\n", - " 'film': 4,\n", - " 'nation': 11,\n", - " 'state': 5,\n", - " 'person': 4,\n", - " 'organization': 5,\n", - " 'publication': 10,\n", - " 'market': 5,\n", - " 'economy': 4,\n", - " 'company': 6,\n", - " 'newspaper': 6,\n", - " 'relationship': 6}" - ] - }, - "execution_count": 24, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "{ x:len(w[x]) for x in w.keys() if len(w[x])>3}" - ] - }, - { - "cell_type": "code", - "execution_count": 27, - "metadata": { - "trusted": true - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "ECONOMY:\n", - "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", - "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", - "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", - "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", - "\n", - "NATION:\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", - "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", - "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", - "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", - "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", - "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", - "UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian\n", - "Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", - "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", - "Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian\n", - "\n", - "PERSON:\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", - "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", - "Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters\n", - "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n" - ] - } - ], - "source": [ - "print('\\nECONOMY:\\n'+'\\n'.join(w['economy']))\n", - "print('\\nNATION:\\n'+'\\n'.join(w['nation']))\n", - "print('\\nPERSON:\\n'+'\\n'.join(w['person']))" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "\n---\n\n**Avertissement** : \nCe document a été traduit à l'aide du service de traduction automatique [Co-op Translator](https://github.com/Azure/co-op-translator). Bien que nous nous efforcions d'assurer l'exactitude, veuillez noter que les traductions automatisées peuvent contenir des erreurs ou des inexactitudes. Le document original dans sa langue d'origine doit être considéré comme la source faisant autorité. Pour des informations critiques, il est recommandé de recourir à une traduction humaine professionnelle. Nous déclinons toute responsabilité en cas de malentendus ou d'interprétations erronées résultant de l'utilisation de cette traduction.\n" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3.7.4 64-bit (conda)", - "metadata": { - "interpreter": { - "hash": "86193a1ab0ba47eac1c69c1756090baa3b420b3eea7d4aafab8b85f8b312f0c5" - } - }, - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.9.5" - }, - "coopTranslator": { - "original_hash": "7b3f1fc049371bcf8649ac9fefdf0413", - "translation_date": "2025-10-03T18:49:46+00:00", - "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", - "language_code": "fr" - } + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "collapsed": true + }, + "source": [ + "## Graph de concepts utilisant ConceptNet\n", + "\n", + "> **Note :** L'API originale [Microsoft Concept Graph](https://concept.research.microsoft.com/) n'est plus disponible. Ce notebook a été mis à jour pour utiliser [ConceptNet](https://conceptnet.io/) en remplacement, qui est un graphe de connaissances ouvert et librement accessible avec des relations `is-a` similaires entre les concepts.\n", + "\n", + "[ConceptNet](https://conceptnet.io/) est un grand réseau sémantique de concepts avec des relations telles que `IsA`, `PartOf`, `UsedFor`, et bien d'autres. Il est disponible sous forme de :\n", + " * Un fichier de données téléchargeable\n", + " * Une API REST (pas de clé API requise)\n", + "\n", + "Statistiques de ConceptNet :\n", + " * Plus de 8 millions de nœuds\n", + " * Plus de 21 millions d'arêtes à travers 83 langues\n" + ] }, - "nbformat": 4, - "nbformat_minor": 2 + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Utilisation du service web ConceptNet\n", + "\n", + "[ConceptNet](https://conceptnet.io/) fournit une API REST pour explorer les relations `est-un` (IsA) entre concepts. Aucune clé API n’est requise. \n", + "Voici l’URL exemple à appeler : `https://api.conceptnet.io/query?start=/c/en/microsoft&rel=/r/IsA&limit=10`\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "trusted": true + }, + "outputs": [], + "source": [ + "import urllib\n", + "import json\n", + "\n", + "def http(x):\n", + " response = urllib.request.urlopen(x)\n", + " data = response.read()\n", + " return data.decode('utf-8')\n", + "\n", + "def query(x):\n", + " concept = x.lower().replace(' ', '_')\n", + " url = \"https://api.conceptnet.io/query?start=/c/en/{}&rel=/r/IsA&limit=10\".format(\n", + " urllib.parse.quote(concept))\n", + " try:\n", + " result = json.loads(http(url))\n", + " except Exception:\n", + " return {}\n", + " edges = result.get('edges', [])\n", + " if not edges:\n", + " return {}\n", + " total_weight = sum(edge['weight'] for edge in edges)\n", + " if total_weight == 0:\n", + " return {}\n", + " return {edge['end']['label']: edge['weight'] / total_weight for edge in edges}\n", + "\n", + "query('microsoft')" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Essayons de catégoriser les titres de nouvelles en utilisant des concepts parents. Pour obtenir les titres de nouvelles, nous utiliserons le service [NewsApi.org](http://newsapi.org). Vous devez obtenir votre propre clé API afin d'utiliser le service - rendez-vous sur le site web et inscrivez-vous pour un plan développeur gratuit.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 20, + "metadata": { + "trusted": true + }, + "outputs": [], + "source": [ + "newsapi_key = ''\n", + "def get_news(country='us'):\n", + " res = json.loads(http(\"https://newsapi.org/v2/top-headlines?country={0}&apiKey={1}\".format(country,newsapi_key)))\n", + " return res['articles']\n", + "\n", + "all_titles = [x['title'] for x in get_news('us')+get_news('gb')]" + ] + }, + { + "cell_type": "code", + "execution_count": 21, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "['Covid-19 Live Updates: Vaccines and Boosters News - The New York Times',\n", + " 'Ukrainians Flee Mariupol as Russian Forces Push to Take Port City - The Wall Street Journal',\n", + " 'Bond Yields Jump, Stock Futures Rise After Powell Says Fed Is Ready to Be More Aggressive - The Wall Street Journal',\n", + " 'Putin critic Alexei Navalny found guilty by Russian court - New York Post ',\n", + " \"Supreme Court nominee Ketanji Brown Jackson will face questions at confirmation hearing's second day - CNN\",\n", + " '2 teachers killed at Swedish high school, student arrested - ABC News',\n", + " 'Clues to Covid-19’s Next Moves Come From Sewers - The Wall Street Journal',\n", + " 'Republicans to roll dice by grilling Jackson over child-pornography sentencing decisions | TheHill - The Hill',\n", + " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", + " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", + " \"US stocks whipsawed overnight after Fed Chair Powell's remarks - Fox Business\",\n", + " \"'We've learned absolutely nothing': Tests could again be in short supply if Covid surges - POLITICO\",\n", + " \"Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\",\n", + " 'China searches for victims, flight recorders after first plane crash in 12 years - Reuters',\n", + " 'Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters',\n", + " 'Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español',\n", + " 'Powers Remain and Threats Lurk as Women’s Sweet 16 Is Set - The New York Times',\n", + " 'Webb Space Telescope Begins Multi-Instrument Alignment - SciTechDaily',\n", + " \"UConn vs UCF - NCAA women's tournament second-round highlights - March Madness\",\n", + " 'Bucking Republican Trend, Indiana Governor Vetoes Transgender Sports Bill - The New York Times',\n", + " \"Maggie Fox dead: Coronation Street and Shameless actress dies after 'sudden accident' - Mirror Online - The Mirror\",\n", + " 'China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent',\n", + " 'Daniel Morgan murder: damning report condemns Met police - The Guardian',\n", + " 'What to expect from Rishi Sunak’s Spring Statement - BBC.com',\n", + " 'UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian',\n", + " \"Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\",\n", + " 'Brass Eye’s outtakes show the brutal TV comedy was the tip of an iceberg - The Guardian',\n", + " \"Vladimir Putin threatens civilians to break Mariupol's spirit - The Times\",\n", + " 'Shell U-turn on Cambo oilfield would threaten green targets, say campaigners - The Guardian',\n", + " 'St Helens dog attack: Girl aged 17 months killed at home - BBC',\n", + " \"PlayStation to buy 'Assassin's Creed' veteran Jade Raymond's Haven Studios - NME\",\n", + " '‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent',\n", + " 'NASA confirms there are 5,000 planets outside our solar system - Daily Mail',\n", + " 'Nintendo Switch finally has folders • Eurogamer.net - Eurogamer.net',\n", + " 'FA to “find a solution” as Liverpool fan group blasts “shambolic” Wembley travel - This Is Anfield',\n", + " 'Manchester United transfer news LIVE Erik ten Hag latest and Man Utd manager updates - Manchester Evening News',\n", + " 'Inflation raises cost of UK government borrowing in February; crude oil up again – business live - The Guardian',\n", + " 'Alexei Navalny: Kremlin critic found guilty of large-scale fraud and contempt of court by Russian court - Sky News',\n", + " \"UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\",\n", + " 'Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian']" + ] + }, + "execution_count": 21, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "all_titles" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Tout d'abord, nous voulons être capables d'extraire les noms des titres de presse. Nous allons utiliser la bibliothèque `TextBlob` pour cela, qui simplifie beaucoup de tâches typiques de traitement du langage naturel comme celle-ci.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Requirement already satisfied: textblob in c:\\winapp\\miniconda3\\lib\\site-packages (0.17.1)\n", + "Requirement already satisfied: nltk>=3.1 in c:\\winapp\\miniconda3\\lib\\site-packages (from textblob) (3.5)\n", + "Requirement already satisfied: joblib in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (1.0.1)\n", + "Requirement already satisfied: regex in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (2021.11.10)\n", + "Requirement already satisfied: tqdm in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (4.61.2)\n", + "Requirement already satisfied: click in c:\\winapp\\miniconda3\\lib\\site-packages (from nltk>=3.1->textblob) (8.0.3)\n", + "Requirement already satisfied: colorama in c:\\winapp\\miniconda3\\lib\\site-packages (from click->nltk>=3.1->textblob) (0.4.4)\n", + "Finished.\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "[nltk_data] Downloading package brown to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package brown is already up-to-date!\n", + "[nltk_data] Downloading package punkt to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package punkt is already up-to-date!\n", + "[nltk_data] Downloading package wordnet to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package wordnet is already up-to-date!\n", + "[nltk_data] Downloading package averaged_perceptron_tagger to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package averaged_perceptron_tagger is already up-to-\n", + "[nltk_data] date!\n", + "[nltk_data] Downloading package conll2000 to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package conll2000 is already up-to-date!\n", + "[nltk_data] Downloading package movie_reviews to\n", + "[nltk_data] C:\\Users\\dmitryso\\AppData\\Roaming\\nltk_data...\n", + "[nltk_data] Package movie_reviews is already up-to-date!\n" + ] + } + ], + "source": [ + "import sys\n", + "!{sys.executable} -m pip install textblob\n", + "!{sys.executable} -m textblob.download_corpora\n", + "from textblob import TextBlob" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'covid-19 live updates': 1,\n", + " 'vaccines': 1,\n", + " 'boosters': 1,\n", + " 'york': 4,\n", + " 'ukrainians flee mariupol': 1,\n", + " 'forces push': 1,\n", + " 'port city': 1,\n", + " 'wall street journal': 3,\n", + " 'bond yields': 1,\n", + " 'futures rise': 1,\n", + " 'powell says fed': 1,\n", + " 'ready': 1,\n", + " 'be': 1,\n", + " 'aggressive': 1,\n", + " 'putin': 3,\n", + " 'alexei navalny': 2,\n", + " 'russian': 2,\n", + " 'supreme court nominee': 1,\n", + " 'ketanji brown jackson': 1,\n", + " \"confirmation hearing 's\": 1,\n", + " 'cnn': 1,\n", + " 'swedish': 1,\n", + " 'high school': 1,\n", + " 'abc': 1,\n", + " 'clues': 1,\n", + " 'covid-19': 1,\n", + " '’ s': 2,\n", + " 'moves': 1,\n", + " 'sewers': 1,\n", + " 'roll dice': 1,\n", + " 'jackson': 1,\n", + " 'decisions |': 1,\n", + " 'thehill': 1,\n", + " 'clear': 2,\n", + " 'chemical weapons': 2,\n", + " 'ukraine': 3,\n", + " 'claims president': 2,\n", + " 'biden': 2,\n", + " 'nasa': 2,\n", + " 'solar system': 2,\n", + " 'daily mail': 3,\n", + " 'us stocks': 1,\n", + " 'fed chair powell': 1,\n", + " \"'s remarks\": 1,\n", + " 'fox': 1,\n", + " \"'we 've\": 1,\n", + " 'tests': 1,\n", + " 'covid': 1,\n", + " 'politico': 1,\n", + " 'duchess': 1,\n", + " 'cambridge': 1,\n", + " 'swaps khaki jungle gear': 1,\n", + " 'vampire': 1,\n", + " 'wife': 1,\n", + " 'belize': 1,\n", + " 'china': 2,\n", + " 'flight recorders': 1,\n", + " 'plane crash': 1,\n", + " 'reuters': 2,\n", + " 'russian oligarch': 1,\n", + " 'abramovich': 1,\n", + " 'live': 1,\n", + " 'russia': 2,\n", + " 'stops talks': 1,\n", + " 'japan': 1,\n", + " 'español': 1,\n", + " 'powers remain': 1,\n", + " 'threats lurk': 1,\n", + " 'set': 1,\n", + " 'webb': 1,\n", + " 'telescope begins multi-instrument alignment': 1,\n", + " 'scitechdaily': 1,\n", + " 'uconn': 1,\n", + " 'ucf': 1,\n", + " 'ncaa': 1,\n", + " \"women 's tournament second-round highlights\": 1,\n", + " 'march madness': 1,\n", + " 'bucking republican trend': 1,\n", + " 'indiana': 1,\n", + " 'vetoes transgender': 1,\n", + " 'bill': 1,\n", + " 'maggie fox': 1,\n", + " 'coronation': 1,\n", + " 'shameless': 1,\n", + " \"'sudden accident\": 1,\n", + " 'mirror online': 1,\n", + " 'mirror': 2,\n", + " 'plane crash –': 1,\n", + " 'search': 1,\n", + " 'moment flight': 1,\n", + " 'daniel morgan': 1,\n", + " 'report condemns': 1,\n", + " 'met': 1,\n", + " 'guardian': 6,\n", + " 'rishi sunak': 1,\n", + " '’ s spring': 1,\n", + " 'statement': 1,\n", + " 'bbc.com': 1,\n", + " 'uk': 3,\n", + " 'ireland': 1,\n", + " 'euro': 1,\n", + " 'vladimir putin': 2,\n", + " \"'s 'lover\": 1,\n", + " 'brass eye': 1,\n", + " '’ s outtakes': 1,\n", + " 'brutal tv comedy': 1,\n", + " 'threatens civilians': 1,\n", + " 'mariupol': 1,\n", + " \"'s spirit\": 1,\n", + " 'shell u-turn': 1,\n", + " 'cambo': 1,\n", + " 'green targets': 1,\n", + " 'st helens': 1,\n", + " 'dog attack': 1,\n", + " 'girl': 1,\n", + " 'bbc': 1,\n", + " 'playstation': 1,\n", + " \"'assassin 's\": 1,\n", + " 'creed': 1,\n", + " 'jade raymond': 1,\n", + " 'haven studios': 1,\n", + " 'nme': 1,\n", + " 'nintendo switch': 1,\n", + " 'folders •': 1,\n", + " 'eurogamer.net': 2,\n", + " 'fa': 1,\n", + " 'solution ”': 1,\n", + " 'liverpool': 1,\n", + " 'fan group blasts “ shambolic ”': 1,\n", + " 'wembley': 1,\n", + " 'anfield': 1,\n", + " 'manchester': 1,\n", + " 'live erik': 1,\n", + " 'hag': 1,\n", + " 'utd': 1,\n", + " 'manager updates': 1,\n", + " 'manchester evening': 1,\n", + " 'inflation': 1,\n", + " 'government borrowing': 1,\n", + " 'february': 1,\n", + " 'crude oil': 1,\n", + " '– business': 1,\n", + " 'kremlin': 1,\n", + " 'large-scale fraud': 1,\n", + " 'sky': 1,\n", + " 'natural gas': 1,\n", + " 'gazprom': 1,\n", + " 'retail unit': 1,\n", + " 'insider': 1,\n", + " 'zaghari-ratcliffe': 1,\n", + " 'hunt': 1,\n", + " 'iran': 1,\n", + " 'debt payment': 1}" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "w = {}\n", + "for x in all_titles:\n", + " for n in TextBlob(x).noun_phrases:\n", + " if n in w:\n", + " w[n].append(x)\n", + " else:\n", + " w[n]=[x]\n", + "{ x:len(w[x]) for x in w.keys()}" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Nous pouvons voir que les noms ne nous donnent pas de grands groupes thématiques. Remplaçons les noms par des termes plus généraux obtenus à partir du graphe conceptuel. Cela prendra un certain temps, car nous effectuons un appel REST pour chaque groupe nominal.\n" + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "metadata": { + "trusted": true + }, + "outputs": [], + "source": [ + "w = {}\n", + "for x in all_titles:\n", + " for noun in TextBlob(x).noun_phrases:\n", + " terms = query(noun)\n", + " for term in [u for u in terms.keys() if terms[u]>0.1]:\n", + " if term in w:\n", + " w[term].append(x)\n", + " else:\n", + " w[term]=[x]" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'city': 9,\n", + " 'brand': 4,\n", + " 'place': 9,\n", + " 'town': 4,\n", + " 'factor': 4,\n", + " 'film': 4,\n", + " 'nation': 11,\n", + " 'state': 5,\n", + " 'person': 4,\n", + " 'organization': 5,\n", + " 'publication': 10,\n", + " 'market': 5,\n", + " 'economy': 4,\n", + " 'company': 6,\n", + " 'newspaper': 6,\n", + " 'relationship': 6}" + ] + }, + "execution_count": 24, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "{ x:len(w[x]) for x in w.keys() if len(w[x])>3}" + ] + }, + { + "cell_type": "code", + "execution_count": 27, + "metadata": { + "trusted": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "ECONOMY:\n", + "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", + "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", + "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", + "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", + "\n", + "NATION:\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", + "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", + "China searches for victims, flight recorders after first plane crash in 12 years - Reuters\n", + "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", + "Live updates: Russia stops talks with Japan over sanctions - The Associated Press - en Español\n", + "China plane crash – live: Search for survivors continues as witness describes moment flight fell from sky - The Independent\n", + "UK and Republic of Ireland in line to host Euro 2028 after no one else bids - The Guardian\n", + "Friends beg Vladimir Putin's 'lover' to persuade him to end Ukraine invasion - The Mirror\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", + "UK prepares to nationalize Russia natural gas giant Gazprom's retail unit - Business Insider\n", + "Zaghari-Ratcliffe: Hunt calls for inquiry into delay over Iran debt payment - The Guardian\n", + "\n", + "PERSON:\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n", + "Duchess of Cambridge swaps khaki jungle gear for Vampire's Wife dress on Belize trip - Daily Mail\n", + "Second superyacht linked to Russian oligarch Abramovich docks in Turkey - Reuters\n", + "‘Clear sign’ Putin considering using chemical weapons in Ukraine, claims President Biden - The Independent\n" + ] + } + ], + "source": [ + "print('\\nECONOMY:\\n'+'\\n'.join(w['economy']))\n", + "print('\\nNATION:\\n'+'\\n'.join(w['nation']))\n", + "print('\\nPERSON:\\n'+'\\n'.join(w['person']))" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "---\n\n\n**Avertissement** :\nCe document a été traduit à l’aide du service de traduction automatique [Co-op Translator](https://github.com/Azure/co-op-translator). Bien que nous nous efforcions d’assurer l’exactitude, veuillez noter que les traductions automatiques peuvent contenir des erreurs ou des inexactitudes. Le document original dans sa langue d’origine doit être considéré comme la source faisant foi. Pour les informations critiques, une traduction professionnelle humaine est recommandée. Nous déclinons toute responsabilité en cas de malentendus ou d’interprétations erronées résultant de l’utilisation de cette traduction.\n\n" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3.7.4 64-bit (conda)", + "metadata": { + "interpreter": { + "hash": "86193a1ab0ba47eac1c69c1756090baa3b420b3eea7d4aafab8b85f8b312f0c5" + } + }, + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.9.5" + } + }, + "nbformat": 4, + "nbformat_minor": 2 } \ No newline at end of file