diff --git a/translations/lt/.co-op-translator.json b/translations/lt/.co-op-translator.json index 73e98605..0f5e024b 100644 --- a/translations/lt/.co-op-translator.json +++ b/translations/lt/.co-op-translator.json @@ -6,8 +6,8 @@ "language_code": "lt" }, "README.md": { - "original_hash": "75fe3383afc51eaa84b82ace619ffea7", - "translation_date": "2026-02-06T09:25:10+00:00", + "original_hash": "9eaca839b0b3f6d7f0a195fd33cebd30", + "translation_date": "2026-02-28T09:29:55+00:00", "source_file": "README.md", "language_code": "lt" }, @@ -89,6 +89,12 @@ "source_file": "lessons/1-Intro/assignment.md", "language_code": "lt" }, + "lessons/2-Symbolic/MSConceptGraph.ipynb": { + "original_hash": "e5690bbc6e5119a96a8172ec7261db67", + "translation_date": "2026-02-28T09:26:43+00:00", + "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", + "language_code": "lt" + }, "lessons/2-Symbolic/README.md": { "original_hash": "f9f06b266b8b2bfc6b8792ff2bb1bea4", "translation_date": "2026-01-16T06:52:39+00:00", diff --git a/translations/lt/README.md b/translations/lt/README.md index 13d68797..52cd7b15 100644 --- a/translations/lt/README.md +++ b/translations/lt/README.md @@ -12,31 +12,40 @@ [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -# Dirbtinis intelektas pradedantiesiems - mokymo programa +# Dirbtinis intelektas pradedantiesiems – mokymo programa |![Sketchnote by @girlie_mac https://twitter.com/girlie_mac](https://github.com/microsoft/AI-For-Beginners/raw/main/lessons/sketchnotes/ai-overview.png)| |:---:| | Dirbtinis intelektas pradedantiesiems - _Sketchnote by [@girlie_mac](https://twitter.com/girlie_mac)_ | -Tyrinėkite **dirbtinio intelekto** (DI) pasaulį su mūsų 12 savaičių, 24 pamokų mokymo programa! Ji apima praktines pamokas, viktorinas ir laboratorinius darbus. Mokymo programa yra pritaikyta pradedantiesiems ir apima tokias priemones kaip TensorFlow ir PyTorch, taip pat dirbtinio intelekto etiką. +Atraskite **Dirbtinio intelekto** (DI) pasaulį su mūsų 12 savaičių, 24 pamokų mokymo programa! Joje yra praktinių pamokų, viktorinų ir laboratorinių darbų. Mokymo programa yra pritaikyta pradedantiesiems ir apima tokias priemones kaip TensorFlow ir PyTorch, taip pat DI etiką. +### 🌐 Daugiakalbė pagalba -### 🌐 Daugiafunkcė kalbų palaikymas - -#### Palaikoma per GitHub Action (Automatizuota ir visada atnaujinta) +#### Palaikoma per GitHub Action (automatiškai ir visada atnaujinama) -[Arabų](../ar/README.md) | [Bengalų](../bn/README.md) | [Bulgarų](../bg/README.md) | [Birmiečių (Mianmaras)](../my/README.md) | [Kinų (supaprastinta)](../zh-CN/README.md) | [Kinų (tradicinė, Honkongas)](../zh-HK/README.md) | [Kinų (tradicinė, Makao)](../zh-MO/README.md) | [Kinų (tradicinė, Taivanas)](../zh-TW/README.md) | [Kroatų](../hr/README.md) | [Čekų](../cs/README.md) | [Danų](../da/README.md) | [Olandų](../nl/README.md) | [Estų](../et/README.md) | [Suomių](../fi/README.md) | [Prancūzų](../fr/README.md) | [Vokiečių](../de/README.md) | [Graikų](../el/README.md) | [Hebrajų](../he/README.md) | [Hindi](../hi/README.md) | [Vengrų](../hu/README.md) | [Indoneziečių](../id/README.md) | [Italų](../it/README.md) | [Japonų](../ja/README.md) | [Kannadų](../kn/README.md) | [Korėjiečių](../ko/README.md) | [Lietuvių](./README.md) | [Malajų](../ms/README.md) | [Malajalamų](../ml/README.md) | [Maratų](../mr/README.md) | [Nepaliečių](../ne/README.md) | [Nigerijos pidžino](../pcm/README.md) | [Norvegų](../no/README.md) | [Persų (Farsi)](../fa/README.md) | [Lenkų](../pl/README.md) | [Portugalų (Brazilija)](../pt-BR/README.md) | [Portugalų (Portugalija)](../pt-PT/README.md) | [Pandžabių (Gurmukhi)](../pa/README.md) | [Rumunų](../ro/README.md) | [Rusų](../ru/README.md) | [Serbų (kirilica)](../sr/README.md) | [Slovakų](../sk/README.md) | [Slovėnų](../sl/README.md) | [Ispanų](../es/README.md) | [Svahilio](../sw/README.md) | [Švedų](../sv/README.md) | [Tagalogų (Filipinų)](../tl/README.md) | [Tamilų](../ta/README.md) | [Telugų](../te/README.md) | [Tajų](../th/README.md) | [Turkų](../tr/README.md) | [Ukrainiečių](../uk/README.md) | [Urdu](../ur/README.md) | [Vietnamiečių](../vi/README.md) +[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](./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](../es/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) -> **Norite klonuoti vietoje?** - -> Ši repozitorija apima daugiau nei 50 kalbų vertimus, kurie ženkliai padidina atsisiuntimo dydį. Norėdami klonuoti be vertimų, naudokite retą atsisiuntimą: +> **Norite klonuoti lokaliai?** +> +> Šiame registre yra daugiau nei 50 kalbų vertimų, kurie žymiai padidina atsisiuntimo dydį. Norėdami klonuoti be vertimų, naudokite ribotą patikrinimą: +> +> **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' > ``` -> Tai suteikia jums viską, ko reikia kursui užbaigti, su daug greitesniu atsisiuntimu. +> +> **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" +> ``` +> +> Tai suteiks viską, ko reikia kursui baigti, žymiai spartesniu atsisiuntimu. **Jei norite, kad būtų palaikomos papildomos vertimų kalbos, jos išvardytos [čia](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md)** @@ -46,173 +55,173 @@ Tyrinėkite **dirbtinio intelekto** (DI) pasaulį su mūsų 12 savaičių, 24 pa ## Ko išmoksite -**[Kurso minties žemėlapis](http://soshnikov.com/courses/ai-for-beginners/mindmap.html)** +**[Kurso minčių žemėlapis](http://soshnikov.com/courses/ai-for-beginners/mindmap.html)** Šioje mokymo programoje jūs išmoksite: -* Skirtingus dirbtinio intelekto požiūrius, įskaitant "gerą seną" simbolinį požiūrį su **Žinių atvaizdavimu** ir samprotavimu ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). -* **Neuroninius tinklus** ir **gilųjį mokymąsi**, kurie yra šiuolaikinio DI pagrindas. Mes iliustruosime šių svarbių temų koncepcijas naudojant kodą dviejose populiariausiose sistemose - [TensorFlow](http://Tensorflow.org) ir [PyTorch](http://pytorch.org). -* **Neuronines architektūras** darbui su vaizdais ir tekstu. Mes aptarsime naujausius modelius, tačiau galbūt šiek tiek trūks informacijos apie naujausią pažangą. -* Mažiau populiarius DI metodus, tokius kaip **genetiniai algoritmai** ir **daugiaveiksmės sistemos**. +* Skirtingas dirbtinio intelekto priemones, įskaitant "gerąją senąją" simbolinę priemonę su **Žinių reprezentacija** ir samprotavimais ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). +* **Neuroninius tinklus** ir **gilųjį mokymąsi**, kurie yra moderniojo DI pagrindas. Šiuos svarbius dalykus iliustruosime naudodami kodą dviejuose populiariausiuose karkasuose - [TensorFlow](http://Tensorflow.org) ir [PyTorch](http://pytorch.org). +* **Neuronines architektūras** darbui su vaizdais ir tekstu. Aptarsime naujausius modelius, tačiau jie galbūt šiek tiek atsilieka nuo naujausių pasiekimų. +* Mažiau populiarias DI priemones, tokias kaip **Genetiniai algoritmai** ir **Daugiatyriai agentų sistemos**. -Ko šioje mokymo programoje neaplankysime: +Ko neapžvelgsime šioje mokymo programoje: -> [Raskite visas papildomas išteklius šiam kursui mūsų Microsoft Learn kolekcijoje](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) +> [Raskite visas papildomas šio kurso išteklius mūsų Microsoft Learn kolekcijoje](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) -* Verslo atvejus, susijusius su **DI versle**. Apsvarstykite galimybę pasirinkti [Įvadas į DI verslo naudotojams](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) mokymosi kelią Microsoft Learn, arba [DI verslo mokyklą](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), sukurtą bendradarbiaujant su [INSEAD](https://www.insead.edu/). -* **Klasikinį mašininį mokymąsi**, kuris gerai aprašytas mūsų [Mašininio mokymosi pradedantiesiems mokymo programoje](http://github.com/Microsoft/ML-for-Beginners). -* Praktines DI taikymas naudojant **[Cognitive Services](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)**. Tam rekomenduojame pradėti nuo Microsoft Learn modulių apie [viziją](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), [natūralios kalbos apdorojimą](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[generatyvų DI su Azure OpenAI paslauga](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** ir kt. -* Specifines ML **debesų sistemas**, tokias kaip [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) arba [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). Apsvarstykite galimybę naudotis mokymosi keliais [Build and operate machine learning solutions with Azure Machine Learning](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) ir [Build and Operate Machine Learning Solutions with Azure Databricks](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum). -* **Pokalbinį DI** ir **patvirtintuvų robotus**. Tam yra atskiras [Sukurti pokalbinio DI sprendimus](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum) mokymosi kelias, taip pat galite kreiptis į [šį tinklaraščio įrašą](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/) išsamiau. -* **Gilias matematikas**, esančias už gilaus mokymosi. Tam rekomenduojame [Deep Learning](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) Ian Goodfellow, Yoshua Bengio ir Aaron Courville, kuris taip pat prieinamas internete adresu [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/). +* **DI versle** naudojimo verslo atvejų analizės. Rekomenduojame peržiūrėti [Įvadas į DI verslo naudotojams](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) mokymosi kelią Microsoft Learn, arba [DI verslo mokyklą](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), sukurtą bendradarbiaujant su [INSEAD](https://www.insead.edu/). +* **Klasikinį mašininį mokymąsi**, kuris gerai išdėstytas mūsų [Mašininio mokymosi pradedantiesiems mokymo programoje](http://github.com/Microsoft/ML-for-Beginners). +* Praktines DI taikymo programas, sukurtas naudojant **[Kognityvines paslaugas](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)**. Tam rekomenduojame pradėti nuo Microsoft Learn modulių apie [viziją](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), [natūralios kalbos apdorojimą](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[Generatyvų DI su Azure OpenAI paslauga](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** ir kt. +* Specifinius ML **debesų karkasus**, tokius kaip [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) ar [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). Rekomenduojame naudoti mokymosi kelius [Build and operate machine learning solutions with Azure Machine Learning](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) ir [Build and Operate Machine Learning Solutions with Azure Databricks](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum). +* **Pokalbinius DI** ir **pokalbių robotus**. Yra atskiras [kurso kelias kurti pokalbinius DI sprendimus](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum), o daugiau informacijos galite rasti [šiame tinklaraščio įraše](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/). +* **Gilus matematikas**, slypintis už giliosios mokymosi teorijos. Tam rekomenduojame knygą [Deep Learning](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) autoriais Ian Goodfellow, Yoshua Bengio ir Aaron Courville, kuri taip pat prieinama internete adresu [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/). -Norėdami švelniai įsisavinti _DI debesyse_ temas, galite pasirinkti [Pradėti dirbtinį intelektą Azure](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum) mokymosi kelią. +Švelniam įvadui į _DI debesyje_ temas galite pasižvalgyti [Get started with artificial intelligence on Azure](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum) mokymosi kelyje. # Turinys -| | Pamokos nuoroda | PyTorch/Keras/TensorFlow | Laboratorija | -| :-: | :------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------ | -| 0 | [Kurso nustatymai](./lessons/0-course-setup/setup.md) | [Sukurkite savo kūrimo aplinką](./lessons/0-course-setup/how-to-run.md) | | -| I | [**Įvadas į DI**](./lessons/1-Intro/README.md) | | | -| 01 | [Įvadas ir DI istorija](./lessons/1-Intro/README.md) | - | - | +| | Pamokos nuoroda | PyTorch/Keras/TensorFlow | Laboratorija | +| :-: | :--------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------: | ----------------------------------------------------------------- | +| 0 | [Kurso paruošimas](./lessons/0-course-setup/setup.md) | [Paruoškite savo kūrimo aplinką](./lessons/0-course-setup/how-to-run.md) | | +| I | [**Įvadas į DI**](./lessons/1-Intro/README.md) | | | +| 01 | [DI įvadas ir istorija](./lessons/1-Intro/README.md) | - | - | | II | **Simbolinis DI** | | 02 | [Žinių atvaizdavimas ir ekspertinės sistemos](./lessons/2-Symbolic/README.md) | [Ekspertinės sistemos](./lessons/2-Symbolic/Animals.ipynb) / [Ontologija](./lessons/2-Symbolic/FamilyOntology.ipynb) /[Koncepcijų grafas](./lessons/2-Symbolic/MSConceptGraph.ipynb) | | | III | [**Įvadas į neuroninius tinklus**](./lessons/3-NeuralNetworks/README.md) ||| -| 03 | [Perceptronas](./lessons/3-NeuralNetworks/03-Perceptron/README.md) | [Užrašų knygelė](./lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb) | [Laboratorija](./lessons/3-NeuralNetworks/03-Perceptron/lab/README.md) | -| 04 | [Daugiapakopis perceptronas ir savo karkaso kūrimas](./lessons/3-NeuralNetworks/04-OwnFramework/README.md) | [Užrašų knygelė](./lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb) | [Laboratorija](./lessons/3-NeuralNetworks/04-OwnFramework/lab/README.md) | -| 05 | [Įvadas į karkasus (PyTorch/TensorFlow) ir persimokymas](./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) | [Laboratorija](./lessons/3-NeuralNetworks/05-Frameworks/lab/README.md) | -| IV | [**Kompiuterinė vizija**](./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)| [Tyrinėkite kompiuterinę viziją Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) | -| 06 | [Įvadas į kompiuterinę viziją. OpenCV](./lessons/4-ComputerVision/06-IntroCV/README.md) | [Užrašų knygelė](./lessons/4-ComputerVision/06-IntroCV/OpenCV.ipynb) | [Laboratorija](./lessons/4-ComputerVision/06-IntroCV/lab/README.md) | -| 07 | [Sukonvoliuciniai neuroniniai tinklai](./lessons/4-ComputerVision/07-ConvNets/README.md) & [SUK architektūros](./lessons/4-ComputerVision/07-ConvNets/CNN_Architectures.md) | [PyTorch](./lessons/4-ComputerVision/07-ConvNets/ConvNetsPyTorch.ipynb) /[TensorFlow](./lessons/4-ComputerVision/07-ConvNets/ConvNetsTF.ipynb) | [Laboratorija](./lessons/4-ComputerVision/07-ConvNets/lab/README.md) | -| 08 | [Iš anksto apmokyti tinklai ir perdavimo mokymasis](./lessons/4-ComputerVision/08-TransferLearning/README.md) ir [Mokymo triukai](./lessons/4-ComputerVision/08-TransferLearning/TrainingTricks.md) | [PyTorch](./lessons/4-ComputerVision/08-TransferLearning/TransferLearningPyTorch.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Laboratorija](./lessons/4-ComputerVision/08-TransferLearning/lab/README.md) | +| 03 | [Perceptronas](./lessons/3-NeuralNetworks/03-Perceptron/README.md) | [Uždavinys](./lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb) | [Dirbtuvės](./lessons/3-NeuralNetworks/03-Perceptron/lab/README.md) | +| 04 | [Daugiasluoksnis perceptronas ir savo sistemos kūrimas](./lessons/3-NeuralNetworks/04-OwnFramework/README.md) | [Uždavinys](./lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb) | [Dirbtuvės](./lessons/3-NeuralNetworks/04-OwnFramework/lab/README.md) | +| 05 | [Įvadas į sistemas (PyTorch/TensorFlow) ir persepimas](./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) | [Dirbtuvės](./lessons/3-NeuralNetworks/05-Frameworks/lab/README.md) | +| IV | [**Kompiuterinė rega**](./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)| [Tyrinėkite kompiuterinę regą Microsoft Azure platformoje](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) | +| 06 | [Įvadas į kompiuterinę regą. OpenCV](./lessons/4-ComputerVision/06-IntroCV/README.md) | [Uždavinys](./lessons/4-ComputerVision/06-IntroCV/OpenCV.ipynb) | [Dirbtuvės](./lessons/4-ComputerVision/06-IntroCV/lab/README.md) | +| 07 | [Konvoliuciniai neuroniniai tinklai](./lessons/4-ComputerVision/07-ConvNets/README.md) & [CNN architektūros](./lessons/4-ComputerVision/07-ConvNets/CNN_Architectures.md) | [PyTorch](./lessons/4-ComputerVision/07-ConvNets/ConvNetsPyTorch.ipynb) /[TensorFlow](./lessons/4-ComputerVision/07-ConvNets/ConvNetsTF.ipynb) | [Dirbtuvės](./lessons/4-ComputerVision/07-ConvNets/lab/README.md) | +| 08 | [Iš anksto apmokyti tinklai ir perdavimo mokymasis](./lessons/4-ComputerVision/08-TransferLearning/README.md) ir [Mokymosi triukai](./lessons/4-ComputerVision/08-TransferLearning/TrainingTricks.md) | [PyTorch](./lessons/4-ComputerVision/08-TransferLearning/TransferLearningPyTorch.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Dirbtuvės](./lessons/4-ComputerVision/08-TransferLearning/lab/README.md) | | 09 | [Autoenkoderiai ir 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 | [Generatyviniai priešininkų tinklai ir meninio stiliaus perkėlimas](./lessons/4-ComputerVision/10-GANs/README.md) | [PyTorch](./lessons/4-ComputerVision/10-GANs/GANPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/10-GANs/GANTF.ipynb) | | -| 11 | [Objektų aptikimas](./lessons/4-ComputerVision/11-ObjectDetection/README.md) | [TensorFlow](./lessons/4-ComputerVision/11-ObjectDetection/ObjectDetection.ipynb) | [Laboratorija](./lessons/4-ComputerVision/11-ObjectDetection/lab/README.md) | +| 10 | [Generatyviniai priešiniai tinklai ir meninio stiliaus perkėlimas](./lessons/4-ComputerVision/10-GANs/README.md) | [PyTorch](./lessons/4-ComputerVision/10-GANs/GANPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/10-GANs/GANTF.ipynb) | | +| 11 | [Objektų aptikimas](./lessons/4-ComputerVision/11-ObjectDetection/README.md) | [TensorFlow](./lessons/4-ComputerVision/11-ObjectDetection/ObjectDetection.ipynb) | [Dirbtuvės](./lessons/4-ComputerVision/11-ObjectDetection/lab/README.md) | | 12 | [Semantinė segmentacija. 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ūralios kalbos apdorojimas**](./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) | [Tyrinėkite natūralios kalbos apdorojimą Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| +| V | [**Natūralios kalbos apdorojimas**](./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) | [Tyrinėkite natūralios kalbos apdorojimą Microsoft Azure platformoje](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| | 13 | [Teksto atvaizdavimas. 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 | [Semantinės žodžių įterptinės reikšmės. Word2Vec ir 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 | [Kalbos modeliavimas. Savų įterptinių reikšmių mokymas](./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) | [Laboratorija](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | -| 16 | [Rekurentiniai neuroniniai tinklai](./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 | [Generatyviniai rekurentiniai tinklai](./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) | [Laboratorija](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | -| 18 | [Transformeriai. 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 | [Pavadintųjų objektų atpažinimas](./lessons/5-NLP/19-NER/README.md) | [TensorFlow](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [Laboratorija](./lessons/5-NLP/19-NER/lab/README.md) | -| 20 | [Dideli kalbos modeliai, komandų programavimas ir keletas užduočių po vieną pavyzdį](./lessons/5-NLP/20-LangModels/README.md) | [PyTorch](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/20-LangModels/GPT-PyTorch.ipynb) | | +| 14 | [Semantiniai žodžių įrašai. Word2Vec ir 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 | [Kalbos modeliavimas. Savo įrašų mokymas](./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) | [Dirbtuvės](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | +| 16 | [Pasikartojantys neuroniniai tinklai](./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 | [Generatyviniai pasikartojantys tinklai](./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) | [Dirbtuvės](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | +| 18 | [Transformatoriai. 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 | [Vardinės reikšmės atpažinimas](./lessons/5-NLP/19-NER/README.md) | [TensorFlow](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [Dirbtuvės](./lessons/5-NLP/19-NER/lab/README.md) | +| 20 | [Dideli kalbos modeliai, užklausų programavimas ir kelių pavyzdžių užduotys](./lessons/5-NLP/20-LangModels/README.md) | [PyTorch](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/20-LangModels/GPT-PyTorch.ipynb) | | | VI | **Kitos DI technikos** || | -| 21 | [Genetiniai algoritmai](./lessons/6-Other/21-GeneticAlgorithms/README.md) | [Užrašų knygelė](./lessons/6-Other/21-GeneticAlgorithms/Genetic.ipynb) | | -| 22 | [Gilus stiprinamasis mokymasis](./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) | [Laboratorija](./lessons/6-Other/22-DeepRL/lab/README.md) | -| 23 | [Daugelio agentų sistemos](./lessons/6-Other/23-MultiagentSystems/README.md) | | | +| 21 | [Genetiniai algoritmai](./lessons/6-Other/21-GeneticAlgorithms/README.md) | [Uždavinys](./lessons/6-Other/21-GeneticAlgorithms/Genetic.ipynb) | | +| 22 | [Gilus sustiprinamasis mokymasis](./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) | [Dirbtuvės](./lessons/6-Other/22-DeepRL/lab/README.md) | +| 23 | [Daugiaveiksmės sistemos](./lessons/6-Other/23-MultiagentSystems/README.md) | | | | VII | **DI etika** | | | | 24 | [DI etika ir atsakingas DI](./lessons/7-Ethics/README.md) | [Microsoft Learn: Atsakingo DI principai](https://docs.microsoft.com/learn/paths/responsible-ai-business-principles/?WT.mc_id=academic-77998-cacaste) | | -| IX | **Papildoma medžiaga** | | | -| 25 | [Daugiaplasmės tinklai, CLIP ir VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [Užrašų knygelė](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | +| IX | **Papildymai** | | | +| 25 | [Daugiakanalės tinklai, CLIP ir VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [Uždavinys](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | ## Kiekviena pamoka apima - -* Prieš skaitymą skirtą medžiagą -* Vykdomas Jupyter užrašų knygeles, kurios dažnai būna konkrečios konkrečiam karkasui (**PyTorch** arba **TensorFlow**). Vykdoma užrašų knygelė taip pat apima daug teorinės medžiagos, todėl norint suprasti temą reikia pereiti bent vieną iš užrašų knygelės versijų (PyTorch arba TensorFlow). -* Kai kuriuose skyriuose yra **laboratorijų** su galimybe išbandyti išmoktas žinias taikant jas konkrečioje užduotyje. -* Kai kurie skyriai turi nuorodų į [**MS Learn**](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) modulius, apimančius susijusias temas. +* Skaitymo medžiaga prieš pradžią +* Vykdomieji Jupyter užrašų knygelės, dažnai susijusios su konkrečia sistema (**PyTorch** arba **TensorFlow**). Vykdoma užrašų knygelė taip pat talpina daug teorinės medžiagos, todėl norint suprasti temą, reikia peržiūrėti bent vieną užrašų knygelės versiją (arba PyTorch, arba TensorFlow). +* **Laboratoriniai darbai** prieinami kai kurioms temoms, suteikiantys galimybę pritaikyti išmoktas medžiagas konkrečiam uždaviniui. +* Kai kurios skyriai turi nuorodas į [**MS Learn**](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) modulius, apimančius susijusias temas. ## Pradžia -### 🎯 Naujas DI? Pradėkite čia! +### 🎯 Naujas AI? Pradėkite čia! -Jei esate visiškai naujas DI ir norite greitų, praktinių pavyzdžių, žiūrėkite mūsų [**Pradedančiųjų draugiškus pavyzdžius**](./examples/README.md)! Tai apima: +Jei esate visiškai naujas dirbtiniame intelekte ir norite greitų, praktiškų pavyzdžių, apsilankykite mūsų [**Pradedančiųjų draugiškų pavyzdžių**](./examples/README.md) kolekcijoje! Tai apima: -- 🌟 **Sveikas DI pasauly!** - Jūsų pirmoji DI programa (modelių atpažinimas) +- 🌟 **Sveikas, AI pasauli!** - Jūsų pirmoji AI programa (modelių atpažinimas) - 🧠 **Paprastas neuroninis tinklas** - Sukurkite neuroninį tinklą nuo nulio -- 🖼️ **Vaizdų klasifikatorius** - Klasifikuokite vaizdus su išsamiais komentarais -- 💬 **Teksto nuotaika** - Analizuokite teigiamą/neigiamą tekstą +- 🖼️ **Vaizdų klasifikatorius** - Klasifikuokite vaizdus su detaliais komentarais +- 💬 **Teksto nuotaika** - Analizuokite teigiamus/ neigiamus tekstus -Šie pavyzdžiai sukurti tam, kad padėtų jums suprasti DI sąvokas prieš pradedant visą mokymo programą. +Šie pavyzdžiai skirti padėti jums suprasti AI koncepcijas prieš gilinantis į visą mokymo programą. -### 📚 Pilna mokymo programa +### 📚 Visos mokymo programos nustatymas -- Mes sukūrėme [įdiegimo pamoką](./lessons/0-course-setup/setup.md), kad padėtume jums nustatyti kūrimo aplinką. - Mokytojams taip pat paruošėme [mokymo programų diegimo pamoką](./lessons/0-course-setup/for-teachers.md)! -- Kaip [paleisti kodą VSCode arba Codespace](./lessons/0-course-setup/how-to-run.md) +- Sukūrėme [įvedimo pamoką](./lessons/0-course-setup/setup.md), kuri padės sutvarkyti jūsų kūrimo aplinką. +- Mokytojams taip pat esame paruošę [mokymo programos nustatymo pamoką](./lessons/0-course-setup/for-teachers.md)! +- Kaip [paleisti kodą VSCode arba Codespace aplinkoje](./lessons/0-course-setup/how-to-run.md) -Sekite šiuos žingsnius: +Atlikite šiuos veiksmus: -Padarykite sau Forką: spustelėkite mygtuką „Fork“ šio puslapio viršutiniame dešiniajame kampe. +Repozitorijos šakninimas: Spustelėkite mygtuką „Fork“ viršutiniame dešiniajame šio puslapio kampe. -Klonavimas: `git clone https://github.com/microsoft/AI-For-Beginners.git` +Klonuokite repozitoriją: `git clone https://github.com/microsoft/AI-For-Beginners.git` -Nepamirškite pažymėti (🌟) šį repozitorijų, kad vėliau lengviau jį surastumėte. +Neužmirškite pažymėti (🌟) šią repozitoriją, kad vėliau ją lengviau rastumėte. -## Susipažinkite su kitais mokiniais +## Susipažinkite su kitais besimokančiaisiais -Prisijunkite prie mūsų [oficialaus DI Discord serverio](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum), kur galėsite susipažinti ir užmegzti ryšius su kitais šią kursą besimokančiais bei gauti pagalbą. +Prisijunkite prie mūsų [oficialaus AI Discord serverio](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum), kur susitinkate ir bendraujate su kitais šį kursą lankančiais studentais bei gaunate pagalbą. -Jei turite produktų atsiliepimų ar klausimų kuriant, apsilankykite mūsų [Azure AI Foundry kūrėjų forume](https://aka.ms/foundry/forum) +Jeigu turite atsiliepimų apie produktą ar klausimų kūrimo metu, apsilankykite mūsų [Azure AI Foundry kūrėjų forume](https://aka.ms/foundry/forum) ## Testai -> **Pastaba apie testus**: Visi testai yra Quiz-app aplanke adresu etc\quiz-app arba [internete čia](https://ff-quizzes.netlify.app/). Jie yra susieti pamokose, testų programą galite paleisti vietoje arba išdiegti į Azure; vadovaukitės nurodymais `quiz-app` aplanke. Testai palaipsniui lokalizuojami. +> **Pastaba apie testus**: Visi testai yra talpinami aplanke Quiz-app kataloge etc\quiz-app, arba [internete čia](https://ff-quizzes.netlify.app/) Jie yra susieti iš pamokų, testų programėlę galima vykdyti vietoje arba diegti Azure aplinkoje; sekite instrukcijas `quiz-app` kataloge. Testai palaipsniui lokalizuojami. -## Reikalinga pagalba +## Pagalbos prašymas -Ar turite pasiūlymų arba radote rašybos ar kodo klaidų? Užregistruokite problemą arba sukurkite pull request. +Turite pasiūlymų arba radote rašybos ar kodo klaidų? Pateikite klausimą (issue) arba sukurkite pull request. ## Specialūs padėkos žodžiai -* **✍️ Pagrindinis autorius:** [Dmitry Soshnikov](http://soshnikov.com), PhD -* **🔥 Redaktorius:** [Jen Looper](https://twitter.com/jenlooper), PhD -* **🎨 Iliustratorė:** [Tomomi Imura](https://twitter.com/girlie_mac) -* **✅ Testų kūrėja:** [Lateefah Bello](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) -* **🙏 Pagrindiniai bendradarbiai:** [Evgenii Pishchik](https://github.com/Pe4enIks) +* **✍️ Pagrindinis autorius:** [Dmitry Soshnikov](http://soshnikov.com), PhD +* **🔥 Redaktorius:** [Jen Looper](https://twitter.com/jenlooper), PhD +* **🎨 Sketchnote iliustratorius:** [Tomomi Imura](https://twitter.com/girlie_mac) +* **✅ Testų kūrėja:** [Lateefah Bello](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) +* **🙏 Pagrindiniai indėlininkai:** [Evgenii Pishchik](https://github.com/Pe4enIks) ## Kitos mokymo programos -Mūsų komanda kuria ir kitas mokymo programas! Peržiūrėkite: +Mūsų komanda kuria ir kitas mokymo programas! Pažvelkite: ### LangChain -[![LangChain4j pradedantiesiems](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 pradedantiesiems](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 pradedantiesiems](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 pradedantiesiems](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 pradedantiesiems](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 pradedantiesiems](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 / Agentai -[![AZD pradedantiesiems](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 DI pradedantiesiems](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 pradedantiesiems](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) -[![DI agentai pradedantiesiems](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 pradedantiesiems](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 pradedantiesiems](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 pradedantiesiems](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 agentai pradedantiesiems](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) --- - -### Generatyvioji DI serija -[![Generatyvioji DI pradedantiesiems](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) -[![Generatyvioji DI (.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) -[![Generatyvioji DI (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) -[![Generatyvioji DI (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) + +### Generatyvinis AI serija +[![Generatyvinis AI pradedantiesiems](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) +[![Generatyvinis 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) +[![Generatyvinis 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) +[![Generatyvinis 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) --- - -### Pagrindinis mokymasis -[![ML pradedantiesiems](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) -[![Duomenų mokslas pradedantiesiems](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) -[![DI pradedantiesiems](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) -[![Kibernetinis saugumas pradedantiesiems](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 plėtra pradedantiesiems](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 pradedantiesiems](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 plėtra pradedantiesiems](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) + +### Pagrindinis mokymasis +[![ML pradedantiesiems](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) +[![Duomenų mokslas pradedantiesiems](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 pradedantiesiems](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) +[![Kibernetinis saugumas pradedantiesiems](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) +[![Internetinių svetainių kūrimas pradedantiesiems](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 pradedantiesiems](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 kūrimas pradedantiesiems](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 serija -[![Copilot DI porinis programavimas](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 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 nuotykiai](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 serija +[![Copilot dirbtinio intelekto porinimui programuojant](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 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) ## Pagalbos gavimas -Jei įstrigote ar turite klausimų apie DI programų kūrimą, prisijunkite prie bendraminčių mokinių ir patyrusių kūrėjų diskusijose apie MCP. Čia draugiška bendruomenė, kurioje klausimai yra laukiami, o žinios laisvai dalijamos. +Jei įstringate arba turite klausimų apie AI programėlių kūrimą, prisijunkite prie kitų besimokančių ir patyrusių programuotojų diskusijų apie MCP. Tai palaikanti bendruomenė, kurioje klausimai laukiami ir žinios dalijamasi laisvai. [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -Jeigu turite produktų atsiliepimų ar klaidų kūrimo metu, apsilankykite: +Jei turite produktų atsiliepimų arba klaidų kūrimo metu, apsilankykite: [![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 @@ Jeigu turite produktų atsiliepimų ar klaidų kūrimo metu, apsilankykite: **Atsakomybės apribojimas**: -Šis dokumentas išverstas naudojant dirbtinio intelekto vertimo paslaugą [Co-op Translator](https://github.com/Azure/co-op-translator). Nors siekiame tikslumo, prašome suprasti, kad automatizuoti vertimai gali turėti klaidų ar netikslumų. Pradiniame kalbos dokumente pateikta versija yra laikoma autoritetingu šaltiniu. Jei reikia kritinės informacijos, rekomenduojamas profesionalus žmogaus vertimas. Mes nesame atsakingi už jokius nesusipratimus ar klaidingus aiškinimus, kilusius naudojant šį vertimą. +Šis dokumentas buvo išverstas naudojant dirbtinio intelekto vertimo paslaugą [Co-op Translator](https://github.com/Azure/co-op-translator). Nors siekiame tikslumo, atkreipkite dėmesį, kad automatiniai vertimai gali turėti klaidų ar netikslumų. Originalus dokumentas gimtąja kalba turėtų būti laikomas autoritetingu šaltiniu. Svarbiai informacijai rekomenduojamas profesionalus žmogaus vertimas. Mes neatsakome už bet kokius nesusipratimus ar neteisingą aiškinimą, kilusį naudojant šį vertimą. \ No newline at end of file diff --git a/translations/lt/lessons/2-Symbolic/MSConceptGraph.ipynb b/translations/lt/lessons/2-Symbolic/MSConceptGraph.ipynb index 075125a0..886cea86 100644 --- a/translations/lt/lessons/2-Symbolic/MSConceptGraph.ipynb +++ b/translations/lt/lessons/2-Symbolic/MSConceptGraph.ipynb @@ -1,538 +1,532 @@ { - "cells": [ - { - "cell_type": "markdown", - "metadata": { - "collapsed": true - }, - "source": [ - "## Microsoft Concept Graph - Ši API NEBEPASIEKIAMA, BET PRAŠOME PERŽIŪRĖTI UŽRAŠŲ KNYGĄ, KAD SUPRASTUMĖTE KONCEPCIJĄ\n", - "\n", - "[Microsoft Concept Graph](https://concept.research.microsoft.com/) yra didelė terminų taksonomija, surinkta iš interneto, su `is-a` ryšiais tarp koncepcijų.\n", - "\n", - "Context Graph yra prieinamas dviem formomis:\n", - " * Didelis tekstinis failas atsisiuntimui\n", - " * REST API\n", - "\n", - "Statistika:\n", - " * 5401933 unikalios koncepcijos,\n", - " * 12551613 unikalūs pavyzdžiai\n", - " * 87603947 `is-a` ryšiai\n" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Naudojimasis internetine paslauga\n", - "\n", - "Internetinė paslauga siūlo įvairius užklausų tipus, leidžiančius įvertinti tikimybę, kad tam tikra sąvoka priklauso skirtingoms grupėms. Daugiau informacijos rasite [čia](https://concept.research.microsoft.com/Home/Api). Štai pavyzdinis URL užklausai: `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": [ - "Pabandykime suskirstyti naujienų antraštes pagal pagrindines sąvokas. Norėdami gauti naujienų antraštes, naudosime [NewsApi.org](http://newsapi.org) paslaugą. Jums reikės gauti savo API raktą, kad galėtumėte naudotis paslauga - eikite į svetainę ir užsiregistruokite nemokamam kūrėjo planui.\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": [ - "Visų pirma, norime išgauti daiktavardžius iš naujienų antraščių. Tam naudosime biblioteką `TextBlob`, kuri labai supaprastina daugelį tipinių NLP užduočių, tokių kaip ši.\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": [ - "Matome, kad daiktavardžiai nesuteikia mums didelių teminių grupių. Pakeiskime daiktavardžius bendresniais terminais, gautais iš koncepcijų grafiko. Tai užtruks šiek tiek laiko, nes kiekvienai daiktavardžio frazei atliekame REST užklausą.\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**Atsakomybės atsisakymas**: \nŠis dokumentas buvo išverstas naudojant AI vertimo paslaugą [Co-op Translator](https://github.com/Azure/co-op-translator). Nors stengiamės užtikrinti tikslumą, prašome atkreipti dėmesį, kad automatiniai vertimai gali turėti klaidų ar netikslumų. Originalus dokumentas jo gimtąja kalba turėtų būti laikomas autoritetingu šaltiniu. Kritinei informacijai rekomenduojama naudoti profesionalų žmogaus vertimą. Mes neprisiimame atsakomybės už nesusipratimus ar neteisingus interpretavimus, atsiradusius dėl šio vertimo naudojimo.\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-03T19:00:19+00:00", - "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", - "language_code": "lt" - } + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "collapsed": true + }, + "source": [ + "## Koncepcijų grafas naudojant ConceptNet\n", + "\n", + "> **Pastaba:** Originalus [Microsoft Concept Graph](https://concept.research.microsoft.com/) API nebėra prieinamas. Šis užrašų knygelės failas atnaujintas naudojant [ConceptNet](https://conceptnet.io/) kaip pakaitalą, tai laisvai prieinamas atviras žinių grafas su panašiomis `is-a` ryšio tarp koncepcijų reikšmėmis.\n", + "\n", + "[ConceptNet](https://conceptnet.io/) yra didelis semantinis koncepcijų tinklas su ryšiais, tokiais kaip `IsA`, `PartOf`, `UsedFor` ir kt. Jis yra prieinamas kaip:\n", + " * Atsisiunčiamas duomenų failas\n", + " * REST API (nereikia API rakto)\n", + "\n", + "ConceptNet statistika:\n", + " * Virš 8 milijonų mazgų\n", + " * 21+ milijonų ryšių 83 kalbose\n" + ] }, - "nbformat": 4, - "nbformat_minor": 2 + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## ConceptNet internetinės paslaugos naudojimas\n", + "\n", + "[ConceptNet](https://conceptnet.io/) teikia REST API, leidžiantį tyrinėti `is-a` (IsA) santykius tarp sąvokų. API raktas nereikalingas.\n", + "Štai pavyzdinis URL užklausai: `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": [ + "Pabandykime sugrupuoti naujienų antraštes pagal pagrindines sąvokas. Norėdami gauti naujienų antraštes, naudosime [NewsApi.org](http://newsapi.org) paslaugą. Jums reikia gauti savo API raktą, kad galėtumėte naudotis šia paslauga – eikite į svetainę ir užsiregistruokite nemokamam kūrėjo planui.\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": [ + "Visų pirma, mes norime sugebėti išgauti daiktavardžius iš naujienų pavadinimų. Tam naudosime `TextBlob` biblioteką, kuri palengvina daugelį tokių įprastų NLP užduočių.\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": [ + "Matome, kad daiktavardžiai mums nesuteikia didelių teminių grupių. Pakeiskime daiktavardžius bendresniais terminais, gautais iš sąvokų grafiko. Tai užtruks šiek tiek laiko, nes kiekvienai daiktavardžio frazei atliekame REST užklausą.\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**Atsakomybės atsisakymas**:\nŠis dokumentas buvo išverstas naudojant dirbtinio intelekto vertimo paslaugą [Co-op Translator](https://github.com/Azure/co-op-translator). Nors stengiamės užtikrinti tikslumą, prašome atkreipti dėmesį, kad automatizuoti vertimai gali turėti klaidų arba netikslumų. Originalus dokumentas jo gimtąja kalba turėtų būti laikomas autoritetingu šaltiniu. Svarbiai informacijai rekomenduojamas profesionalus žmogaus vertimas. Mes neatsakome už jokius nesusipratimus ar klaidingus aiškinimus, kilusius dėl šio vertimo naudojimo.\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/ta/.co-op-translator.json b/translations/ta/.co-op-translator.json index a39500b2..a4840a8b 100644 --- a/translations/ta/.co-op-translator.json +++ b/translations/ta/.co-op-translator.json @@ -6,8 +6,8 @@ "language_code": "ta" }, "README.md": { - "original_hash": "75fe3383afc51eaa84b82ace619ffea7", - "translation_date": "2026-02-06T09:27:43+00:00", + "original_hash": "9eaca839b0b3f6d7f0a195fd33cebd30", + "translation_date": "2026-02-28T09:31:41+00:00", "source_file": "README.md", "language_code": "ta" }, @@ -89,6 +89,12 @@ "source_file": "lessons/1-Intro/assignment.md", "language_code": "ta" }, + "lessons/2-Symbolic/MSConceptGraph.ipynb": { + "original_hash": "e5690bbc6e5119a96a8172ec7261db67", + "translation_date": "2026-02-28T09:26:58+00:00", + "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", + "language_code": "ta" + }, "lessons/2-Symbolic/README.md": { "original_hash": "f9f06b266b8b2bfc6b8792ff2bb1bea4", "translation_date": "2026-01-16T06:57:14+00:00", diff --git a/translations/ta/README.md b/translations/ta/README.md index ca3528d9..a7248a82 100644 --- a/translations/ta/README.md +++ b/translations/ta/README.md @@ -12,160 +12,168 @@ [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -# முதல்முறையாக கற்கArtificial Intelligence - பாடத்திட்டம் +# ஆரம்ப நிலை கற்க人工 அறிவியல் பாடத்திட்டம் |![Sketchnote by @girlie_mac https://twitter.com/girlie_mac](https://github.com/microsoft/AI-For-Beginners/raw/main/lessons/sketchnotes/ai-overview.png)| |:---:| -| AI முதன்முறையாக கற்றல் - _[கிர்லி_மேக்](https://twitter.com/girlie_mac) ஆல் செய்த ஸ்கெட்ச் நோட்_ | +| AI For Beginners - _அங்கீகாரம்: [@girlie_mac](https://twitter.com/girlie_mac)_ тарабынан உருவாக்கப்பட்டது | -**கற்பனை வாய்ந்த நுண்ணறிவு** (AI) உலகத்தை எங்கள் 12-வாரம், 24-பாடங்களுடைய பாடத்திட்டத்துடன் அறியுங்கள்! இது நடைமுறை பாடங்கள், வினாத்தாள் மற்றும் ஆய்வுக்கூடங்கள் கொண்டுள்ளது. பாடத்திட்டம் தொடக்க நிலை பிறைக்கும் மற்றும் TensorFlow மற்றும் PyTorch போன்ற கருவிகள் மற்றும் AI துறையில் நெறிமுறைகளையும் உள்ளடக்கியதாக உள்ளது. +**கற்க人工 அறிவியல்** (AI) உலகத்தைக் 12 வாரங்கள், 24 பாடங்களை கொண்ட பாடத்திட்டத்துடன் ஆராயுங்கள்! இதில் நடைமுறை பாடங்கள், வினாக்கள் மற்றும் ஆய்வுக்கூடங்கள் உள்ளன. இந்த பாடத்திட்டம் ஆரம்ப நிலைக்கேadecimalப்படுத்தப்பட்டும் TensorFlow, PyTorch போன்ற கருவிகளையும், AI இல் உள்ள எதிக்களைவும் கையாள்கிறது. -### 🌐 பல மொழி ஆதரவு +### 🌐 பல்மொழி ஆதரவு -#### GitHub செயல்படும் உதவியுடன் (தானாகவும் எப்போதும் மேம்படுத்தப்படும்) +#### GitHub செயல்பாடு மூலம் ஆதரிக்கப்படுகிறது (தானாகவும் எப்போதும் புதுப்பிக்கப்படும்) [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](../es/README.md) | [Swahili](../sw/README.md) | [Swedish](../sv/README.md) | [Tagalog (Filipino)](../tl/README.md) | [Tamil](./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) -> **உங்களை நகலெடுக்க விரும்புகிறீர்களா?** - -> இந்த களஞ்சியத்தில் 50+ மொழி மொழிபெயர்ப்புக்கள் உள்ளன, இது பதிவிறக்க அளவை பெரிதாக்குகிறது. மொழிபெயர்ப்புகள் இல்லாமல் நகலெடுக்க, sparse checkout பயன்படுத்தவும்: +> **உள்ளூரில் கிளோன் செய்ய விரும்புகிறீர்களா?** +> +> இந்த 50+ மொழி மொழிபெயர்ப்புகளை கொண்ட உள்ளமை நிரலில் பதிவிறக்க அளவை பெரிதும் அதிகரிக்கும். மொழிபெயர்ப்புகள் இல்லாமல் கிளோன் செய்ய, 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" +> ``` +> +> இது விரைவாக பதிவிறக்க பயன்படுத்த தேவையான அனைத்தையும் தருகிறது. -**மேலதிக மொழிபெயர்ப்பு மொழிகள் ஆதரிக்க விரும்பினால் இங்கே பட்டியலிடப்பட்டுள்ளன [here](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md)** +**மேலும் மொழிபெயர்ப்புகளுக்கு ஆதரவு விரும்பினால் இங்கு காணவும் [here](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md)** -## சமூகத்தில் சேருங்கள் +## சமுதாயத்தில் சேரவும் [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -## நீங்கள் என்ன கற்றுக்கொள்வீர்கள் +## நீங்கள் கற்கப்போகும் விஷயங்கள் -**[பாடத்தின் மன்சொறி வரைபடம்](http://soshnikov.com/courses/ai-for-beginners/mindmap.html)** +**[பாடநெறியின் மன மேப்பிங்](http://soshnikov.com/courses/ai-for-beginners/mindmap.html)** -இந்த பாடத்திட்டத்தில் நீங்கள் கற்றுக்கொள்வீர்கள்: +இந்த பாடத்திட்டத்தில் நீங்கள் கற்கப்போகும் விஷயங்கள்: -* "நல்ல பழைய" அடையாள வரையறை மற்றும் அறிநிலை காரணிப்பு உடன் **அறிவுச் சட்டியல்** உட்பட farklı செயற்கை நுண்ணறிவு அணுகுமுறைகள் ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). -* **நியூரல் நெட்வொர்க்குகள்** மற்றும் **ஆழ்ந்த கற்றல்**, இவை நவீன AI இன் மையத்தில் உள்ளன. இந்த முக்கிய தலைப்புகளின் பின்னணியில் இருக்கும் கருத்துக்களை இரண்டு பிரபலமான சூழலான நிகழ்த்தல் மென்பொருட்கள் - [TensorFlow](http://Tensorflow.org) மற்றும் [PyTorch](http://pytorch.org) - மூலம் விளக்குவோம். -* படங்கள் மற்றும் உரையுடன் வேலை செய்ய **நியூரல் அமைப்புகள்**. சமீபத்திய மாதிரிகள் பற்றிப் பேசுவோம், ஆனால் தற்போது நடந்துருக்கும் முன்னேற்றத்தில் சற்று குறைவு இருக்கலாம். -* குறைத்து பிரபலமான AI அணுகுமுறைகள், உதாரணமாக **மரபணு ஆல்காரிதம்கள்** மற்றும் **பன்முகக் காரியக்காரர் அமைப்புகள்**. +* "நற்சமயம்" குறியீட்டுக் கலைகள் (**Knowledge Representation**) மற்றும் காரணித்தன்மை உட்பட பல்வேறு செயற்கையறிவு அணுகுமுறைகள் ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). +* நவீன AI உடைய அங்கமாகிய **நுரையீரல் வலையமைப்புகள்** மற்றும் **ஆழ்ந்த கற்று முன்னேற்றம்**. இந்த முக்கியபட்ட கருத்துக்களை [TensorFlow](http://Tensorflow.org) மற்றும் [PyTorch](http://pytorch.org) ஆகிய இரு பிரபலமான கட்டமைப்புகளில் கற்றுக்ககுறியீடு மூலம் விளக்குவோம். +* படங்கள் மற்றும் உரைகளுடன் பணியாற்ற **நுரையீரல் கட்டமைப்புகள்**. சமீபத்திய மாதிரிகள் பற்றி பேசுவோம், ஆனால் ஆதி நிலைமையிலிருந்து சில விதிமுறைகளை அடையாமலும் இருக்கலாம். +* குறைவான பிரபலமுள்ள AI அணுகுமுறைகள், உதாரணமாக **மரபணு கணக்கியல்** மற்றும் **பல முகவர் அமைப்புகள்**. -இந்த பாடத்திட்டத்தில் நாங்கள் பேசப்போகாதவை: +இந்த பாடத்திட்டத்தில் சேராதவை: -> [இனையத்தில் Microsoft Learn தொகுப்பில் இந்த பாடத்திட்டத்திற்கு அனைத்து கூடுதல் வளங்களையும் காண்க](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) +> [இந்த பாடத்திட்டத்திற்கு அனைத்து கூடுதல் வளங்களையும் Microsoft Learn சேகரிப்பில் காண்க](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) -* **வணிகத்தில் AI** பயன்படுத்துவதற்கான வணிக வழக்குகள். Microsoft Learn இல் உள்ள [வணிகப் பயனாளிகளுக்கான AI அறிமுகம்](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) கற்றல் பாதையை ஏற்றுக்கொள்ளவும் அல்லது [AI வணிகப் பள்ளி](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), [INSEAD](https://www.insead.edu/) உடன் ஒத்துழைவுடன் உருவாக்கப்பட்டது. -* நம்முடைய [மெஷின் லெர்ணிங் முதல்முறையாளர்களுக்கான பாடத்திட்டம்](http://github.com/Microsoft/ML-for-Beginners) மூலம் நல்ல விளக்கம் காணப்படும் **சாதாரண மெஷின் லெர்ணிங்**. -* **[கோக்னிடிவ் சர்வீஸ்கள்](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)** கொண்டு உருவாக்கப்படும் நடைமுறை AI பயன்பாடுகள். இதற்காக, Microsoft Learn இல் உள்ள [காட்சி](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), [பொதுவான மொழி செயலாக்கம்](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[Azure OpenAI சேவையைப் பயன்படுத்தி உருவாக்கும் AI](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** மற்றும் பிற செயல்களைத் தொடங்க பரிந்துரைக்கின்றோம். -* **கடவு மேக அமைப்புக்கள்**, உதா: [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), அல்லது [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). [Azure Machine Learning மூலம் மெஷின் லெர்ணிங் தீர்வுகளை உருவாக்கவும் இயக்கவும்](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) மற்றும் [Azure Databricks மூலம் மெஷின் லெர்ணிங் தீர்வுகளை உருவாக்கவும் இயக்கவும்](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum) கற்றல் பாதைகளைப் பயன்படுத்த பரிந்துரைக்கிறோம். -* ** உரையாடல் AI** மற்றும் **சாட் பா்ட்கள்**. திறம்பட தயாரிக்கப்பட்ட [உரையாடல் AI தீர்வுகளை உருவாக்கு](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum) கற்றல் பாதை உள்ளது, மேலும் விவரங்களுக்கு [இந்த வலைப்பதிவு](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/)ஐ பார்க்கலாம். -* ஆழ்ந்த கற்றலுக்குப் பின்புற உள்ள **ஆழ்ந்த கணிதம்**. இதற்காக, Ian Goodfellow, Yoshua Bengio மற்றும் Aaron Courville எழுதிய [ஆழ்ந்த கற்றல்](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) புத்தகத்தை பரிந்துரைக்கிறோம், இது ஆன்லைனில் [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/) லும் கிடைக்கிறது. +* வணிகத்தில் AI பயன்படுத்தும் வழக்குகள். Microsoft Learn இல் உள்ள [வணிக பயனர்களுக்கான AI அறிமுகம்](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) வழிபடலை எடுத்துக்கொள்ளவும், அல்லது [AI வணிக பள்ளி](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum) என்பதை [INSEAD](https://www.insead.edu/) உடன் சேர்ந்து உருவாக்கப்பட்டது. +* பழைய வகை மெஷின் கற்றல், இது நமது [Machine Learning for Beginners Curriculum](http://github.com/Microsoft/ML-for-Beginners) இல் சிறந்த முறையில் விளக்கப்பட்டுள்ளது. +* நடைமுறை AI பயன்பாடுகள் **[கோக்னிட்டிவ் சர்வீசஸ்](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)** கொண்டு உருவாக்கப்படுகின்றன. இதற்காக, Microsoft Learn இல் உள்ள [காட்சி](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), [இயற்கை மொழி செயலாக்கம்](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[Azure OpenAI சேவையுடன் உருவாக்கும் AI](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** மற்றும் மற்ற தொகுதிகளை தொடங்க பரிந்துரைக்கிறோம். +* குறிப்பிட்ட மெஷின் கற்றல் **முக்கடல் கட்டமைப்புகள்**, உதாரணமாக [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), அல்லது [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). [Azure Machine Learning உடன் மெஷின் கற்றல் தீர்வுகளை உருவாக்கவும் இயக்கவும்](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) மற்றும் [Azure Databricks உடன் மெஷின் கற்றல் தீர்வுகளை உருவாக்கவும் இயக்கவும்](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum) ஆகிய வழிமுறைகளை பயன்படுத்த பரிந்துரைக்கிறோம். +* **அரட்டையாடும் AI** மற்றும் **சாட் பாட்டுகள்**. தனித்துவமான [அரட்டையாடும் AI தீர்வுகள் உருவாக்குதல்](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum) வழிமுறை உள்ளது, மேலும் [இந்த வலைப்பதிவு பதிவு](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/) கூட உதவும். +* ஆழ்ந்த கற்றலின் பின்னணி உள்ள **ஆழ்ந்த கணிதங்கள்**. இதற்கு, Ian Goodfellow, Yoshua Bengio மற்றும் Aaron Courville எழுதிய [ஆழ்ந்த கற்றல்](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) புத்தகத்தை பரிந்துரைக்கிறோம், இது ஆன்லைனிலும் கிடைக்கிறது [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/). -_கடவு கண்டறிதலை அறிமுகமாகக் கற்க_ விரும்பினால், [Azure இல் செயற்கை நுண்ணறிவுடன் துவங்கவும்](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum) கற்றல் பாதையை எடுத்துக்கொள்ளலாம். +_கிளவூட்டில் AI_க்கு மென்மையான அறிமுகம் தேவைப்பட்டால் [Azure இல் செயற்கை அறிவியலுடன் தொடங்கலாம்](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum) கற்றல் பாதையை எடுக்கலாம். # உள்ளடக்கம் -| | பாட இணைப்பு | PyTorch/Keras/TensorFlow | ஆய்வு கூடம் | +| | பாட லின்க் | PyTorch/Keras/TensorFlow | ஆய்வுக் கூடம் | | :-: | :------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------ | -| 0 | [பாட செயலாக்கம்](./lessons/0-course-setup/setup.md) | [உங்கள் மேம்பாட்டு சூழலை அமைக்கவும்](./lessons/0-course-setup/how-to-run.md) | | +| 0 | [கோர்ஸ் அமைப்பு](./lessons/0-course-setup/setup.md) | [உங்கள் மேம்பாட்டு சூழலை அமைக்கும் முறை](./lessons/0-course-setup/how-to-run.md) | | | I | [**AI அறிமுகம்**](./lessons/1-Intro/README.md) | | | -| 01 | [AI அறிமுகமும் வரலாறும்](./lessons/1-Intro/README.md) | - | - | -| II | **அறிவாய்வு AI** | -| 02 | [அறிவு பிரதிநிதித்துவம் மற்றும் நிபுணர் அமைப்புகள்](./lessons/2-Symbolic/README.md) | [நிபுணர் அமைப்புகள்](./lessons/2-Symbolic/Animals.ipynb) / [உணர்வு தொகுப்பு](./lessons/2-Symbolic/FamilyOntology.ipynb) /[கருத்துக் காட்சி](./lessons/2-Symbolic/MSConceptGraph.ipynb) | | -| III | [**நியூரல் நெட்வொர்க்குகள் அறிமுகம்**](./lessons/3-NeuralNetworks/README.md) ||| -| 03 | [பெர்செப்ட்ரான்](./lessons/3-NeuralNetworks/03-Perceptron/README.md) | [நோட்புக்](./lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb) | [லேப்](./lessons/3-NeuralNetworks/03-Perceptron/lab/README.md) | -| 04 | [பல அடுக்கு பெர்செப்ட்ரான் மற்றும் எங்கள் சொந்த கட்டமைப்பை உருவாக்குதல்](./lessons/3-NeuralNetworks/04-OwnFramework/README.md) | [நோட்புக்](./lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb) | [லேப்](./lessons/3-NeuralNetworks/04-OwnFramework/lab/README.md) | -| 05 | [கட்டமைப்புக்களுக்கு அறிமுகம் (PyTorch/TensorFlow) மற்றும் ஓவர்ஃபிட்டிங்](./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) | [லேப்](./lessons/3-NeuralNetworks/05-Frameworks/lab/README.md) | -| IV | [**கணினி பார்வை**](./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)| [Microsoft Azure-ல் கணினி பார்வையை ஆராயுங்கள்](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) | -| 06 | [கணினி பார்வைக்கான அறிமுகம். OpenCV](./lessons/4-ComputerVision/06-IntroCV/README.md) | [நோட்புக்](./lessons/4-ComputerVision/06-IntroCV/OpenCV.ipynb) | [லேப்](./lessons/4-ComputerVision/06-IntroCV/lab/README.md) | -| 07 | [கொன்வல்யூஷனல் நியூரல் நெட்வொர்க்குகள்](./lessons/4-ComputerVision/07-ConvNets/README.md) & [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) | [லேப்](./lessons/4-ComputerVision/07-ConvNets/lab/README.md) | -| 08 | [முன்னருந்து பயிற்சி பெற்ற நெட்வொர்க்குகள் மற்றும் மாற்று கற்றல்](./lessons/4-ComputerVision/08-TransferLearning/README.md) மற்றும் [பயிற்சி நுட்பங்கள்](./lessons/4-ComputerVision/08-TransferLearning/TrainingTricks.md) | [PyTorch](./lessons/4-ComputerVision/08-TransferLearning/TransferLearningPyTorch.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [லேப்](./lessons/4-ComputerVision/08-TransferLearning/lab/README.md) | -| 09 | [ஆட்டோஎன்கோடர்கள் மற்றும் 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 | [பரிணாம மோதல் நெட்வொர்க்குகள் மற்றும் கலை ஸ்டைல் மாற்றம்](./lessons/4-ComputerVision/10-GANs/README.md) | [PyTorch](./lessons/4-ComputerVision/10-GANs/GANPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/10-GANs/GANTF.ipynb) | | -| 11 | [பொருள் கண்டறிதல்](./lessons/4-ComputerVision/11-ObjectDetection/README.md) | [TensorFlow](./lessons/4-ComputerVision/11-ObjectDetection/ObjectDetection.ipynb) | [லேப்](./lessons/4-ComputerVision/11-ObjectDetection/lab/README.md) | -| 12 | [பொருள் பிரிவினை. 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 | [**இயற்கை மொழி செயலாக்கம்**](./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) | [Microsoft Azure-ல் இயற்கை மொழி செயலாக்கத்தை ஆராயுங்கள்](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| -| 13 | [உரை பிரதிநிதித்துவம். 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 | [அர்த்தமுள்ள வார்த்தை குறியாக்கங்கள். Word2Vec மற்றும் 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 | [மொழி மாதிரியாக்கல். உங்கள் சொந்த குறியாக்கங்களை பயிற்சி செய்தல்](./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) | [லேப்](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | -| 16 | [மீள நடை நியூரல் நெட்வொர்க்குகள்](./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 | [பரிணாம மீள நடை நெட்வொர்க்குகள்](./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) | [லேப்](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | -| 18 | [டிரான்ஸ்ஃபார்மர்கள். 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 | [பெயர் உள்ளடக்கிய அலகு அறிவு](./lessons/5-NLP/19-NER/README.md) | [TensorFlow](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [லேப்](./lessons/5-NLP/19-NER/lab/README.md) | -| 20 | [பெரிய மொழி மாதிரிகள், புகைப்பட நிரலைக்்குறிப்பு மற்றும் சில-காட்சி பணிகள்](./lessons/5-NLP/20-LangModels/README.md) | [PyTorch](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/20-LangModels/GPT-PyTorch.ipynb) | | -| VI | **மற்ற AI தொழில்நுட்பங்கள்** || | -| 21 | [மறுமலர்ச்சிச் செல்லுவியல் அலகுகள்](./lessons/6-Other/21-GeneticAlgorithms/README.md) | [நோட்புக்](./lessons/6-Other/21-GeneticAlgorithms/Genetic.ipynb) | | -| 22 | [ஆழ்ந்த ஊக்குவிப்பு கற்றல்](./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) | [லேப்](./lessons/6-Other/22-DeepRL/lab/README.md) | -| 23 | [பல முகவர் அமைப்புகள்](./lessons/6-Other/23-MultiagentSystems/README.md) | | | -| VII | **AI ஒழுக்கவியல்** | | | -| 24 | [AI ஒழுக்கவியல் மற்றும் பொறுப்புடைமையான AI](./lessons/7-Ethics/README.md) | [Microsoft Learn: பொறுப்புடைமையான AI கோட்பாடுகள்](https://docs.microsoft.com/learn/paths/responsible-ai-business-principles/?WT.mc_id=academic-77998-cacaste) | | +| 01 | [AI அறிமுகம் மற்றும் வரலாறு](./lessons/1-Intro/README.md) | - | - | +| II | **குறியீட்டு AI** | +| 02 | [அறிவுக் கொள்கை பிரதிநிதித்துவம் மற்றும் நிபுணர் அமைப்புகள்](./lessons/2-Symbolic/README.md) | [நிபுணர் அமைப்புகள்](./lessons/2-Symbolic/Animals.ipynb) / [ஒன்டாலஜி](./lessons/2-Symbolic/FamilyOntology.ipynb) /[கருத்துச் சித்திரம்](./lessons/2-Symbolic/MSConceptGraph.ipynb) | | +| III | [**நியூரல் நெட்வொர்க்குகளுக்கான அறிமுகம்**](./lessons/3-NeuralNetworks/README.md) ||| +| 03 | [பெர்செப்ட்ரான்](./lessons/3-NeuralNetworks/03-Perceptron/README.md) | [நோட்புக்](./lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb) | [பயிற்சி கூடம்](./lessons/3-NeuralNetworks/03-Perceptron/lab/README.md) | +| 04 | [பல அடுக்கான பெர்செப்ட்ரான் மற்றும் எங்கள் சொந்த கட்டமைப்பை உருவாக்குதல்](./lessons/3-NeuralNetworks/04-OwnFramework/README.md) | [நோட்புக்](./lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb) | [பயிற்சி கூடம்](./lessons/3-NeuralNetworks/04-OwnFramework/lab/README.md) | +| 05 | [கட்டமைப்புகளுக்கு அறிமுகம் (பைடார்ச்/டென்சர்ப்ளோ) மற்றும் மேலதிகமாக்கல்](./lessons/3-NeuralNetworks/05-Frameworks/README.md) | [பைடார்ச்](./lessons/3-NeuralNetworks/05-Frameworks/IntroPyTorch.ipynb) / [கேராஸ்](./lessons/3-NeuralNetworks/05-Frameworks/IntroKeras.ipynb) / [டென்சர்ப்ளோ](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [பயிற்சி கூடம்](./lessons/3-NeuralNetworks/05-Frameworks/lab/README.md) | +| IV | [**கணினி பார்வை**](./lessons/4-ComputerVision/README.md) | [பைடார்ச்](https://docs.microsoft.com/learn/modules/intro-computer-vision-pytorch/?WT.mc_id=academic-77998-cacaste) / [டென்சர்ப்ளோ](https://docs.microsoft.com/learn/modules/intro-computer-vision-TensorFlow/?WT.mc_id=academic-77998-cacaste)| [Microsoft Azureல் கணினி பார்வையை ஆராயுங்கள்](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) | +| 06 | [கணினி பார்வைக்கு அறிமுகம். OpenCV](./lessons/4-ComputerVision/06-IntroCV/README.md) | [நோட்புக்](./lessons/4-ComputerVision/06-IntroCV/OpenCV.ipynb) | [பயிற்சி கூடம்](./lessons/4-ComputerVision/06-IntroCV/lab/README.md) | +| 07 | [ஈற்றம் நியூரல் நெட்வொர்க்குகள்](./lessons/4-ComputerVision/07-ConvNets/README.md) & [CNN கட்டமைப்புகள்](./lessons/4-ComputerVision/07-ConvNets/CNN_Architectures.md) | [பைடார்ச்](./lessons/4-ComputerVision/07-ConvNets/ConvNetsPyTorch.ipynb) /[டென்சர்ப்ளோ](./lessons/4-ComputerVision/07-ConvNets/ConvNetsTF.ipynb) | [பயிற்சி கூடம்](./lessons/4-ComputerVision/07-ConvNets/lab/README.md) | +| 08 | [முன்னுக்கு பயிற்சி பெற்ற நெட்வொர்க்குகள் மற்றும் மாற்றுப் பயிற்சி](./lessons/4-ComputerVision/08-TransferLearning/README.md) மற்றும் [பயிற்சி கைமுறைகள்](./lessons/4-ComputerVision/08-TransferLearning/TrainingTricks.md) | [பைடார்ச்](./lessons/4-ComputerVision/08-TransferLearning/TransferLearningPyTorch.ipynb) / [டென்சர்ப்ளோ](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [பயிற்சி கூடம்](./lessons/4-ComputerVision/08-TransferLearning/lab/README.md) | +| 09 | [ஆட்டோஎன்கோடர்கள் மற்றும் VAEகள்](./lessons/4-ComputerVision/09-Autoencoders/README.md) | [பைடார்ச்](./lessons/4-ComputerVision/09-Autoencoders/AutoEncodersPyTorch.ipynb) / [டென்சர்ப்ளோ](./lessons/4-ComputerVision/09-Autoencoders/AutoencodersTF.ipynb) | | +| 10 | [உற்பத்தி எதிர்ப்பு நெட்வொர்க்குகள் மற்றும் கலைப் பாணி மாற்றம்](./lessons/4-ComputerVision/10-GANs/README.md) | [பைடார்ச்](./lessons/4-ComputerVision/10-GANs/GANPyTorch.ipynb) / [டென்சர்ப்ளோ](./lessons/4-ComputerVision/10-GANs/GANTF.ipynb) | | +| 11 | [பொருள் கண்டறிதல்](./lessons/4-ComputerVision/11-ObjectDetection/README.md) | [டென்சர்ப்ளோ](./lessons/4-ComputerVision/11-ObjectDetection/ObjectDetection.ipynb) | [பயிற்சி கூடம்](./lessons/4-ComputerVision/11-ObjectDetection/lab/README.md) | +| 12 | [பொருளமைப்பு பிரிவுகள். U-Net](./lessons/4-ComputerVision/12-Segmentation/README.md) | [பைடார்ச்](./lessons/4-ComputerVision/12-Segmentation/SemanticSegmentationPytorch.ipynb) / [டென்சர்ப்ளோ](./lessons/4-ComputerVision/12-Segmentation/SemanticSegmentationTF.ipynb) | | +| V | [**பொதுவான மொழி செயலாக்கம்**](./lessons/5-NLP/README.md) | [பைடார்ச்](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-pytorch/?WT.mc_id=academic-77998-cacaste) /[டென்சர்ப்ளோ](https://docs.microsoft.com/learn/modules/intro-natural-language-processing-TensorFlow/?WT.mc_id=academic-77998-cacaste) | [Microsoft Azureல் பொதுவான மொழி செயலாக்கத்தை ஆராயுங்கள்](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| +| 13 | [வெள்ளிவேட்டை குறியீடு. Bow/TF-IDF](./lessons/5-NLP/13-TextRep/README.md) | [பைடார்ச்](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationPyTorch.ipynb) / [டென்சர்ப்ளோ](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/13-TextRep/TextRepresentationTF.ipynb) | | +| 14 | [பொருள் சொல் சாரங்கள். Word2Vec மற்றும் GloVe](./lessons/5-NLP/14-Embeddings/README.md) | [பைடார்ச்](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsPyTorch.ipynb) / [டென்சர்ப்ளோ](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/14-Embeddings/EmbeddingsTF.ipynb) | | +| 15 | [மொழி மாதிரிகை. உங்கள் சொந்த சாரங்களை பயிற்சி செய்தல்](./lessons/5-NLP/15-LanguageModeling/README.md) | [பைடார்ச்](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-PyTorch.ipynb) / [டென்சர்ப்ளோ](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/15-LanguageModeling/CBoW-TF.ipynb) | [பயிற்சி கூடம்](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | +| 16 | [மறுவரிசை நியூரல் நெட்வொர்க்குகள்](./lessons/5-NLP/16-RNN/README.md) | [பைடார்ச்](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNPyTorch.ipynb) / [டென்சர்ப்ளோ](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/16-RNN/RNNTF.ipynb) | | +| 17 | [உற்பத்தியாற்றும் மறுவரிசை நெட்வொர்க்குகள்](./lessons/5-NLP/17-GenerativeNetworks/README.md) | [பைடார்ச்](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativePyTorch.ipynb) / [டென்சர்ப்ளோ](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/17-GenerativeNetworks/GenerativeTF.ipynb) | [பயிற்சி கூடம்](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | +| 18 | [மாற்றியமைப்பாளர்கள். BERT.](./lessons/5-NLP/18-Transformers/README.md) | [பைடார்ச்](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/18-Transformers/TransformersPyTorch.ipynb) /[டென்சர்ப்ளோ](https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/5-NLP/18-Transformers/TransformersTF.ipynb) | | +| 19 | [பெயரிடப்பட்டישות அலகு அடையாளம் காணுதல்](./lessons/5-NLP/19-NER/README.md) | [டென்சர்ப்ளோ](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [பயிற்சி கூடம்](./lessons/5-NLP/19-NER/lab/README.md) | +| 20 | [பெரிய மொழி மாதிரிகள், ப்ராம்ட் புரோகிராமிங் மற்றும் சில-காட்சி பணிகள்](./lessons/5-NLP/20-LangModels/README.md) | [பைடார்ச்](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/20-LangModels/GPT-PyTorch.ipynb) | | +| VI | **பிற AI தொழில்நுட்பங்கள்** || | +| 21 | [ஜெனெட்டிக் அணுகுமுறைகள்](./lessons/6-Other/21-GeneticAlgorithms/README.md) | [நோட்புக்](./lessons/6-Other/21-GeneticAlgorithms/Genetic.ipynb) | | +| 22 | [ஆழ்ந்த ஊக்கம் கற்றல்](./lessons/6-Other/22-DeepRL/README.md) | [பைடார்ச்](./lessons/6-Other/22-DeepRL/CartPole-RL-PyTorch.ipynb) /[டென்சர்ப்ளோ](./lessons/6-Other/22-DeepRL/CartPole-RL-TF.ipynb) | [பயிற்சி கூடம்](./lessons/6-Other/22-DeepRL/lab/README.md) | +| 23 | [பன்முக செயல்பாட்டு அமைப்புகள்](./lessons/6-Other/23-MultiagentSystems/README.md) | | | +| VII | **AI நெறிமுறைகள்** | | | +| 24 | [AI நெறிமுறைகள் மற்றும் பொறுப்பான AI](./lessons/7-Ethics/README.md) | [Microsoft Learn: பொறுப்பான AI கோட்பாடுகள்](https://docs.microsoft.com/learn/paths/responsible-ai-business-principles/?WT.mc_id=academic-77998-cacaste) | | | IX | **கூடுதல்** | | | -| 25 | [பல-மகுக சார்ந்த நெட்வொர்க்குகள், CLIP மற்றும் VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [நோட்புக்](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | +| 25 | [பன்முக நெட்வொர்க்குகள், CLIP மற்றும் VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [நோட்புக்](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | -## ஒவ்வொரு பாடமும் கொண்டிருக்கும் +## ஒவ்வொரு பாடத்திலும் உள்ளது +* முன்னோட்டப் பொருள் +* செயல்படுத்தக்கூடிய Jupyter நோட்டுபுக், இது பெரும்பாலும் கட்டமைப்புக்கு குறிப்படையாக இருக்கும் (**PyTorch** அல்லது **TensorFlow**). செயல்படுத்தக்கூடிய நோட்டுபுக் வளர்ச்சியியல் பொருள்களையும் மிகுந்த அளவில் கொண்டுள்ளது, ஆகையால் பொருளை புரிந்து கொள்ள குறைந்தது ஒரு பதிப்பு நோட்டுபுக்கை (PyTorch அல்லத TensorFlow) படிக்க வேண்டும். +* சில தலைப்புகளுக்கு கிடைக்கும் **சேவில்கள்**, இவை நீங்கள் கற்றுக்கொண்ட பொருளை ஒரு குறிப்பிட்ட பிரச்சினையில் பயன்படுத்த முயல்வதற்கான வாய்ப்பாகும். +* சில பிரிவுகள் தொடர்புடைய தலைப்புகளை உள்ளடக்கும் [**MS Learn**](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) மாட்யூல்கள் இணைப்புகளை கொண்டுள்ளன. -* முன் பாடக் கற்றல் பொருள் -* செயற்படுத்தக்கூடிய ஜுபிட்டர் நோட்புக்குகள், பெரும்பாலும் கட்டமைப்புக்குப் பங்களிப்பானவை (**PyTorch** அல்லது **TensorFlow**). செயற்படுத்தக்கூடிய நோட்புக்கில் நிறைய கூர்மையான கருத்துக்களும் இருப்பதால், பொருளை புரிந்து கொள்ள குறைந்தது ஒரு வடிவம் (PyTorch அல்லது TensorFlow) நோட்புக்கை முழுமையாகப் பார்ப்பது அவசியம். -* சில பொருட்களுக்கு கிடைக்கும் **லேப்கள்**, இவை நீங்கள் கற்றுக்கொண்ட கதவுக்களை ஒரு குறிப்பிட்ட பிரச்சினைக்கு பயன்படுத்த முயற்சிக்க உதவுகின்றன. -* சில பகுதிகள் [**MS Learn**](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) தொகுப்புகள் மூலம் தொடர்புடைய தலைப்புகளை வழங்குகின்றன. +## தொடங்குதல் -## தொடங்குவதற்கு +### 🎯 AI யின் புதியவரா? இங்கே தொடங்கு! -### 🎯 AI-க்கு புதியவரா? இதிலிருந்து துவங்குங்கள்! +நீங்கள் முற்றிலும் AIவில் புதியவராக இருந்தால் மற்றும் விரைவாக, செயல்முறை உதாரணங்கள் வேண்டுமானால், எங்கள் [**ஆரம்பக்காரர்களுக்கான உதாரணங்கள்**](./examples/README.md) பார்த்துப் பாருங்கள்! இதில் உள்ளன: -AI-இல் முற்றிலும் புதியவர்களாக நினைத்தால், விரைவான, கையால் செய்யக்கூடிய எடுத்துக்காட்டுகளை எங்கள் [**ஆரம்பநிலை நண்பர்களுக்கான எடுத்துக்காட்டுகள்**](./examples/README.md) பகுதியில் பார்க்கவும்! இதில் அடங்கும்: +- 🌟 **ஹலோ AI உலகம்** - உங்கள் முதல் AI நிகழ்ச்சி (பட்டர்ன் அடையாளம்) +- 🧠 **எளிய நியூரல் நெட்வொர்க்** - ஆரம்பத்திலிருந்து நியூரல் நெட்வொர்க் கட்டமைக்கவும் +- 🖼️ **பட வகைபடுத்தி** - விரிவான கருத்துக்களுடன் படங்களை வகைப்படுத்தவும் +- 💬 **உரை உணர்வு** - நேர்மறை/எதிர்மறை உரையை பகுப்பாய்வு செய்யவும் -- 🌟 **ஹலோ AI உலகம்** - உங்கள் முதல் AI திட்டம் (மாதிரி அடையாளம்) -- 🧠 **எளிய நியூரல் நெட்வொர்க்** - ஆரம்பத்திலிருந்தே நியூரல் நெட்வொர்க் கட்டமைக்கவும் +இந்த உதாரணங்கள் முழு பாடத்திட்டத்துக்குச் செல்லும் முன் AI கருத்துக்களை புரிந்துகொள்ள உதவியாக வடிவமைக்கப்பட்டுள்ளன. -- 🖼️ **பட வகைப்பணி** - விரிவான குறிப்புகளுடன் படங்களை வகைப்படுத்து -- 💬 **எழுத்து உணர்வு** - நேர்மறை/எதிர்மறை எழுத்துகளை பகுப்பாய்வு செய் +### 📚 முழு பாடத்திட்ட அமைவு -இந்த உதாரணங்கள் முழு பாடத்திட்டத்தில் குதிப்பதற்கு முன் AI கருத்துக்களை புரிந்து கொள்வதற்கு உதவ வடிவமைக்கப்பட்டுள்ளன. +- உங்கள் மேம்பாட்டு சூழலை அமைப்பதற்கு உதவும் ஒரு [அமைப்பு பாடம்](./lessons/0-course-setup/setup.md) எங்களால் உருவாக்கப்பட்டுள்ளது. - கல்வி நிபுணர்களுக்கு, ஒரு [பாடத்திட்ட அமைப்பு பாடம்](./lessons/0-course-setup/for-teachers.md) உங்களுக்காகவும் உருவாக்கப்பட்டுள்ளது! +- VSCode அல்லது Codespaceல் [குறியீட்டைக் இயக்குவது எப்படி](./lessons/0-course-setup/how-to-run.md) -### 📚 முழு பாடத்திட்ட அமைப்பு +இந்த படிகளை பின்பற்றுங்கள்: -- உங்கள் மேம்பாட்டு சூழலை அமைக்க உதவ [அமைப்பு பாடம்](./lessons/0-course-setup/setup.md) உருவாக்கியுள்ளோம். - ஆசிரியர்களுக்காகவும் ஒரு [பாடத்திட்ட அமைப்பு பாடம்](./lessons/0-course-setup/for-teachers.md) உருவாக்கியுள்ளோம்! -- [VSCode அல்லது Codespace இல் கோ드를 இயக்குவது எப்படி](./lessons/0-course-setup/how-to-run.md) +கோப்பகம் கிளோன் செய்ய: இந்த பக்கத்தின் மேல் வலது மூலையில் உள்ள "Fork" பொத்தானை அழுத்தவும். -இந்த படிகளை பின்பற்றவும்: +கோப்பகம் கிளோன் செய்யவும்: `git clone https://github.com/microsoft/AI-For-Beginners.git` -களஞ்சியத்தை Fork செய்யவும்: இந்த பக்கத்தின் மேல் வலது மூலையில் உள்ள "Fork" பொத்தானை கிளிக் செய்யவும். +பின்னர் எளிதாக கண்டுபிடிக்க இந்த ரெப்போவை நட்சத்திரம் (🌟) விட மறக்கவாதீர்கள். -களஞ்சியத்தை Clone செய்யவும்: `git clone https://github.com/microsoft/AI-For-Beginners.git` +## பிற கற்றலாளர்களை சந்திக்கவும் -இனிமேல் எளிதாக கண்டுபிடிக்க இந்த கோப்பகத்தை நிலைநிறுத்த (🌟) மறக்கவேண்டாம். +இந்த பாடத்திட்டத்தை எடுத்துகொண்டு இருக்கிற மற்ற கற்றலாளர்களை சந்திக்க மற்றும் வலைப்பிணையம் அமைக்க எங்கள் [உத்தியோகபூர்வ AI Discord சேவையகம்](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum)யில் இணைக. -## மற்ற கற்றுப்போகிறவர்களை சந்திக்கவும் +உண்டான தயாரிப்பு கருத்துக்கள் அல்லது கேள்விகள் இருந்தால் எங்கள் [Azure AI Foundry Developer Forum](https://aka.ms/foundry/forum) உங்களுக்கு உதவும். -இந்த படிப்பில் உள்ள மற்ற கற்றுப்போகிறவர்களை சந்தித்து தொடர்பு கொள்ள [அத்தியாயமான AI Discord சேவையகம்](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum) ஐ இணைந்துகொள்ளவும். +## வினாடி வினாக்கள் -தயாரிப்பின் கருத்துக்கள் அல்லது கேள்விகள் இருந்தால் கட்டிடும்போது எங்கள் [Azure AI Foundry Developer Forum](https://aka.ms/foundry/forum) இல் பொது பயன்பாட்டை பார்க்கவும். - -## வினாதரவுகள் - -> **வினாதர்வுகள் குறித்த ஒரு குறிப்புரை**: அனைத்து வினாதர்வுகளும் Quiz-app கோப்பகத்தில் etc\quiz-app உள்ளன அல்லது [இதில் ஆன்லைனில்](https://ff-quizzes.netlify.app/) இவை பாடங்களின் உள்ளே இணைக்கப்பட்டுள்ளன. Quiz app ஐ உள்ளூரோடு இயக்கவும் அல்லது Azure இல் சூழமைக்கவும்; `quiz-app` கோப்பகத்தில் உள்ள வழிமுறைகளை பின்பற்றவும். இவை படிப்படியாக உள்ளூர் மொழியில் மாற்றப்படுகின்றன. +> **வினாடி வினாக்கள் குறித்த குறிப்பு**: எல்லா வினாடி வினாக்களும் Quiz-app கோப்பகத்தில் etc\quiz-app உள்ளன, அல்லது [இங்கே ஆன்லைனில்](https://ff-quizzes.netlify.app/) காணப்படுகிறது. அவை பாடங்களில் இணைக்கப்பட்டுள்ளன. வினாடி வினா பயன்பாடு உள்ளூர் முறையில் இயக்கப்படலாம் அல்லது Azureக்கு பிரசரிக்கப்படலாம்; `quiz-app` கோப்பகத்தில் உள்ள வழிமுறைகளை பின்பற்றவும். அவை முன்னேற்றமாக உள்ளூர்மயமாக்கப்பட்டுள்ளன. ## உதவி தேவை -உங்களுக்கு பரிந்துரைகள் இருக்கிறதா அல்லது எழுத்துப்பிழைகள் அல்லது குறியீடு பிழைகள் கண்டீர்களா? ஒரு பிரச்சனையை பதிவு செய்யவும் அல்லது ஒரு Pull Request உருவாக்கவும். +உங்களுக்கு ஏதேனும் பரிந்துரைகள் உள்ளதா அல்லது எழுத்துப்பிழைகள் அல்லது குறியீட்டு பிழைகள் கண்டெடுத்தீர்களா? ஒரு விதிமுறையோ அல்லது புல் கோரிக்கையோ உருவாக்கவும். -## சிறப்பு நன்றிகள் +## சிறப்பு நன்றி -* **✍️ முதன்மை எழுத்தாளர்:** [Dmitry Soshnikov](http://soshnikov.com), PhD -* **🔥 தொகுப்பு ஆசிரியர்:** [Jen Looper](https://twitter.com/jenlooper), PhD -* **🎨 ஸ்கெட்ச் நோட்டு வரைபவர்:** [Tomomi Imura](https://twitter.com/girlie_mac) -* **✅ வினாத்தாள் உருவாக்குனர்:** [Lateefah Bello](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) -* **🙏 முதன்மை பங்களிப்பாளர்கள்:** [Evgenii Pishchik](https://github.com/Pe4enIks) +* **✍️ முதன்மை ஆசிரியர்:** [Dmitry Soshnikov](http://soshnikov.com), PhD +* **🔥 தொகுப்பாளர்:** [Jen Looper](https://twitter.com/jenlooper), PhD +* **🎨 ஸ்கெட்ச்நோட் வரைவாளர்:** [Tomomi Imura](https://twitter.com/girlie_mac) +* **✅ வினாடி வினா உருவாக்குபவர்:** [Lateefah Bello](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) +* **🙏 முக்கிய பங்காளிகள்:** [Evgenii Pishchik](https://github.com/Pe4enIks) -## மற்ற பாடத்திட்டங்கள் +## பிற பாடத்திட்டங்கள் -எங்கள் குழு மற்ற பாடத்திட்டங்களையும் உருவாக்குகிறது! பாருங்கள்: +எங்கள் குழு பிற பாடத்திட்டங்களையும் உருவாக்குகிறது! பாருங்கள்: ### LangChain @@ -182,7 +190,7 @@ AI-இல் முற்றிலும் புதியவர்களாக --- -### உருவாக்கும் AI தொடர்ச்சி +### Generative AI Series [![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) @@ -190,7 +198,7 @@ AI-இல் முற்றிலும் புதியவர்களாக --- -### அடிப்படை கற்றல் +### Core Learning [![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) @@ -201,7 +209,7 @@ AI-இல் முற்றிலும் புதியவர்களாக --- -### Copilot தொடர்ச்சி +### Copilot Series [![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) @@ -209,17 +217,17 @@ AI-இல் முற்றிலும் புதியவர்களாக ## உதவி பெறுதல் -AI பயன்பாடுகளை கட்டுவதில் தடையென்று அல்லது கேள்விகள் இருந்தால் MCP பற்றி பேசும் மற்ற கற்றுப்போகிறவர்களுடன் மற்றும் அனுபவமுள்ள மேம்படுத்துநர்களுடன் கலந்துரையாடலில் சேரவும். கேள்விகள் வரவேற்கப்படுகின்றன மற்றும் அறிவு சுதந்திரமாக பகிரப்படுகின்றது. +AI செயலிகளை உருவாக்கும்போது சிக்கலுக்கு ஆளாகிறீர்களா அல்லது கேள்விகள் உண்டா? MCP பற்றி விவாதிக்க மற்ற கற்றலாளர்களும் அனுபவமுள்ள மேம்படுத்துநர்களும் உள்ள சமூகத்தில் கலந்துகொள்ளுங்கள். இது கேள்விகள் வரவேற்கப்படும் மற்றும் அறிவு இலவசமாகப் பகிரப்படும் ஆதரவான சமுதாயமாகும். [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -உதவிக்குறிப்புகள் அல்லது பிழைகள் இருந்தால்: +உண்டான தயாரிப்பு கருத்துக்கள் அல்லது பிழைகள் இருந்தால் பார்க்க: [![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) --- -**அறிவுறுத்தல்**: -இந்த ஆவணம் [Co-op Translator](https://github.com/Azure/co-op-translator) என்ற செயற்கை நுண்ணறிவு மொழிபெயர்ப்பு சேவையை பயன்படுத்தி மொழிபெயர்க்கப்பட்டுள்ளது. நாங்கள் துல்லியத்திற்காக முயலுகிறோம் என்பதே உண்மை, ஆனால் தானியங்கி மொழிபெயர்ப்புகளில் தவறுகள் அல்லது அசாத்தியங்கள் இருக்கக்கூடும் என்பதை தயவுசெய்து கவனிக்கவும். மூல ஆவணம் அதன் சொந்த மொழியிலேயே அதிகாரப்பூர்வ மூலமாக கருதப்பட வேண்டும். முக்கியமான தகவல்களுக்கு, தொழில்முறை மனித மொழிபெயர்ப்பை பரிந்துரைக்கிறோம். இந்த மொழிபெயர்ப்பின் பயன்பாட்டிலிருந்து ஏற்பட்ட ஏதேனும் தவறான புரிதல்கள் அல்லது தவறான விளக்கங்களுக்கு எங்களை பொறுப்பேற்பதாக கருத வேண்டாம். +**குறிப்பு**: +இந்த ஆவணம் AI மொழிபெயர்ப்பு சேவை [Co-op Translator](https://github.com/Azure/co-op-translator) மூலம் மொழிபெயர்க்கப்பட்டுள்ளது. நாங்கள் சரியான மொழிபெயர்ப்பிற்காக முயற்சித்தாலும், தானாக மேற்கொள்ளப்பட்ட மொழிபெயர்ப்புகளில் பிழைகள் அல்லது தவறுகள் இருக்க வாய்ப்பு உள்ளது. மூல ஆவணம் அதன் சொந்த மொழியில் அதிகாரப்பூர்வமான ஆதாரமாக கருதப்பட வேண்டும். முக்கியமான தகவல்களுக்கு, தொழில்முறை மனித மொழிபெயர்ப்பை பரிந்துரைக்கிறோம். இந்த மொழிபெயர்ப்பின் மூலம் ஏற்பட்ட எந்தவொரு தவறுபாடுகளுக்கும் அல்லது தவறான பொருள் புரிதலுக்கும் நாங்கள் பொறுப்பு ஏற்க மாட்டோம். \ No newline at end of file diff --git a/translations/ta/lessons/2-Symbolic/MSConceptGraph.ipynb b/translations/ta/lessons/2-Symbolic/MSConceptGraph.ipynb index f9971d55..1e134f10 100644 --- a/translations/ta/lessons/2-Symbolic/MSConceptGraph.ipynb +++ b/translations/ta/lessons/2-Symbolic/MSConceptGraph.ipynb @@ -1,538 +1,532 @@ { - "cells": [ - { - "cell_type": "markdown", - "metadata": { - "collapsed": true - }, - "source": [ - "## Microsoft Concept Graph - இந்த API இனி கிடைக்காது, ஆனால் கருத்தை புரிந்துகொள்ள நோட்புக் பார்க்கவும்\n", - "\n", - "[Microsoft Concept Graph](https://concept.research.microsoft.com/) என்பது இணையத்திலிருந்து எடுக்கப்பட்ட பெரிய சொற்களின் வரிசை ஆகும், இதில் கருத்துகளுக்கு இடையே `is-a` உறவுகள் உள்ளன.\n", - "\n", - "Context Graph இரண்டு வடிவங்களில் கிடைக்கிறது:\n", - " * பதிவிறக்கத்திற்கான பெரிய உரை கோப்பு\n", - " * REST API\n", - "\n", - "புள்ளிவிவரங்கள்:\n", - " * 5401933 தனித்துவமான கருத்துகள், \n", - " * 12551613 தனித்துவமான நிகழ்வுகள்\n", - " * 87603947 `is-a` உறவுகள்\n" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## வலை சேவையைப் பயன்படுத்துதல்\n", - "\n", - "வலை சேவை, ஒரு கருத்து பல்வேறு குழுக்களுக்கு属படுவதற்கான சாத்தியக்கூறுகளை மதிப்பீடு செய்ய பல்வேறு அழைப்புகளை வழங்குகிறது. மேலும் தகவலுக்கு [இங்கே](https://concept.research.microsoft.com/Home/Api) பார்க்கவும். அழைக்க உதாரண URL இங்கே உள்ளது: `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": [ - "நாம் செய்தி தலைப்புகளை பெற்றோர்கள் கருத்துக்களைக் கொண்டு வகைப்படுத்த முயற்சிக்கலாம். செய்தி தலைப்புகளை பெற [NewsApi.org](http://newsapi.org) சேவையை பயன்படுத்துவோம். இந்த சேவையை பயன்படுத்த, நீங்கள் உங்கள் சொந்த API விசையை பெற வேண்டும் - இணையதளத்திற்கு சென்று இலவச டெவலப்பர் திட்டத்திற்கு பதிவு செய்யவும்.\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": [ - "முதலில், நாங்கள் செய்தி தலைப்புகளில் இருந்து பெயர்ச்சொற்களை எடுக்க விரும்புகிறோம். இதை செய்ய, `TextBlob` நூலகத்தை பயன்படுத்துவோம், இது இவ்வாறான பொதுவான இயற்கை மொழி செயலாக்க பணிகளை மிகவும் எளிமையாக்குகிறது.\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": [ - "நாம் பெயர்ச்சொற்கள் பெரிய தீமைக் குழுக்களை வழங்கவில்லை என்பதை காணலாம். பெயர்ச்சொற்களை கருத்து வரைபடத்தில் இருந்து பெறப்பட்ட பொதுவான சொற்களால் மாற்றலாம். இது சில நேரம் எடுக்கும், ஏனெனில் ஒவ்வொரு பெயர்ச்சொல் வாக்கியத்திற்கும் REST அழைப்பு செய்கிறோம்.\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**குறிப்பு**: \nஇந்த ஆவணம் [Co-op Translator](https://github.com/Azure/co-op-translator) என்ற AI மொழிபெயர்ப்பு சேவையைப் பயன்படுத்தி மொழிபெயர்க்கப்பட்டுள்ளது. எங்கள் தரச்செயல்முறைகளுக்கு நாங்கள் முயற்சிக்கிறோம், ஆனால் தானியக்க மொழிபெயர்ப்புகளில் பிழைகள் அல்லது தவறான தகவல்கள் இருக்கக்கூடும் என்பதை தயவுசெய்து கவனத்தில் கொள்ளுங்கள். அதன் தாய்மொழியில் உள்ள மூல ஆவணம் அதிகாரப்பூர்வ ஆதாரமாக கருதப்பட வேண்டும். முக்கியமான தகவல்களுக்கு, தொழில்முறை மனித மொழிபெயர்ப்பு பரிந்துரைக்கப்படுகிறது. இந்த மொழிபெயர்ப்பைப் பயன்படுத்துவதால் ஏற்படும் எந்த தவறான புரிதல்கள் அல்லது தவறான விளக்கங்களுக்கு நாங்கள் பொறுப்பல்ல.\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-11T12:36:00+00:00", - "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", - "language_code": "ta" - } + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "collapsed": true + }, + "source": [ + "## ConceptNet பயன்படுத்தி கருத்துக் கோப்பு\n", + "\n", + "> **குறிப்பு:** முந்தைய [Microsoft Concept Graph](https://concept.research.microsoft.com/) API இனி கிடைக்கவில்லை. இந்த நோட்புக் [ConceptNet](https://conceptnet.io/) என்ற மாற்றை பயன்படுத்த மேம்படுத்தப்பட்டது, இது கருத்துகளுக்கு இடையேயான `is-a` தொடர்புகள் போன்ற இலவசமாக கிடைக்கும் திறந்த அறிவுக் கோப்பு ஆகும்.\n", + "\n", + "[ConceptNet](https://conceptnet.io/) என்பது `IsA`, `PartOf`, `UsedFor` மற்றும் பலவிதமான தொடர்புகளைக் கொண்ட கருத்துக்களின் ஒரு பெரிய பொருளார்வநெட்வொர்க் ஆகும். இது பற்றி கிடைக்கிறது:\n", + " * பதிவிறக்கும் தரவு கோப்பாக\n", + " * REST API ஆக (API விசை தேவையில்லை)\n", + "\n", + "ConceptNet புள்ளிவிவரங்கள்:\n", + " * 8 மில்லியன் தலைப்புகள் மிஞ்சியது\n", + " * 83 மொழிகளில் 21+ மில்லியன் உறவுகள்\n" + ] }, - "nbformat": 4, - "nbformat_minor": 2 + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## ConceptNet வலை சேவையை பயன்படுத்துதல்\n", + "\n", + "[ConceptNet](https://conceptnet.io/) கருத்துக்களுக்கிடையேயான `is-a` (IsA) தொடர்புகளை ஆராய ஒரு REST API-ஐ வழங்குகிறது. எந்த API சாவியையும் தேவையில்லை.\n", + "கால் செய்ய ஒரு மாதிரி URL: `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": [ + "செய்தித் தலைப்புகளை பெற்றோர்களை சார்ந்த கருத்துக்களின் அடிப்படையில் வகைப்படுத்த முயலுவோம். செய்தித் தலைப்புகளைப் பெற [NewsApi.org](http://newsapi.org) சேவையை பயன்படுத்துவோம். சேவையை பயன்படுத்த உங்கள் சொந்த API விசையைப் பெற வேண்டியது அவசியம் - இணையதளத்திற்கு சென்று இலவச டெவலப்பர் திட்டத்திற்காக பதிவு செய்யவும்.\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": [ + "முதலில், நாங்கள் செய்திகள் தலைப்புகளில் இருந்து பெயர்ச்சொற்களை எடுக்க முடிந்திருக்க விரும்புகிறோம். இதற்காக, இந்த மாதிரி பல வழக்கமான இயற்கை மொழி செயலாக்க பணிகளை எளிதாக்கும் `TextBlob` நூலகத்தை பயன்படுத்தப் போகிறோம்.\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": [ + "நாம் காணக்கூடாது என்றால் பெயர்கள் பெரிய கருக்கள் தருவதில்லை. நாம் பெயர்களை கருத்து வரைபடத்தில் இருந்து கிடைக்கும் பொதுவான வார்த்தைகளால் மாற்றிக் கொள்வோம். ஒவ்வொரு பெயர் சொற்றொடருக்கும் REST அழைப்பினைச் செய்வதால் இதற்கு சில நேரம் எடுத்துக்கொள்ளப்படும்.\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**முறையீடு**:\nஇந்த ஆவணம் [Co-op Translator](https://github.com/Azure/co-op-translator) என்ற AI மொழிபெயர்ப்பு சேவையை பயன்படுத்தி மொழி மாற்றம் செய்யப்பட்டிருக்கிறது. நாங்கள் துல்லியத்திற்காக முயற்சித்தாலும், தானியங்கி மொழிபெயர்ப்புகளில் பிழைகள் அல்லது தவறுக்கள் இருக்கக்கூடும் என்பதை தயவுசெய்து கவனத்தில் கொள்ளவும். துவக்க ஆவணம் அதன் சொந்த மொழியிலேயே அதிகாரப்பூர்வ ஆதாரமாகக் கருதப்பட வேண்டும். முக்கியமான தகவல்களுக்கு, தொழில்முறை மனித மொழிபெயர்ப்பை பரிந்துரைக்கப்படுகின்றது. இந்த மொழிபெயர்ப்பின் பயன்படுத்தலால் ஏற்படும் எந்த தவறாக஡ற் புரிதல்கள் அல்லது தவறான விளக்கங்களுக்கும் நாங்கள் பொறுப்பல்ல.\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/uk/.co-op-translator.json b/translations/uk/.co-op-translator.json index 9b34e34f..b0fa2c2d 100644 --- a/translations/uk/.co-op-translator.json +++ b/translations/uk/.co-op-translator.json @@ -6,8 +6,8 @@ "language_code": "uk" }, "README.md": { - "original_hash": "75fe3383afc51eaa84b82ace619ffea7", - "translation_date": "2026-02-06T09:22:41+00:00", + "original_hash": "9eaca839b0b3f6d7f0a195fd33cebd30", + "translation_date": "2026-02-28T09:28:35+00:00", "source_file": "README.md", "language_code": "uk" }, @@ -89,6 +89,12 @@ "source_file": "lessons/1-Intro/assignment.md", "language_code": "uk" }, + "lessons/2-Symbolic/MSConceptGraph.ipynb": { + "original_hash": "e5690bbc6e5119a96a8172ec7261db67", + "translation_date": "2026-02-28T09:26:28+00:00", + "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", + "language_code": "uk" + }, "lessons/2-Symbolic/README.md": { "original_hash": "f9f06b266b8b2bfc6b8792ff2bb1bea4", "translation_date": "2026-01-16T06:45:27+00:00", diff --git a/translations/uk/README.md b/translations/uk/README.md index 5bb5fedb..73d06397 100644 --- a/translations/uk/README.md +++ b/translations/uk/README.md @@ -18,207 +18,217 @@ |:---:| | AI For Beginners - _Скетчноут від [@girlie_mac](https://twitter.com/girlie_mac)_ | -Відкрийте для себе світ **Штучного Інтелекту** (ШІ) з нашою 12-тижневою навчальною програмою, що складається з 24 уроків! Вона включає практичні заняття, тести та лабораторні роботи. Програма підходить для початківців та охоплює інструменти такі як TensorFlow і PyTorch, а також етику в ШІ. +Відкрийте для себе світ **Штучного Інтелекту** (ШІ) за допомогою нашої 12-тижневої програми з 24 уроків! Вона включає практичні уроки, вікторини та лабораторні роботи. Програма дружня до початківців і охоплює інструменти, такі як TensorFlow і PyTorch, а також етику в ШІ. -### 🌐 Підтримка декількох мов -#### Підтримується через GitHub Action (Автоматично та Завжди Актуально) +### 🌐 Підтримка багатьох мов + +#### Підтримується через GitHub Action (автоматизовано та завжди актуально) [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](../es/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](./README.md) | [Urdu](../ur/README.md) | [Vietnamese](../vi/README.md) -> **Віддаєте перевагу клонути локально?** - -> Цей репозиторій містить понад 50 мовних перекладів, що значно збільшує розмір завантаження. Щоб клонувати без перекладів, використовуйте sparse checkout: +> **Віддаєте перевагу клонувати локально?** +> +> Цей репозиторій містить більше 50 мовних перекладів, що суттєво збільшує розмір завантаження. Щоб клонувати без перекладів, використовуйте 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" +> ``` +> +> Це дає все необхідне для проходження курсу з набагато швидшим завантаженням. -**Якщо ви бажаєте додати підтримку інших мов, вони перераховані [тут](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md)** +**Якщо ви бажаєте додаткових перекладів, підтримувані мови наведені [тут](https://github.com/Azure/co-op-translator/blob/main/getting_started/supported-languages.md)** ## Приєднуйтесь до спільноти [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -## Чого ви навчитеся +## Чого ви навчитесь **[Ментальна карта курсу](http://soshnikov.com/courses/ai-for-beginners/mindmap.html)** -У цій навчальній програмі ви дізнаєтеся: +У цій навчальній програмі ви дізнаєтесь: -* Різні підходи до штучного інтелекту, включаючи "старий добрий" символічний підхід з **Представленням Знань** та логічним виведенням ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). -* **Нейронні Мережі** і **Глибоке Навчання**, які є основою сучасного ШІ. Ми ілюструватимемо концепції цих важливих тем за допомогою коду у двох найпопулярніших фреймворках - [TensorFlow](http://Tensorflow.org) і [PyTorch](http://pytorch.org). -* **Нейронні Архітектури** для роботи з зображеннями та текстом. Ми розглянемо новітні моделі, хоч і можливо дещо не повністю стан сучасних технологій. -* Менш поширені підходи до ШІ, такі як **Генетичні Алгоритми** та **Мультиагентні Системи**. +* Різні підходи до штучного інтелекту, включаючи «добрий старий» символічний підхід із **представленням знань** та логічним виведенням ([GOFAI](https://en.wikipedia.org/wiki/Symbolic_artificial_intelligence)). +* **Нейронні мережі** та **глибоке навчання**, які є основою сучасного ШІ. Ми проілюструємо концепції цих важливих тем за допомогою коду на двох найпопулярніших фреймворках - [TensorFlow](http://Tensorflow.org) та [PyTorch](http://pytorch.org). +* **Нейронні архітектури** для роботи з зображеннями та текстом. Ми розглянемо останні моделі, хоча можливо трохи не в повній відповідності з найсучаснішими технологіями. +* Менш популярні підходи до ШІ, такі як **генетичні алгоритми** та **багатоагентні системи**. -Що ми не охоплюємо у цій навчальній програмі: +Що ми не охоплюємо в цій навчальній програмі: > [Знайдіть усі додаткові ресурси для цього курсу в нашій колекції Microsoft Learn](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) -* Бізнес-кейси використання **ШІ в Бізнесі**. Рекомендуємо пройти [Вступ до ШІ для бізнес-користувачів](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) на Microsoft Learn, або [AI Business School](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), розроблений у співпраці з [INSEAD](https://www.insead.edu/). -* **Класичне Машинне Навчання**, яке детально описане у нашій [Навчальній програмі Машинного Навчання для Початківців](http://github.com/Microsoft/ML-for-Beginners). -* Практичні AI-застосунки, побудовані за допомогою **[Cognitive Services](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)**. Для цього радимо почати з модулів Microsoft Learn для [зору](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), [обробки природної мови](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[Генеративного ШІ з Azure OpenAI Service](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** і інші. -* Специфічні ML **Хмарні Фреймворки**, такі як [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) або [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). Варто скористатися навчальними шляхами [Build and operate machine learning solutions with Azure Machine Learning](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) та [Build and Operate Machine Learning Solutions with Azure Databricks](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum). -* **Розмовний ШІ** та **Чат-боти**. Існує окремий навчальний шлях [Create conversational AI solutions](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum), а також можна звернутись до [цього допису в блозі](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/) для детальнішої інформації. -* **Глибока Математика** за глибоким навчанням. Для цього рекомендуємо книгу [Deep Learning](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) автора Іана Гудфеллоу, Йошуа Бенгіо та Аарона Курвіль, яка доступна також онлайн за адресою [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/). +* Бізнес-кейси використання **ШІ в бізнесі**. Рекомендуємо пройти шлях навчання [Вступ до ШІ для бізнес-користувачів](https://docs.microsoft.com/learn/paths/introduction-ai-for-business-users/?WT.mc_id=academic-77998-bethanycheum) на Microsoft Learn, або [AI Business School](https://www.microsoft.com/ai/ai-business-school/?WT.mc_id=academic-77998-bethanycheum), розроблений у співпраці з [INSEAD](https://www.insead.edu/). +* **Класичне машинне навчання**, яке добре описане в нашій навчальній програмі [Machine Learning for Beginners](http://github.com/Microsoft/ML-for-Beginners). +* Практичні застосування ШІ, побудовані на основі **[Cognitive Services](https://azure.microsoft.com/services/cognitive-services/?WT.mc_id=academic-77998-bethanycheum)**. Для цього рекомендуємо розпочати з модулів Microsoft Learn для [комп’ютерного зору](https://docs.microsoft.com/learn/paths/create-computer-vision-solutions-azure-cognitive-services/?WT.mc_id=academic-77998-bethanycheum), [обробки природної мови](https://docs.microsoft.com/learn/paths/explore-natural-language-processing/?WT.mc_id=academic-77998-bethanycheum), **[Генеративний ШІ з Azure OpenAI Service](https://learn.microsoft.com/en-us/training/paths/develop-ai-solutions-azure-openai/?WT.mc_id=academic-77998-bethanycheum)** та інші. +* Специфічні ML **хмарні фреймворки**, такі як [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) або [Azure Databricks](https://docs.microsoft.com/learn/paths/data-engineer-azure-databricks?WT.mc_id=academic-77998-bethanycheum). Розгляньте використання шляхів навчання [Створення та управління рішеннями машинного навчання з Azure Machine Learning](https://docs.microsoft.com/learn/paths/build-ai-solutions-with-azure-ml-service/?WT.mc_id=academic-77998-bethanycheum) та [Створення та управління рішеннями машинного навчання з Azure Databricks](https://docs.microsoft.com/learn/paths/build-operate-machine-learning-solutions-azure-databricks/?WT.mc_id=academic-77998-bethanycheum). +* **Розмовний ШІ** та **чат-боти**. Існує окремий шлях навчання [Створення розмовних рішень на основі ШІ](https://docs.microsoft.com/learn/paths/create-conversational-ai-solutions/?WT.mc_id=academic-77998-bethanycheum), також ви можете звернутися до [цього блогу](https://soshnikov.com/azure/hello-bot-conversational-ai-on-microsoft-platform/) для детальнішої інформації. +* **Глибока математика** за глибоким навчанням. Для цього рекомендуємо книгу [Deep Learning](https://www.amazon.com/Deep-Learning-Adaptive-Computation-Machine/dp/0262035618) Іена Гудфеллоу, Йошуа Бенджіо та Аарона Курвіля, яка також доступна онлайн за адресою [https://www.deeplearningbook.org/](https://www.deeplearningbook.org/). -Для легкого введення у тему _ШІ в Хмарі_ рекомендуємо навчальний шлях [Get started with artificial intelligence on Azure](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum). +Для легкого вступу до тем _ШІ в хмарі_ рекомендуємо пройти шлях навчання [Початок роботи зі штучним інтелектом на Azure](https://docs.microsoft.com/learn/paths/get-started-with-artificial-intelligence-on-azure/?WT.mc_id=academic-77998-bethanycheum). # Зміст -| | Посилання на урок | PyTorch/Keras/TensorFlow | Лабораторна робота | +| | Посилання на урок | PyTorch/Keras/TensorFlow | Лабораторна | | :-: | :------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------ | -| 0 | [Налаштування курсу](./lessons/0-course-setup/setup.md) | [Налаштування середовища розробки](./lessons/0-course-setup/how-to-run.md) | | +| 0 | [Налаштування курсу](./lessons/0-course-setup/setup.md) | [Налаштуйте середовище розробки](./lessons/0-course-setup/how-to-run.md) | | | I | [**Вступ до ШІ**](./lessons/1-Intro/README.md) | | | -| 01 | [Вступ і Історія ШІ](./lessons/1-Intro/README.md) | - | - | +| 01 | [Вступ і історія ШІ](./lessons/1-Intro/README.md) | - | - | | II | **Символічний ШІ** | -| 02 | [Представлення знань та експертні системи](./lessons/2-Symbolic/README.md) | [Експертні системи](./lessons/2-Symbolic/Animals.ipynb) / [Онтологія](./lessons/2-Symbolic/FamilyOntology.ipynb) /[Граф понять](./lessons/2-Symbolic/MSConceptGraph.ipynb) | | +| 02 | [Подання знань та експертні системи](./lessons/2-Symbolic/README.md) | [Експертні системи](./lessons/2-Symbolic/Animals.ipynb) / [Онтологія](./lessons/2-Symbolic/FamilyOntology.ipynb) /[Граф концептів](./lessons/2-Symbolic/MSConceptGraph.ipynb) | | | III | [**Вступ до нейронних мереж**](./lessons/3-NeuralNetworks/README.md) ||| -| 03 | [Перцептрон](./lessons/3-NeuralNetworks/03-Perceptron/README.md) | [Зошит](./lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb) | [Лабораторна робота](./lessons/3-NeuralNetworks/03-Perceptron/lab/README.md) | -| 04 | [Багатошаровий перцептрон та створення власного фреймворку](./lessons/3-NeuralNetworks/04-OwnFramework/README.md) | [Зошит](./lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb) | [Лабораторна робота](./lessons/3-NeuralNetworks/04-OwnFramework/lab/README.md) | -| 05 | [Вступ до фреймворків (PyTorch/TensorFlow) та перенавчання](./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) | [Лабораторна робота](./lessons/3-NeuralNetworks/05-Frameworks/lab/README.md) | -| IV | [**Комп’ютерний зір**](./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)| [Вивчайте Комп’ютерний зір на Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) | -| 06 | [Вступ до комп’ютерного зору. OpenCV](./lessons/4-ComputerVision/06-IntroCV/README.md) | [Зошит](./lessons/4-ComputerVision/06-IntroCV/OpenCV.ipynb) | [Лабораторна робота](./lessons/4-ComputerVision/06-IntroCV/lab/README.md) | -| 07 | [Згорткові нейронні мережі](./lessons/4-ComputerVision/07-ConvNets/README.md) & [Архітектури 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) | [Лабораторна робота](./lessons/4-ComputerVision/07-ConvNets/lab/README.md) | -| 08 | [Попередньо навчені мережі та трансферне навчання](./lessons/4-ComputerVision/08-TransferLearning/README.md) та [Трюки навчання](./lessons/4-ComputerVision/08-TransferLearning/TrainingTricks.md) | [PyTorch](./lessons/4-ComputerVision/08-TransferLearning/TransferLearningPyTorch.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Лабораторна робота](./lessons/4-ComputerVision/08-TransferLearning/lab/README.md) | -| 09 | [Автокодувальники та 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 | [Генеративні змагальні мережі та передача художнього стилю](./lessons/4-ComputerVision/10-GANs/README.md) | [PyTorch](./lessons/4-ComputerVision/10-GANs/GANPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/10-GANs/GANTF.ipynb) | | -| 11 | [Виявлення об’єктів](./lessons/4-ComputerVision/11-ObjectDetection/README.md) | [TensorFlow](./lessons/4-ComputerVision/11-ObjectDetection/ObjectDetection.ipynb) | [Лабораторна робота](./lessons/4-ComputerVision/11-ObjectDetection/lab/README.md) | +| 03 | [Персептрон](./lessons/3-NeuralNetworks/03-Perceptron/README.md) | [Зошит](./lessons/3-NeuralNetworks/03-Perceptron/Perceptron.ipynb) | [Лабораторна](./lessons/3-NeuralNetworks/03-Perceptron/lab/README.md) | +| 04 | [Багатошаровий персептрон і створення власного фреймворку](./lessons/3-NeuralNetworks/04-OwnFramework/README.md) | [Зошит](./lessons/3-NeuralNetworks/04-OwnFramework/OwnFramework.ipynb) | [Лабораторна](./lessons/3-NeuralNetworks/04-OwnFramework/lab/README.md) | +| 05 | [Вступ до фреймворків (PyTorch/TensorFlow) та перенавчання](./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) | [Лабораторна](./lessons/3-NeuralNetworks/05-Frameworks/lab/README.md) | +| IV | [**Комп'ютерний зір**](./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)| [Досліджуйте комп’ютерний зір на Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum) | +| 06 | [Вступ до комп’ютерного зору. OpenCV](./lessons/4-ComputerVision/06-IntroCV/README.md) | [Зошит](./lessons/4-ComputerVision/06-IntroCV/OpenCV.ipynb) | [Лабораторна](./lessons/4-ComputerVision/06-IntroCV/lab/README.md) | +| 07 | [Згорткові нейронні мережі](./lessons/4-ComputerVision/07-ConvNets/README.md) & [Архітектури 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) | [Лабораторна](./lessons/4-ComputerVision/07-ConvNets/lab/README.md) | +| 08 | [Попередньо навчені мережі та перетренування](./lessons/4-ComputerVision/08-TransferLearning/README.md) та [Хитрощі навчання](./lessons/4-ComputerVision/08-TransferLearning/TrainingTricks.md) | [PyTorch](./lessons/4-ComputerVision/08-TransferLearning/TransferLearningPyTorch.ipynb) / [TensorFlow](./lessons/3-NeuralNetworks/05-Frameworks/IntroKerasTF.ipynb) | [Лабораторна](./lessons/4-ComputerVision/08-TransferLearning/lab/README.md) | +| 09 | [Автоенкодери та 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 | [Генеративні змагальні мережі та перенесення художнього стилю](./lessons/4-ComputerVision/10-GANs/README.md) | [PyTorch](./lessons/4-ComputerVision/10-GANs/GANPyTorch.ipynb) / [TensorFlow](./lessons/4-ComputerVision/10-GANs/GANTF.ipynb) | | +| 11 | [Виявлення об’єктів](./lessons/4-ComputerVision/11-ObjectDetection/README.md) | [TensorFlow](./lessons/4-ComputerVision/11-ObjectDetection/ObjectDetection.ipynb) | [Лабораторна](./lessons/4-ComputerVision/11-ObjectDetection/lab/README.md) | | 12 | [Семантична сегментація. 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 | [**Обробка природної мови**](./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) | [Вивчайте обробку природної мови на Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| -| 13 | [Представлення тексту. 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 | [Семантичні вбудовування слів. Word2Vec та 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 | [Моделювання мови. Навчання власних вбудовувань](./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) | [Лабораторна робота](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | +| V | [**Обробка природної мови**](./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) | [Досліджуйте обробку природної мови на Microsoft Azure](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum)| +| 13 | [Подання тексту. 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 | [Семантичні векторні уявлення слів. Word2Vec та 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 | [Моделювання мови. Навчання власних векторів уявлень](./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) | [Лабораторна](./lessons/5-NLP/15-LanguageModeling/lab/README.md) | | 16 | [Рекурентні нейронні мережі](./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 | [Генеративні рекурентні мережі](./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) | [Лабораторна робота](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | +| 17 | [Генеративні рекурентні мережі](./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) | [Лабораторна](./lessons/5-NLP/17-GenerativeNetworks/lab/README.md) | | 18 | [Трансформери. 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 | [Розпізнавання іменованих сутностей](./lessons/5-NLP/19-NER/README.md) | [TensorFlow](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [Лабораторна робота](./lessons/5-NLP/19-NER/lab/README.md) | -| 20 | [Великі мовні моделі, програмування підказок і завдання з малим числом прикладів](./lessons/5-NLP/20-LangModels/README.md) | [PyTorch](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/20-LangModels/GPT-PyTorch.ipynb) | | -| VI | **Інші методи ШІ** || | +| 19 | [Розпізнавання іменованих сутностей](./lessons/5-NLP/19-NER/README.md) | [TensorFlow](https://microsoft.github.io/AI-For-Beginners/lessons/5-NLP/19-NER/NER-TF.ipynb) | [Лабораторна](./lessons/5-NLP/19-NER/lab/README.md) | +| 20 | [Великі мовні моделі, програмування підказок та 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 | **Інші техніки ШІ** || | | 21 | [Генетичні алгоритми](./lessons/6-Other/21-GeneticAlgorithms/README.md) | [Зошит](./lessons/6-Other/21-GeneticAlgorithms/Genetic.ipynb) | | -| 22 | [Глибинне підкріплене навчання](./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) | [Лабораторна робота](./lessons/6-Other/22-DeepRL/lab/README.md) | -| 23 | [Багатоповідомні системи](./lessons/6-Other/23-MultiagentSystems/README.md) | | | +| 22 | [Глибинне навчання з підкріпленням](./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) | [Лабораторна](./lessons/6-Other/22-DeepRL/lab/README.md) | +| 23 | [Багатокористувацькі системи](./lessons/6-Other/23-MultiagentSystems/README.md) | | | | VII | **Етика ШІ** | | | | 24 | [Етика штучного інтелекту та відповідальний ШІ](./lessons/7-Ethics/README.md) | [Microsoft Learn: Принципи відповідального ШІ](https://docs.microsoft.com/learn/paths/responsible-ai-business-principles/?WT.mc_id=academic-77998-cacaste) | | | IX | **Додатково** | | | -| 25 | [Багатомодальні мережі, CLIP та VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [Зошит](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | +| 25 | [Мультимодальні мережі, CLIP та VQGAN](./lessons/X-Extras/X1-MultiModal/README.md) | [Зошит](./lessons/X-Extras/X1-MultiModal/Clip.ipynb) | | ## Кожен урок містить - -* Матеріал для попереднього читання -* Виконувані Jupyter ноутбуки, які часто специфічні для фреймворку (**PyTorch** або **TensorFlow**). Виконуваний зошит також містить багато теоретичного матеріалу, тож для розуміння теми треба пройти хоча б одну версію зошита (або PyTorch, або TensorFlow). +* Матеріали для передчитування +* Виконувані Jupyter ноутбуки, які часто специфічні для фреймворку (**PyTorch** або **TensorFlow**). Виконуваний ноутбук також містить багато теоретичного матеріалу, тому для розуміння теми потрібно пройти принаймні одну версію ноутбука (або PyTorch, або TensorFlow). * **Лабораторні роботи**, доступні для деяких тем, які дають можливість спробувати застосувати вивчений матеріал до конкретної задачі. * Деякі розділи містять посилання на модулі [**MS Learn**](https://learn.microsoft.com/en-us/collections/7w28iy2xrqzdj0?WT.mc_id=academic-77998-bethanycheum), що охоплюють пов’язані теми. ## Початок роботи -### 🎯 Новачок у ШІ? Почніть тут! +### 🎯 Новачок в ІІ? Почніть тут! -Якщо ви повністю новачок у ШІ і хочете швидкі практичні приклади, ознайомтеся з нашими [**Прикладами для початківців**](./examples/README.md)! Вони містять: +Якщо ви зовсім новачок у штучному інтелекті і хочете швидкі та практичні приклади, перегляньте наші [**Приклади для початківців**](./examples/README.md)! Вони включають: -- 🌟 **Hello AI World** — Ваша перша програма ШІ (розпізнавання патернів) -- 🧠 **Проста нейронна мережа** — Побудуйте нейронну мережу з нуля +- 🌟 **Hello AI World** — ваша перша програма ІІ (розпізнавання шаблонів) +- 🧠 **Проста нейронна мережа** — побудуйте нейронну мережу з нуля +- 🖼️ **Класифікатор зображень** — класифікація зображень з докладними коментарями +- 💬 **Аналіз настрою тексту** — аналіз позитивного/негативного тексту -- 🖼️ **Класифікатор зображень** - Класифікуйте зображення з докладними коментарями -- 💬 **Аналіз настрою тексту** - Аналіз позитивного/негативного тексту +Ці приклади допоможуть вам зрозуміти концепції штучного інтелекту перед вивченням повного курсу. -Ці приклади призначені для того, щоб допомогти вам зрозуміти концепції ШІ перед тим, як почати повний курс. +### 📚 Повне налаштування курсу -### 📚 Налаштування повного курсу +- Ми створили [урок із налаштування](./lessons/0-course-setup/setup.md), щоб допомогти вам із налаштуванням середовища розробки. +- Для викладачів ми також створили [курс з налаштування навчальної програми](./lessons/0-course-setup/for-teachers.md)! +- Як [запустити код у VSCode або Codespace](./lessons/0-course-setup/how-to-run.md) -- Ми створили [урок з налаштування](./lessons/0-course-setup/setup.md), щоб допомогти вам налаштувати середовище розробки. - Для викладачів також створено [урок з налаштування навчальних програм](./lessons/0-course-setup/for-teachers.md)! -- Як [запустити код у VSCode або Codespace](./lessons/0-course-setup/how-to-run.md) +Дотримуйтесь цих кроків: -Виконайте ці кроки: +Форкніть репозиторій: Натисніть кнопку "Fork" у правому верхньому куті цієї сторінки. -Відгалужте репозиторій: Натисніть кнопку "Fork" у верхньому правому куті цієї сторінки. +Клонуйте репозиторій: `git clone https://github.com/microsoft/AI-For-Beginners.git` -Клонувати репозиторій: `git clone https://github.com/microsoft/AI-For-Beginners.git` +Не забудьте поставити зірочку (🌟) цьому репозиторію, щоб легше було знайти пізніше. -Не забудьте поставити зірочку (🌟) цьому репозиторію, щоб легше його знаходити пізніше. +## Познайомтесь з іншими учнями -## Познайомтеся з іншими учнями +Приєднуйтесь до нашого [офіційного Discord сервера AI](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum), щоб зустрітися та спілкуватись з іншими учнями, які проходять цей курс, і отримати підтримку. -Приєднуйтеся до нашого [офіційного Discord серверу ШІ](https://aka.ms/genai-discord?WT.mc_id=academic-105485-bethanycheum), щоб зустрітися та поспілкуватися з іншими учнями, які проходять цей курс, та отримати підтримку. +Якщо у вас є відгуки або питання щодо продукту під час розробки, відвідайте наш [Azure AI Foundry Developer Forum](https://aka.ms/foundry/forum) -Якщо у вас є відгуки про продукт або питання під час розробки, відвідайте наш [форум розробників Azure AI Foundry](https://aka.ms/foundry/forum). +## Тести -## Вікторини - -> **Примітка про вікторини**: Всі вікторини знаходяться у папці Quiz-app у etc\quiz-app, або [доступні онлайн тут](https://ff-quizzes.netlify.app/). Вони пов’язані з уроками, застосунок для вікторин можна запускати локально або розгортати на Azure; дотримуйтесь інструкцій у папці `quiz-app`. Вікторини поступово локалізуються. +> **Примітка про тести**: Усі тести містяться у папці Quiz-app в etc\quiz-app, або [онлайн тут](https://ff-quizzes.netlify.app/) Вони пов’язані з уроками, додаток для тестування можна запускати локально або розгортати в Azure; дотримуйтесь інструкцій у папці `quiz-app`. Поступово вони локалізуються. ## Потрібна допомога -Чи є у вас пропозиції або ви знайшли орфографічні чи помилки у коді? Відкрийте issue або створіть pull request. +Чи маєте пропозиції або знайшли орфографічні чи кодові помилки? Створіть issue або_PULL_ запит. ## Особлива подяка -* **✍️ Основний автор:** [Дмитро Сошников](http://soshnikov.com), PhD -* **🔥 Редактор:** [Джен Лупер](https://twitter.com/jenlooper), PhD -* **🎨 Ілюстратор скетчноутів:** [Томомі Імура](https://twitter.com/girlie_mac) -* **✅ Автор вікторин:** [Латіфа Белло](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) -* **🙏 Основні учасники:** [Євгеній Піщик](https://github.com/Pe4enIks) +* **✍️ Основний автор:** [Дмитро Сошников](http://soshnikov.com), PhD +* **🔥 Редактор:** [Jen Looper](https://twitter.com/jenlooper), PhD +* **🎨 Ілюстратор скетчноутів:** [Tomomi Imura](https://twitter.com/girlie_mac) +* **✅ Створювач тестів:** [Lateefah Bello](https://github.com/CinnamonXI), [MLSA](https://studentambassadors.microsoft.com/) +* **🙏 Головні учасники:** [Evgenii Pishchik](https://github.com/Pe4enIks) -## Інші навчальні програми +## Інші курси -Наша команда створює й інші навчальні програми! Перегляньте: +Наша команда створює й інші курси! Перегляньте: -### 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 / Агенти -[![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) --- -### Серія Generative AI -[![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 AI +[![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) --- -### Основне навчання -[![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 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) --- -### Серія 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) +### Серія 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) -## Отримати допомогу +## Допомога -Якщо ви застрягли або маєте питання про створення додатків ШІ, приєднуйтеся до інших учнів і досвідчених розробників для обговорення MCP. Це підтримуюча спільнота, де вітаються запитання та відкрито діляться знаннями. +Якщо ви застрягли або маєте питання про створення додатків зі штучним інтелектом, приєднуйтеся до інших учнів та досвідчених розробників у дискусіях про MCP. Це підтримуюча спільнота, де запитання вітаються, а знання вільно поширюються. [![Microsoft Foundry Discord](https://dcbadge.limes.pink/api/server/nTYy5BXMWG)](https://discord.gg/nTYy5BXMWG) -Якщо у вас є відгуки про продукт або помилки під час розробки, відвідайте: +Якщо у вас є відгуки або помилки під час розробки, відвідайте: [![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) --- -**Відмова від відповідальності**: -Цей документ було перекладено за допомогою сервісу машинного перекладу [Co-op Translator](https://github.com/Azure/co-op-translator). Хоча ми прагнемо до точності, просимо враховувати, що автоматизовані переклади можуть містити помилки або неточності. Оригінальний документ рідною мовою слід вважати авторитетним джерелом. Для критичної інформації рекомендується професійний людський переклад. Ми не несемо відповідальності за будь-які непорозуміння або неправильне тлумачення, що виникли внаслідок використання цього перекладу. +**Відмова від відповідальності**: +Цей документ було перекладено за допомогою сервісу автоматичного перекладу [Co-op Translator](https://github.com/Azure/co-op-translator). Хоча ми докладаємо зусиль для забезпечення точності, будь ласка, майте на увазі, що автоматичні переклади можуть містити помилки або неточності. Оригінальний документ рідною мовою слід вважати авторитетним джерелом. Для критично важливої інформації рекомендується звертатися до професійного людського перекладу. Ми не несемо відповідальності за будь-які непорозуміння або неправильні тлумачення, що виникають внаслідок використання цього перекладу. \ No newline at end of file diff --git a/translations/uk/lessons/2-Symbolic/MSConceptGraph.ipynb b/translations/uk/lessons/2-Symbolic/MSConceptGraph.ipynb index 94d37fa1..7f3b53bb 100644 --- a/translations/uk/lessons/2-Symbolic/MSConceptGraph.ipynb +++ b/translations/uk/lessons/2-Symbolic/MSConceptGraph.ipynb @@ -1,539 +1,532 @@ { - "cells": [ - { - "cell_type": "markdown", - "metadata": { - "collapsed": true - }, - "source": [ - "## Microsoft Concept Graph - Цей API БІЛЬШЕ НЕ ДОСТУПНИЙ, АЛЕ ПРОСИМО ПЕРЕГЛЯНУТИ НОУТБУК ДЛЯ РОЗУМІННЯ КОНЦЕПЦІЇ\n", - "\n", - "[Microsoft Concept Graph](https://concept.research.microsoft.com/) — це велика таксономія термінів, отриманих з інтернету, з відношеннями типу `is-a` між концептами.\n", - "\n", - "Context Graph доступний у двох формах:\n", - " * Великий текстовий файл для завантаження\n", - " * REST API\n", - "\n", - "Статистика:\n", - " * 5401933 унікальних концептів,\n", - " * 12551613 унікальних екземплярів\n", - " * 87603947 відношень типу `is-a`\n" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Використання веб-сервісу\n", - "\n", - "Веб-сервіс пропонує різні виклики для оцінки ймовірності належності концепту до різних груп. Більше інформації доступно [тут](https://concept.research.microsoft.com/Home/Api). \n", - "Ось приклад URL для виклику: `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": [ - "Давайте спробуємо категоризувати заголовки новин за допомогою основних концепцій. Щоб отримати заголовки новин, ми будемо використовувати сервіс [NewsApi.org](http://newsapi.org). Вам потрібно отримати власний API-ключ, щоб використовувати цей сервіс - перейдіть на веб-сайт і зареєструйтесь для безкоштовного плану розробника.\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": [ - "Перш за все, ми хочемо мати можливість витягувати іменники з заголовків новин. Для цього ми будемо використовувати бібліотеку `TextBlob`, яка спрощує багато типових завдань обробки природної мови, таких як це.\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": [ - "Ми можемо побачити, що іменники не дають нам великих тематичних груп. Давайте замінимо іменники більш загальними термінами, отриманими з графа концепцій. Це займе деякий час, оскільки ми виконуємо REST-запит для кожної іменникової фрази.\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**Відмова від відповідальності**: \nЦей документ був перекладений за допомогою сервісу автоматичного перекладу [Co-op Translator](https://github.com/Azure/co-op-translator). Хоча ми прагнемо до точності, будь ласка, майте на увазі, що автоматичні переклади можуть містити помилки або неточності. Оригінальний документ на його рідній мові слід вважати авторитетним джерелом. Для критичної інформації рекомендується професійний людський переклад. Ми не несемо відповідальності за будь-які непорозуміння або неправильні тлумачення, що виникають внаслідок використання цього перекладу.\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-03T19:00:04+00:00", - "source_file": "lessons/2-Symbolic/MSConceptGraph.ipynb", - "language_code": "uk" - } + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "collapsed": true + }, + "source": [ + "## Граф концепцій за допомогою ConceptNet\n", + "\n", + "> **Примітка:** Оригінальний API [Microsoft Concept Graph](https://concept.research.microsoft.com/) більше недоступний. Цей ноутбук оновлено для використання [ConceptNet](https://conceptnet.io/) як заміни, що є вільнодоступним відкритим графом знань з подібними відношеннями `is-a` між концепціями.\n", + "\n", + "[ConceptNet](https://conceptnet.io/) — це велика семантична мережа концепцій з відношеннями, такими як `IsA`, `PartOf`, `UsedFor` та інші. Вона доступна у вигляді:\n", + " * Завантажуваного файлу даних\n", + " * REST API (ключ API не потрібен)\n", + "\n", + "Статистика ConceptNet:\n", + " * Понад 8 мільйонів вузлів\n", + " * Понад 21 мільйон ребер понад 83 мовами\n" + ] }, - "nbformat": 4, - "nbformat_minor": 2 + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Використання веб-служби ConceptNet\n", + "\n", + "[ConceptNet](https://conceptnet.io/) надає REST API для дослідження відносин `is-a` (IsA) між концептами. Ключ API не потрібен.\n", + "Ось приклад URL для виклику: `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": [ + "Спробуємо категоризувати заголовки новин за допомогою батьківських концепцій. Щоб отримати заголовки новин, ми використаємо сервіс [NewsApi.org](http://newsapi.org). Вам потрібно отримати власний API-ключ для використання сервісу - зайдіть на веб-сайт і зареєструйтесь на безкоштовний план для розробників.\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": [ + "Перш за все, ми хочемо мати змогу витягувати іменники з заголовків новин. Для цього ми використаємо бібліотеку `TextBlob`, яка значно спрощує багато типових завдань обробки природної мови.\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": [ + "Ми можемо побачити, що іменники не створюють великі тематичні групи. Давайте замінимо іменники на більш загальні терміни, отримані з графа концепцій. Це займе деякий час, оскільки ми робимо REST виклик для кожної іменникової фрази.\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**Відмова від відповідальності**:\nЦей документ було перекладено за допомогою сервісу автоматичного перекладу [Co-op Translator](https://github.com/Azure/co-op-translator). Хоча ми прагнемо до точності, просимо враховувати, що автоматичні переклади можуть містити помилки або неточності. Оригінальний документ рідною мовою слід вважати авторитетним джерелом. Для критично важливої інформації рекомендовано звертатися до професійного людського перекладу. Ми не несемо відповідальності за будь-які непорозуміння чи неправильні тлумачення, що виникли внаслідок використання цього перекладу.\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