[Column] Artificial Intelligence I & II
AI Development History
- 1950 : Alan Turing , Thesis - Computing Machinery and Intelligence , Turning Test
- 1951 : Marvin Minsky, Princeton Master Student, SNARC (1969 Turning Award)
- 1955 : Allen Newell/ Herbert Simon/ Cliff Shaw, Logic Theorist, Reasoning
- 1956 : John McCarthy/ Claude Shannon/ Nathan Rochester, AI Artificial Intelligence
- First Period (1956-1974)
- 1963 : APPA, Project MAC, MIT CSAIL
- 1964-1966, Joseph Weizenbaum, ELIZA, MIT
- 1967-1972, Human Robot. Japan
- Second Period (1980-1987)
- 1960s, Edward Feigenbaum, expert system
- 1970s, Stanford, MYCIN
- 1980s, CMU,DEC,XCON,expert system
- Expert system
- Artificial neural network
- 1982, John Hopfield, Hopfield net, Associative memory
- 1986, David Rumelhart/ Geoffrey Hinton/ Ronald Williams, Thesis-Learning representations by back-propagating errors, prove backpropagation by experiment
- 1982,Japan, 5g calculator, over ten years investment, the project finally fail.
- Third Period (2011-Now)
- Math Based and Solution Based Research -
- Statistical Learning Theory
- Support Vector Machine
- Probabilistic Graphical Model
- Big Data and Powerful Computing Technology Comes out (Example , NVIDIA Tesla V100 is better than the fastest super computer in the world in 2001)
- 2012, ILSVRC ( Image Net), Alex Net
- 2016,Google, AlphaGo
AI Application and Marketing
- Security Video Camera , Action Prediction, Vehicle and Person Recognizance,Traffic Flow
- Medical X-Ray Detect, Multiple Photos to 3D modeling human organ
- Customer Service
- Autopilot
- 2004,DARPA,Mojave Desert Test Run for 142 miles, fail
- 2010-2012 ,Google , Mojave Deseret, Accumulate 300 thousands miles without any accident
- 2014, Baidu and BMW start to research autopilot.
- Industrial Manufacturing
- Quality Assurance Automative
- 2011 Hannover Messe, Industrial 4.0 (Sensors > Big Data > Valuable Messages ), Siemens and GE start to use it to predict risk and reduce material waste and energy consumption, increase production rate.
What is AI
- Using machine to stimulate human beings (make a prediction for given input)
- Face recognize
- Voice recognize
- Medical Diagnoise
- Recommendation by analyse Customer's Buying Record
- Finance , Investment
What is the challenge of applying AI
- If the scenario is complicated
- It is hard to write the compact rules to defined all of the possibilities.
- Some of the input is hard to defined (no rules or regular pattern)
What is the relationship between AI and Machine Learning
- When AI predict things by learning , the method to realize it is called machine learning, (Not the only one but the main one)
- Data > Analyse comes out regular pattern > Prediction
- Methods of machine learning
- Learn form Data
- Supervised Learning
- sample
- Need Qualified Data from Human (and it takes time)
- Unsupervised Learning
- Semi-Supervised Learning
- Learn from Action
- Reinforcement Learning (Policy Gaining to Guide Action )
- Not like up three cases , it does not need lots of input and predict samples, it learns from action
- Include (State,Action,Agent,Environment,Reward)
- This is what AlphaGo used
AI Application I : Classification Introduction
- What are the categories of classification
- Figures
- Voices
- Videos
- Text
- Others
- Process of Classification
- Input
- Extract Features
- Classifier
- Output
- What is a good classifier ?
- based on good features extraction (difference > features > good features)
- For Figures : 方向梯度直方圖
- For Voices : 梅爾頻率倒譜係數
- For Videos : 光流直方圖
- For Text : 詞頻率-逆文檔頻率
- Classifier Design Basic -Vectors
- feature vector
- feature point
- feature space
- distance (adjust the degree of similarity)
- Dot Product
- Cross Product
- Classify function
- Types of Classifier
- linear classifier : f(x1,x2,x3...,xn) = a1x1 +a2x2+...anxn
- n is dimension
- a1,a2...an is parameters
- Defined Classifier
- Feature vector x1,x2...xn > Classifier g(x) > Class y
- What AI do is to get the function g(x)
- How to train classifier ?
- training(learning) > testing(test) > application(problem solving)
- The process of training is the process to get the appropriate parameters.
- What are the materials that are used to train the classifier > Data (Training Data)
- Types of Data
- Training Data (Need to know their class in advanced marked by human)
- Testing Data (Need to know their class in advanced marked by human)
- The process that human marked the data is called "annotation"
- The process of annotation is time wasted
- The process of annotation needs related domain's expert
- Training Set
- A great classifier comes out with a great algorithm, that is a core issue in Machine learning.
- Training Methods (Parameters Get)
- Methods One : Perception
- aka linear classifier algorithm
- principle : using mistake examples to train the algorithm
- methods : "perception learning algorithm"
- select initial parameters
- Select a set of data from training set
- If the data is in the wrong class , then replace the parameter by a modified parameter
- Repeat the steps above, till all of the training set are set in the right place
- Learning rate : the degree that the parameter revised
- What is the rule of revising parameters ?
- Loss Function
- Methods Two : SVM (Support Vector Machine)
- Classification Margin
- Support Vector
- Classification Accuracy
- Binary Classification
- Multi-class Classification
- Softmax
Summary
- Classification can be realized in AI domain.
- The two significant parts in classification are "feature" and "classifier"
- Feature : present in feature vector.
- Classifier is a function that convert feature vector to class.
- Steps of classifications :
- 1. feature extraction : the process from data to feature vector
- 2. Classifier Training : train by training data and algorithm
- 3. Classifier Testing and Application
- Different Training algorithm will produce different classifier even the training data are the same.
- For training algorithm , Perception and SVM are the most known algorithms.
- They have their own Loss Function
- Loss function can measure the difference between training data and output results.
Comments
Post a Comment