I just recently got into machine learning, and have been hitting a lot of obstacles understanding the algorithms involved in the programmings. My issue isnt with the programming, but how they're translated from math to code. ML is popular with python, and that's okay, but i dont like python, and i dont want to have to learn it to be able to use the programming language of my choice, to do the exact same thing but in a way i feel comfortable (i dont care if python is popular for math majors, because it's easier for them to understand -- it isnt for me, when nothing being done is explained thoroughly.).

I'm trying to decipher this model Algorithm logic

this is the breakdown for the algorithm model Learning Vector Quantization

this is the math i was able to decipher for this particular model Math Equation (Left is terminology and their usage, the middle in black was something to do with programming arrays... below it is the equation used in bottom left, but more elaborate, and underneath that is a image that says the same thing the algorithm is doing.. because sometimes pictures are easier to understand that words VectorArray(Value) * VectorArray(Weight) + SingleUnit(Bias) = Neuron(Node))

But then everything stops at the middle layer of the second image. How do i get the full output to give me a yes or no response? How do i enter in the variables and tables to go thru the math steps? Is my understanding correct, or am i lacking somewhere?

This user is also sharing the same algorithm but our math dont look the same How do i go from what i have, to what [s]he has?

At the end of all of these questions, i'm going to write everything into a programming script, that'll use a different language from python (and i would need to manually create resources from scratch, because no one else thinks machine learning should be done in other languages -- it seems...). I want to be able to understand the process itself, without just doing cookie-cutter actions (tools made by users for those too lazy to do the work -- which circumvent the learning/understanding process of what's going on behind scenes).

  • $\begingroup$ could you please rewrite to make it clearer, I think you can remove some information that I think isn't relevant to the main question (like your opinion with python) and explain each picture you put in there $\endgroup$ – malioboro Mar 14 '19 at 6:07
  • $\begingroup$ i dont know how to make it clearer... my opinion was added because i stated i wanted to use programming as end goal but could not find any resources that applied to what it is i wanted to do. which was not use python cause it wasnt convenient enough for me to follow along with. If popularity dictates the results i query, then i have to specify i dont want "popular" results, and that i'm seeking something against the norm... All i want to do is understand the math better, so that i can write a code that does the same thing. But if i dont understand it, i cant explain it so that others can... $\endgroup$ – user3681384 Mar 14 '19 at 7:45
  • $\begingroup$ Are you trying to understand the maths for a normal feed-forward neural network used as a binary classifier? That's what it looks like, but you barely mention those terms, and you are asking a very generic (impossible to answer) question in your title. "How to translate algorithm from logic to equation, and back?" is impossible to answer. However, if you gave a specific part of the maths or the code for a neural network, many people on this site could easily convert between the two for any specific part. $\endgroup$ – Neil Slater Mar 14 '19 at 8:05
  • $\begingroup$ I dont understand any of those terminologies, i tried to state that i am new to the technology, and that research into the subject is difficult because all resources around the subject is cluttered around python programming. If i google "Machine Learning" i get nothing but python results. If i google "Machine Learning -python" then i dont get anything that teaches me the math/concept. I went with what i was able to understand, if you can help fill in any gaps, i would be very much appreciative. It's something i would like to learn, but if i cant, then i just wont. :/ $\endgroup$ – user3681384 Mar 14 '19 at 8:08
  • $\begingroup$ OK, your first goal then is to narrow down what you want to understand and explain it in the question in ways that answerers have a clue on what you are asking about. Otherwise this question will go nowhere. There are 100s of ML algorithms, and many variations of neural networks. You need to understand what you want to do at a high level - at least the name of it, before anyone can even know what you are trying to achieve $\endgroup$ – Neil Slater Mar 14 '19 at 8:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.