What is an AI if it isn't an algorithm?
AI is a trained system, a matrix of weights. This is different from a program that says
for(;;){
if (desired_temp
turn_on_heater();
if (desired_temp >= sensor_temp() )
turn_off_heater();
}
So you define an AI as a "matrix of weights" and then differentiate it from an arbitraially defined 1 or possibly 2 dimensional matrix of weights!
I see what you did there! Just so you know, your little control system would "chatter" a lot because of a too tightly defined trigger for on off toggling.
This can be avoided, by implementing a PID controller. This type of system is all around us, if you want to learn about it, try spending an afternoon with an Allen Bradley Ladder Logic trainer.
PID is not largely considered AI, however it largely shares the transfer function, with an AI designed to do the same defined task. You would not build a control system with a super computer to turn on and off a heater to maintain temperature in a room (that would be overkill) when you could achieve the same "transfer function" with a simple op-amp circuit configured as a differential amplifier implementing adjustable negative feedback. The former would cost hundreds of dollars and the latter under 5 dollars!
What is important here, and the concept that 110010001000 is glossing over without realizing they are glossing over it is the concept of the "transfer function".
You can build a computer to play chess, you can train a person to play chess or hypothetically build an analog circuit to implement "Chess playing like" logic. The transfer function of all three things would be the same. Each thing plays chess, some more robust than others, and one could argue that the human brain does not play chess by performing a massive database search of scored chess game positions from millions of grandmaster chess games, but you do have to admit that it is a good way to beat Gary Kasparov at playing chess in a pinch.. one that is such a no brainer a super computer could do it! Kasparov does not do a database search when he plays chess, but when he is done, intuiting and psyching out his opponent and thinking a few moves ahead of the game.. the result is the same.. a chess game played according to the legal rules with either one winner and one loser, or a winner and a resigner. The transfer function between Kasparov and Deep blue were and are equivalents. This does not mean that Deep blue could drive a drunken and beaten Kasparov home from the bar afterward.