The point, which should be obvious, is this: a computer can't "just look at it" as you or I would. It can only find the peak value in a data set by executing a logical sequence of mathematical steps, which we call an algorithm.I watched this video and I'm wondering if I want to find a peak I can just look at it and tell which is the peak. what is the point of using an algorithm?
It might be a stupid question for you but I really don't understand. I watched this video and I'm wondering if I want to find a peak I can just look at it
and tell which is the peak. what is the point of using an algorithm?
Perhaps you have some insight into how a non-algorithmic approach would work. Can you please enlighten us?It might be a stupid question for you but I really don't understand. I watched this video and I'm wondering if I want to find a peak I can just look at it
and tell which is the peak. what is the point of using an algorithm?
That's a question only women can answer but how living systems process information is an open question that's unlikely to be completely algorithmic. We are trying to poorly simulate it with computer based AI while still having little success in actually understanding it.Perhaps you have some insight into how a non-algorithmic approach would work. Can you please enlighten us?
@MrChips alluded to it:Perhaps you have some insight into how a non-algorithmic approach would work. Can you please enlighten us?
In many daily activities we execute lot of algorithms which are not composed of "mathematical" steps but are oriented to achieve a predefined result.The point, which should be obvious, is this: a computer can't "just look at it" as you or I would. It can only find the peak value in a data set by executing a logical sequence of mathematical steps, which we call an algorithm.
Given a list of ten items you might think that you can just find the largest by just looking at them as a group. But is that really what you are doing? Your brain is somehow managing to see every individual value and somehow compare it to all of the others in such a way as to enable you to find the largest value. But how does your brain do it? We really don't know. We can design parallel circuits that could take in that same set of ten items and process them all at the same time to decide which is the largest, but the complexity grows exponentially as the number of items increases. The same appears to happen with your brain. Instead of a list of ten items, imagine a sheet filled with a thousand three digit numbers. You can still all of them at once, but can you confidently find the largest by "just looking at it"? No. At that point you are going to start using some systematic approach to scan the field of numbers, remembering things as you go along. You are now using an algorithm.It might be a stupid question for you but I really don't understand. I watched this video and I'm wondering if I want to find a peak I can just look at it
and tell which is the peak. what is the point of using an algorithm?
It was a rhetorical question for the TS. No need for your contribution on this one.@MrChips alluded to it:
A neural network "taught" to recognize peaks. No explicit algorithm necessary.
I was driving as I read this (stopped at a light). I looked out the windshield and immediately identified about 30 vehicles of various shapes and sizes, a bunch of trees, the road and its surface, a leaf blowing across the road, a church and its steeple, a construction site with various vehicles including shovels, dump trucks, and pickup trucks, blades of grass in the median, yellow and white stripes on the road surface with matching reflectors spaced periodically, power lines, the poles upon which the lines were mounted, an airplane (commercial jet flying about 5,000 ft. heading east to the airport), and a couple of birds against the background of a partly cloudy sky.For problems of small size, we think we just "do it", but when we sort a whole deck of playing cards or do a large word search puzzle, we start getting systematic about it.
That's because you have a massively parallel processor that is built to do pattern recognition.I was driving as I read this (stopped at a light). I looked out the windshield and immediately identified about 30 vehicles of various shapes and sizes, a bunch of trees, the road and its surface, a leaf blowing across the road, a church and its steeple, a construction site with various vehicles including shovels, dump trucks, and pickup trucks, blades of grass in the median, yellow and white stripes on the road surface with matching reflectors spaced periodically, power lines, the poles upon which the lines were mounted, an airplane (commercial jet flying about 5,000 ft. heading east to the airport), and a couple of birds against the background of a partly cloudy sky.
Now, granted, if you asked me to identify each of the 30 cars by make, model, and color, I'd fail miserably. But I find it rather amazing that I executed the identify_environment() function almost immediately without any apparent associated algorithm.
Edit: my point being that identify_environment() seems to be a far more complex (infinitely complex?) process than a simple sort() of any number of objects -- yet I can do the first far faster and without thinking about it.
And I built it all by myself!That's because you have a massively parallel processor that is built to do pattern recognition.
Agreed. Though it took a lot more effort than you probably realize. For instance, if you were to be blindfolded and then allowed to look out the windshield for one second before having the blindfold put back in place, you would be hard pressed to reconstruct that list (and it would be a lot more error filled). Your brain was processing your environment for quite some time before you did your little experiment and so much of the information that you observed was already in the model contained in your brain.I was driving as I read this (stopped at a light). I looked out the windshield and immediately identified about 30 vehicles of various shapes and sizes, a bunch of trees, the road and its surface, a leaf blowing across the road, a church and its steeple, a construction site with various vehicles including shovels, dump trucks, and pickup trucks, blades of grass in the median, yellow and white stripes on the road surface with matching reflectors spaced periodically, power lines, the poles upon which the lines were mounted, an airplane (commercial jet flying about 5,000 ft. heading east to the airport), and a couple of birds against the background of a partly cloudy sky.
Now, granted, if you asked me to identify each of the 30 cars by make, model, and color, I'd fail miserably. But I find it rather amazing that I executed the identify_environment() function almost immediately without any apparent associated algorithm.
Edit: my point being that identify_environment() seems to be a far more complex (infinitely complex?) process than a simple sort() of any number of objects -- yet I can do the first far faster and without thinking about it.
If you are not a musician you may not realized that it is easier than that. You don't have to know anything about audio frequencies. There are only twelve notes in the western musical scale. In any given song there will be two or three prominently recurring notes, which in music theory we call root, third, and fifth. Hence pitch and rhythm can be memorized very easily once you have an ear for it.On the subject remotely related to algorithms and reasoning, my mother was a piano and organ instructor and some gifted people can easily recognize and quickly memorize musical patterns.
Many musicians can play Bach's organ works by ear after listening to a recording only a few times. Bach's complete organ works is on 12 CDs so if you compare how much a musician has in memory to the equivalent gigabytes on CD, it's quite astounding.
Seems the algorithm involved in memorizing music would involve recognizing a logical relationship between audio frequencies and also their rhythm.
| Thread starter | Similar threads | Forum | Replies | Date |
|---|---|---|---|---|
|
|
The sound of sorting algorithms | Off-Topic | 7 | |
|
|
Interesting Algorithms | Programming & Languages | 129 | |
| B | Control algorithms for drones | Off-Topic | 8 | |
| J | A, B, or C? (GLCD Plot Algorithms) | Microcontrollers | 13 | |
| N | How to gain sufficient understanding to be able to write typical Gamma Compression algorithms? | Programming & Languages | 1 |