Artificial Intelligence

5 min. read

Artificial Intelligence

Finite State Machines (FSM)

4 Basic components in a simple FSM:

States
Transitions
Rules
Events

Random and probability in AI

Non-intentional:

Intentional:

The sensor system

Path following and steering

Action Selection
Steering
Locomotion

Machine Learning (ML)
function(x) = y

Supervised learning
Regression

Residuals = difference between the predicted and actual levels

Measure errors: RMSE (Root-mean-square error) or mean absolute error (MAE)

Relative absolute error (RAE)
Relative squared error (RSE)

Coefficient of determination (R squared), is another relative metric, close to 1 is a good fit
Classification
A technique that we can use to predict which class, or category, something belongs to.

Normally true or false or 0 to 1, a threshold of 0.5

True positive (TP) = predicted true and actual value was true
True negative (TN) = predicted false and actual was false

False positive (FP) = predicted true but actual is false
False negative (FN) = predicted false, but actual is true

Confusion Matrix

Actual
1
0
Predicted

1
5
2
0
0
4

Accuracy = (TP + TN)/ (TP + FP + TN + FN)
Precision = TP/(TP+FP)
Recall (True Positive Rate - TPR)= TP/(TP+FN)
False Positive Rate (FPR) = FP/(FP+TN)
Receiver operator characteristic (ROC) chart
Area under the curve (AUC)

Unsupervised Learning
Clustering
K-means clustering
Principal component analysis (PCA)

Tools
Azure
Azure Machine Learning

Machine Learning Workspace

Jupyter Notebook uses Python.
matplotlib
Seaborn

Unity ML
https://www.youtube.com/watch?v=IgA4OHPxju8&list=PLX2vGYjWbI0R08eWQkO7nQkGiicHAX7IX&index=4

https://github.com/Unity-Technologies/ml-agents

OpenAI

Scikit-learn

TensorFlow

Anaconda
https://www.anaconda.com/

DeepMind AlphaGo Zero
https://deepmind.com/blog/alphago-zero-learning-scratch/

Artificial Intelligence Explained: Unleashing the Next Wave
https://www.youtube.com/watch?v=vehXkgG3YcU&index=10&list=PLW4TiNoiDJKIm32DWon5W_Btx8IdDpKGe

Artificial Intelligence <- Machine Learning <- Deep Learning <- Neural Networks

Use Cases
The Yield - Farming use Case

Learning AI

AI Algorithms for Gaming

References

https://courses.edx.org/courses/course-v1:Microsoft+DAT263x+1T2018/courseware/f5e142e1d0b94531b87586d9633e8063/f014736099cb40dab0ba57ab850d4128/?child=first

Photoshop photo merge:
https://www.lynda.com/Photoshop-tutorials/Artificial-intelligence-works/61019/74404-4.html

Artificial Intelligence Foundations
https://www.lynda.com/Data-Science-tutorials/Artificial-Intelligence-Foundations-Thinking-Machines/601798-2.html?srchtrk=index%3a3%0alinktypeid%3a2%0aq%3aArtificial+Intelligence%0apage%3a1%0as%3arelevance%0asa%3atrue%0aproducttypeid%3a2

Programmatic Advertising Foundations
https://www.lynda.com/Google-AdWords-tutorials/Programmatic-Advertising-Foundations/601814-2.html?srchtrk=index%3a4%0alinktypeid%3a2%0aq%3aArtificial+Intelligence%0apage%3a1%0as%3arelevance%0asa%3atrue%0aproducttypeid%3a2

Artificial intelligence: Future of segmentation and targeting
https://www.lynda.com/Google-AdWords-tutorials/Artificial-intelligence-Future-segmentation-targeting/601814/655746-4.html

Intermediate Bot Framework for Developers
https://www.lynda.com/Azure-tutorials/Intermediate-Bot-Framework-Developers/661772-2.html?srchtrk=index%3a2%0alinktypeid%3a2%0aq%3aArtificial+Intelligence%0apage%3a1%0as%3arelevance%0asa%3atrue%0aproducttypeid%3a2

Cert Prep: Unity Particle Systems, AI, and Audio
https://www.lynda.com/Unity-tutorials/Cert-Prep-Unity-Particle-Systems-AI-Audio/536423-2.html?srchtrk=index%3a3%0alinktypeid%3a2%0aq%3aArtificial+Intelligence%0apage%3a1%0as%3arelevance%0asa%3atrue%0aproducttypeid%3a2

iOS GameKit
https://www.lynda.com/GamePlayKit-tutorials/Creating-realistic-opponent/417074/452947-4.html

Amazon Web Services Machine Learning Essential Training
https://www.lynda.com/Amazon-Web-Services-tutorials/Amazon-Web-Services-Machine-Learning-Essential-Training/624308-2.html?srchtrk=index%3a5%0alinktypeid%3a2%0aq%3aArtificial+Intelligence%0apage%3a1%0as%3arelevance%0asa%3atrue%0aproducttypeid%3a2

Microsoft Cognitive Services for Developers
https://www.lynda.com/Azure-tutorials/Microsoft-Cognitive-Services-Developers/659280-2.html?srchtrk=index%3a7%0alinktypeid%3a2%0aq%3aArtificial+Intelligence%0apage%3a1%0as%3arelevance%0asa%3atrue%0aproducttypeid%3a2

Digital Transformation
https://www.lynda.com/Leadership-Management-tutorials/Digital-Transformation/667354-2.html?srchtrk=index%3a10%0alinktypeid%3a2%0aq%3aArtificial+Intelligence%0apage%3a1%0as%3arelevance%0asa%3atrue%0aproducttypeid%3a2

Edge Analytics: IoT and Data Science
https://www.lynda.com/Data-Science-tutorials/Edge-Analytics-IoT-Data-Science/597024-2.html?srchtrk=index%3a21%0alinktypeid%3a2%0aq%3aArtificial+Intelligence%0apage%3a1%0as%3arelevance%0asa%3atrue%0aproducttypeid%3a2

TensorFlow
https://www.youtube.com/watch?v=oxf3o8IbCk4

Machine Learning

https://medium.freecodecamp.org/every-single-machine-learning-course-on-the-internet-ranked-by-your-reviews-3c4a7b8026c0

Programming Game AI by Example by Mat Buckland and Artificial Intelligence for Games by Ian Millington and John Funge. The AI Game Programming Wisdom series also contain a lot of useful resources and articles on the latest AI techniques.

YouTube
https://www.youtube.com/watch?v=UjQ1AzSvCp8&list=PLjTSKEJpqIeDrUYF7DKspT2r9H38vg5dC