Computational thinking
data mining
data mining applications
Limitations of data mining -
Challenges in producing a solution to a computational problem
Programming standards why
for modules to be reusable they need to conform to these so it’s easy to use for other programmers + maintainability
Programming standards what
Backtracking when
Backtracking
recursive algorithm.
takes one path as far as possible. when node does not have any nodes to visit (dead end)/ abandons each partial success if determined that it cant be completed
returns to previous node (decision point) and checks for further nodes to visit/aternative solution
- Repeats until solution is found.
- suitable for route problems, depth first search
Returning to a previously successful result to find an alternative solution
Abandons each partial success as soon as it determines that the partial solution cannot possibly be completed
Heuristics
Heuristics example
A* algorithm.
Crow’s path heuristic
- difficult to calculate all the possible routes from gas flow to London on a car sat nag so pathfinding algorithm is led in the general direction to save time and processing power. Or when crossing the road: don’t gather all data about vehicle speeds, we scan the data most likely to help us and make a judgement based on experience
performance modelling
enumeration algorithm
an algorithm that performs an exhaustive search, attempts all solutions until correct one is found
theoretical approach
representing a problem using mathematical equations
simulation
using computer system to model real life situation to attempt to understand its behaviour
makes use of abstraction
e.g climate change, financial risk analysis
automation
problem recognition
divide and conquer
visualisation
-when data/problem and processes are represented in a visual or graphical format
problems easier to solve, presented in a easier to understand way
- identify trends/patterns otherwise not obvious to inform decisions
- for the mind to process, clears up confusion
- e.g flowcharts, graphs
tractable problem
any problem that can be solved in a polynomial time or better
runs quick enough to be practical and useful
has computable features /can be solved using computational methods
intractable problem