I get the bit about giving it information that it learns from information you give it and connecting its neural pathways to learn and whatever (I’m bad at explaining things), but how does it learn? How are you supposed to provide it with information, and how is it supposed even to begin learning in the first place?
I know that you input data, and the machine receives that data, tries to find patterns and do things; but how does it do this?
In: Technology
this is a really hard topic to explain, partly because even the experts dont actually understand it, and partly because the bits they do explain are MS/Ph.D level math.
But basically, a machine learning model is a whole bunch of “weights”. You take the input to the model, convert it to a list of numbers, and then multiply all of the numbers in that list by the weight numbers. which numbers get multiplied where, and how you combine the newly created numbers is defined by the architecture of the ML model, a separate generally hard coded human selected thing (but some will “breed” various architectures together and pick the best at each generation)
The output from all of this is the model output, so you start with some known input with a known output and you put it through the system, then you compare the output value to the expected output, and tweek all the weights slightly so that the output number is closer to the expected.
Then you do this for thousands of inputs over and over repeating each thousands of times.
By the time you are done, the weights in the model have been tuned to produce the expected output from the inputs. Now you test inputs you didnt train on, and if the model gets those correct too, you deploy it on unknown inputs and just hope its right.
When you put enough weights together, you can model basically anything, and since the difference between the input and output durring “training” decreases, it looks like the model “learned” what is expected, but really, there is just a bunch of weights set to very specific values which replicate the expected results mathed.
Latest Answers