Author: Gallon Wong
IMAT5234_2021_502 Applied Computational Intelligence
- Objectives
- References
風水
- 疑問待驗:
- 中秋后, 開始下一年運勢?
- 鼠年多波動?
- 推背
- 九宮飛星圖
- 2020
- 財位(西北), 如有門窗, 可加紅/紫地毯;
- 大病(正南), 如有門窗, 可加灰地毯;
- 兇星(正東), 如有門窗, 可加灰地毯;
- 參考:
- 2021
Introduction to Augmented Reality and ARCore (Coursera)
Start 20200718 (hurdles to overcome…)
- Contents (brief)
- WK1 – AR for nonprofits
- The hardware that makes mobile AR work
- enable motion tracking for AR
- accelerometer: measure acceleration which is change in velocity;
- gyroscope: measures and/or maintains orientation and angular velocity, and ARCore ensures that the digital assets respond correctly.
- phone camera supplies a live feed of the surrounding real world;
- enable location-based AR
- Magnetometer: simple orientation related to the Earth’s magnetic field, which direction is North, allowing it to auto-rotate digital maps depending on your physical orientation. key to location-based AR apps;
- GPS: geolocation and time information to a GPS receiver
- enable view of real world with AR
- display: crisp imagery and displaying 3D rendered assets
- enable motion tracking for AR
- Components of realism (AR object has to act like its equivalent in the real world)
- Placing and Positioning assets: a point in reality
- Scale and the size of assets
- Occlusion: an image or object is blocked by another
- Lighting for increased realism
- Solid augmented assets: AR objects should never overlap with real-world objects;
- Context awareness (most difficult)
- Tracking in AR
- Outside-in tracking: input from external devices, gain functionalities but lose portability;
- Inside-out tracking: cameras and sensors are built right into the body of the device;
- Motion Tracking: show convincing AR objects; Tech (Simultaneous Localization Mapping or SLAM)
-
- Environmental understanding: feature points and plane-finding
- Plane-finding: a term for ARCore’s ability to detect and generate flat surfaces from features point captured;
- Light estimation: create more believable AR apps, games and experiences;
-
- Contents (details)
- References
top 7 websites for online education
- Khan Academy. https://www.khanacademy.org/
- edX. https://www.edx.org/
- Coursera. https://www.coursera.org/
- Udemy. https://www.udemy.com/
- TED-Ed. https://ed.ted.com/
- Codeacademy. https://www.codecademy.com/
- Standord Online. https://online.stanford.edu/
Book – NLP with Python
- Objectives:
- prepare DMU module and project
- Building robust systems to perform linguistic tasks with technological applications;
- Using linguistic algorithms and data structures in robust language processing software;
- work in Alicould platform
- python crawls
- python data
- NLP with ChatRobots
- NLP with AutoCode\
- NLP with content generation / design…
- NLP with voice-recognition
- NLP with visual-recognition?
- Cloud tech: Azure / AliCloud…Amazon?…
- IoT + Industrial 4.0 + Cloud
- Book Contents (Brief)
- CH1 – Language Processing and Python
- CH2 – Accessing Text Corpora and Lexical Resources
- CH3 – Processing Raw Text
- CH4 – Writing Structured Programs
- CH5 – Categorizing and Tagging Words
- CH6 – Learning to Classify Text
- CH7 – Extracting Information from Text
- CH8 – Analyzing Sentence Structure
- CH9 – Building Feature-Based Grammars
- CH10 – Analyzing the Meaning of Sentences
- CH11 – Managing Linguistic Data
- Book Contents (Details)
- CH1 – Language Processing and Python
- Chapter Questions
- how can we automatically extract key words and phrases that sum up the style and content of a text?
- Some of the interesting challenges of natural language processing
- Computing with language: Texts and Words
- Python interpreter
- Closer look at Python
- Chapter Questions
- CH2 – Accessing Text Corpora and Lexical Resources
- CH3 – Processing Raw Text
- CH4 – Writing Structured Programs
- CH5 – Categorizing and Tagging Words
- CH6 – Learning to Classify Text
- CH7 – Extracting Information from Text
- CH8 – Analyzing Sentence Structure
- CH9 – Building Feature-Based Grammars
- CH10 – Analyzing the Meaning of Sentences
- CH11 – Managing Linguistic Data
- CH1 – Language Processing and Python
- References
- Getting Started, Python for beginners. https://opentechschool.github.io/python-beginners/en/getting_started.html#what-is-python-exactly
- Jurafsky & Martin (2018). Speech and Language Processing. Prentice Hall.
- Open source library of Natural Language Toolkit (NLTK). http://www.nltk.org/
- http://docs.python.org/
- Python online tutorials. https://docs.python.org/3.8/tutorial/index.html
- Why Python?
- shallow learning curve
- Python allows you to type directly into the interactive interpreter
- NLTK 3.5 guide to install Python 3.0. https://docs.python-guide.org/starting/install3/win/#install3-windows
- NLTK. http://www.nltk.org/install.html
- Install Python 3.8 (x86) (aviod 64bits)
- eg. C:\Users\Username\AppData\Roaming\Python\Python38\site-packages
- Install Numpy (optional): https://www.scipy.org/scipylib/download.html
- Install NLTK: http://pypi.python.org/pypi/nltk
- Test installation:
Start>Python38, then typeimport nltk - Installing NLTK data. http://www.nltk.org/data.html
- command line type python -m nltk.downloader popular, or in the Python interpreter import nltk; nltk.download(‘popular’)
- Building ?Python 3.8 environments and interaction in Windows with NLTK / pip setup…
- Install Python 3.8 (x86) (aviod 64bits)
- NLTK. http://www.nltk.org/install.html
- Requirements
- Python version 3
- NLTK version 3.5
- NumPy
- Matplotlib
- NetworkX
- Prover9
- Practice platform
- https://notebooks.azure.com/, project NLP with Python
D-Biz research of HK
- 核心: 中小企進行數碼轉型的需求
- References
- 【遙距營商計劃】個案解讀:用D-Biz買高價筆電公司用?重點幫助數碼轉型並非津貼買電腦. https://sme.hket.com/article/2647448/%E3%80%90%E9%81%99%E8%B7%9D%E7%87%9F%E5%95%86%E8%A8%88%E5%8A%83%E3%80%91%E5%80%8B%E6%A1%88%E8%A7%A3%E8%AE%80%EF%BC%9A%E7%94%A8D-Biz%E8%B2%B7%E9%AB%98%E5%83%B9%E7%AD%86%E9%9B%BB%E5%85%AC%E5%8F%B8%E7%94%A8%EF%BC%9F%E9%87%8D%E9%BB%9E%E5%B9%AB%E5%8A%A9%E6%95%B8%E7%A2%BC%E8%BD%89%E5%9E%8B%E4%B8%A6%E9%9D%9E%E6%B4%A5%E8%B2%BC%E8%B2%B7%E9%9B%BB%E8%85%A6
- 【遙距營商計劃】個案解讀:一人公司如何由零開始申請D-Biz. https://sme.hket.com/article/2648577/%E3%80%90%E9%81%99%E8%B7%9D%E7%87%9F%E5%95%86%E8%A8%88%E5%8A%83%E3%80%91%E5%80%8B%E6%A1%88%E8%A7%A3%E8%AE%80%EF%BC%9A%E4%B8%80%E4%BA%BA%E5%85%AC%E5%8F%B8%E5%A6%82%E4%BD%95%E7%94%B1%E9%9B%B6%E9%96%8B%E5%A7%8B%E7%94%B3%E8%AB%8BD-Biz
- D-Biz全城中伏 創科局呃盡中小企 10萬資助變$9,000. https://hk.appledaily.com/finance/20200613/3267QDIQRT5UM7DDGAK2TNQZ3U/
- 業界批D-Biz「全額資助」縮水 未能如期完成審批 薛永恒致歉. https://news.mingpao.com/pns/%E6%B8%AF%E8%81%9E/article/20200617/s00002/1592332727717/%E6%A5%AD%E7%95%8C%E6%89%B9d-biz%E3%80%8C%E5%85%A8%E9%A1%8D%E8%B3%87%E5%8A%A9%E3%80%8D%E7%B8%AE%E6%B0%B4-%E6%9C%AA%E8%83%BD%E5%A6%82%E6%9C%9F%E5%AE%8C%E6%88%90%E5%AF%A9%E6%89%B9-%E8%96%9B%E6%B0%B8%E6%81%92%E8%87%B4%E6%AD%89
NLP
- L1 – Introduction to Module
- NLP (Natural Language Processing) is an area of artificial intelligence which aids computers understand, interpret and manipulate human language; fill in the gap between human communication and computer understanding.
- NLP involves many disciplines, including computer science and computational linguistics;
- Two approaches:
- Classic by NLTK;
- A leading platform for building Python programs to work with human language data;
- Available for Windows, Mac OS X, and Linux. NLTK is a free, open source, community-driven project;
- AI based: PYTORCH
- Classic by NLTK;
- Lab1 – familiar colab. https://colab.research.google.com/notebooks/welcome.ipynb#scrollTo=gJr_9dXGpJ05
- L2 – Categorizing and Tagging Words
- Questions
- What are lexical categories (parts of speech / word classes)? and how are they used in NLP?
- What is a good Python data structure for storing words and their categories?
- How can we automatically tag each word of a text with its word class?
- Basic NLP techniques: sequence labelling, n-gram models, backoff, and evaluation;
- NLP pipeline: Tokenization > Tagging / POS tagging >
- The collection of tags used for a particular task is known as a tagset;
- Tagger processes a sequence of words and attaches a part of speech tag to each word;
- Problem: Many words can be used as either nouns or verbs: Ski, race, address, auction, colour , deal, drain, email, grill, nail, rain…
- Tagged Corpora
- Several corpora included within NLTK, and they have been tagged for their part-of-speech: (word,tag);
- tagged_words() method provided by NLTK to deal with tagged text;
- Tagging of words in terms of: Nouns, Verbs, Adjectives and Adverbs;
- Python Dictionaries
- Automatic Tagging
- N-Gram Tagging
- Transformation Based Tagging
- Determining the Category of Word
- Lab2
- do exercises 1-10 in chapter 5 of the NLP Processing with Python book (section 5.10)
- do some of the other exercises if there is spare time;
- Questions
- L3 – Learning to Classify Text
- L4 – Extracting information from textW5 Analysing sentence structure
- L5 – bread
- L6 – Feed Forward Networks for natural language processing
- L7 – ChatBot based on pytorch
- L8 – Translation with a Sequence to Sequence Networks and Attention on pytorch
- L9 – Generating Names with Character-Level RNN on pytorch
- L10 – Classifying Names with Character-Level RNN on pytorch
- References
- L1 & Lab1
- https://www.python.org/downloads/
- Jupyter / Pytorch. https://jupyter.org/install
- Jupyter Lab. https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html
- Other kernels. https://github.com/jupyter/jupyter/wiki/Jupyter-kernels
- TensorFlow. https://www.tensorflow.org/install
- Pytorch Errata. http://www.nltk.org/book/
- L1 & Lab1
- NLP with Python (book study log)
- ch1 – Language Processing and Python (20200521)
- 1.1 Computing with Language: Texts and Words
- 1.2 Closer Look at Python: Texts as Lists of Words
- 1.3 Computing with Language: Simple Statistics
- 1.4 Back to Python: Making Decisions and Taking Control
- 1.5 Automatic Natural Language Understanding
- 1.6. Summary
- 1.7 Further Reading
- 1.8 Exercises
- ch2 – Accessing Text Corpora and Lexical Resources (20200521)
- 2.1 Accessing Text Corpora
- 2.2 Conditional Frequency Distributions
- 2.3 More Python: Reusing Code
- 2.4 Lexical Resources
- 2.5 WordNet
- 2.6 Summary
- 2.7 Further Reading
- 2.8 Exercies
- ch3 – Processing Raw Text (20200521)
- 3.1 Accessing Text from the Web and from Disk
- 3.2 Strings: Text Processing at the Lowest level
- 3.3 Text Processing with Unicode
- 3.4 Regular Expressions fro Detecting Word Patterns
- 3.5 Useful Applications of Regular Expressions
- 3.6 Normalizing Text
- 3.7 Regular Expressions for Tokenizing Text
- 3.8 Segmentation
- 3.9 Formatting: From Lists to Strings
- 3.10 Summary
- 3.11 Further Reading
- 3.12 Exercses
- ch4 – Writing Structured Programs
- 4.1 Back to the Basics
- 4.2 Sequence
- 4.3 Questions of Style
- 4.4 Functions: The Foundation of Structured Programming
- 4.5 Doing More with Functions
- 4.6 Program Development
- 4.7 Algorithm Design
- 4.8 A Sample of Python Libraries
- 4.9 Summary
- 4.10 Further Reading
- 4.11 Exercises
- ch5 – Categorizing and Tagging Words
- 5.1 Using a Tagger
- 5.2 Tagged Corpora
- 5.3 Mapping Words to Properties Using Python Dictionaries
- 5.4 Automatic Tagging
- 5.5 N-Gram Tagging
- 5.6 Transformation-Based Tagging
- 5.7 How to Determine the Category of a Word
- 5.8 Summary
- 5.9 Further Reading
- 5.10 Exercises
- ch6 – Learning to Classify Text
- 6.1 Supervised Classification
- 6.2 Further Examples of Supervised Classification
- 6.3 Evaluation
- 6.4 Decision Trees
- 6.5 Naive Bayes Classifiers
- 6.6 Max. Entropy Classifiers
- 6.7 Modeling Linguistic Patterns
- 6.8 Summary
- 6.9 Further Reading
- 6.10 Exercises
- ch7 – Extracting Information from Text
- ch8 – Analyzing Sentence Structure
- ch9 – Building Feature-Based Grammars
- ch10 – Analyzing the Meaning of Sentences
- ch11 – Managing Linguistic Data
- ch1 – Language Processing and Python (20200521)
Food – Mussels recipe
- Approach 1 – White Wine Mussels (French style)
- Approach 2 – Thai Coconut Mussels
- RIDICULOUSLY DELICIOUS THAI COCONUT MUSSELS. https://www.theendlessmeal.com/thai-coconut-mussels/
- References
電工技術20190918
- 簡介
- 初階(工聯會20190918-12課)
- L1-L6 理論筆記
- L7-L12 實習操作(自備工具及已代購材料)
- 中級
- 初階(工聯會20190918-12課)
- 初階(By K.L. Poon)
- L1
- 電力的產生
- 原子/原子核/電子/質子/中子
- 電子流(負到正)/電流(正到負)
- 摩擦產生的電動力(物質在壓力下, 電子轉至另一物質表面, 形成帶正電荷/負電荷的物質)
- 熱力產生的電動力
- 化學作用產生的電動力
- 光生電力
- 壓力產生的電動力
- 磁感產生的電動(導線和磁力線相割)
- 直流電(DC)和交流電(AC)
- 交流電(AC): 具有週期性的變化;
- 高壓電: AC>1000V, DC>1500V;
- 直流電(DC)產生
- 乾電池(Dry cell): 一次電池(碱性 1.6-1.7v / 碳性 1.5v)
- 可蓄電(Re-chargeable cell): 鉛酸蓄電池 / 鋰電池;
- 其他
- 大膽假設, 小心求証, 不恥下問;
- 電力祖師 法拉第;
- 電子祖師 富蘭克林;
- 電力的產生
- L2
- 直流電(DC)和交流電(AC)
- 直流電(DC)產生
- 電源供應器(Power supply) / 交流轉直流變壓器(火牛): 具備初級/次級功能;
- 直流發電機(D.C generator)
- 交流電(AC)產生: 直流電升壓后在傳輸的損耗大, 不及交流電的按現
- 交流發電機(A.C generator)
- 直流電(DC)產生
- 不同種類的發電方法
- 電學基本認識
- V=IR
- P=VI
- 直流電(DC)和交流電(AC)
- L3
- 交流電的電壓與電流值
- 電路的危險性
- L4
- 電動機
- 變壓器
- L5
- 光管結構
- L1
- 參考
- 法例及標準