dijkstras algorithm
dijkstras algorithm steps
A* algorithm
how to calculate heuristic
Manhattan method
- find the across and down distance
pythagorus method
- find the direct distance using pythag
applications of shortest path
AI
a machine with cognitive abilities eg problem solving and learning
split into:
- narrow
- general
- strong
narrow AI
when a machine has superior performance to a human in one specific task
general AI
when a machine has a similar performance to a human in any intellectual task
strong AI
when a machine has superior performance to a human in many tasks
examples of AI
machine learning
subset of AI
- algorithms are trained and learn from their past mistakes and examples
- is possible for the system to make predictions and even take decisions based on previous scenarios
- offer fast and accurate outcomes due to very powerful processing capability
- have ability to manage and analyse
considerable volumes of complex data (would take humans to long)
machine learning eg search engine
unlabelled data
data which is unidentified and needs to be recognised.
Some processing would need to be done before it can be recognised asa specific group
types of machine learning
supervised learning
makes use of regression analysis and classification analysis - used to predict outcomes based on past data
- needs input + correct outputs to train
- uses labelled data so desired output is known
- once trained - run using labelled data
- results compared with correct output - if errors needs refinement
- once trained run with unlabelled data to predict the outcome
supervised learning eg
eg classifying emails as spam, identifying handwriting
unsupervised learning
unsupervised learning eg
eg product marketing
- a group of individuals with similar purchasing behaviour are regarded as a single unit for promotions
reinforcement learning
reinforcement learning eg
search engines, online games, robotics
semi supervised learning
semi supervised learning eg
classification of web pages
- a web crawler is used to look at large amounts of unlabelled web pages (cheaper than manually annotating them)
deep learning
subset of machine learning
structures algorithms in layers (input, hidden, output) to create and ANN that can learn and make intelligent decisions on its own
modelled on human brain
reasons for using deep learning