{"id":61,"date":"2025-08-25T23:09:19","date_gmt":"2025-08-25T21:09:19","guid":{"rendered":"https:\/\/mlatilikzsolt.hu\/?p=61"},"modified":"2025-09-11T23:04:58","modified_gmt":"2025-09-11T21:04:58","slug":"intro-to-neural-networks_part1","status":"publish","type":"post","link":"https:\/\/mlatilikzsolt.hu\/en\/2025\/08\/25\/intro-to-neural-networks_part1\/","title":{"rendered":"Introduction to the World of Neural Networks Part 1"},"content":{"rendered":"<p style=\"font-size:clamp(0.918rem, 0.918rem + ((1vw - 0.2rem) * 0.725), 1.38rem);\">In recent years, artificial intelligence has become almost everywhere: it recognizes our faces on smartphone cameras, translates text from foreign languages, and can even draw pictures or write stories. One of the engines behind these impressive developments is the <strong>neural network.<\/strong>.<\/p>\n\n\n\n<p style=\"font-size:clamp(0.918rem, 0.918rem + ((1vw - 0.2rem) * 0.725), 1.38rem);\">But what exactly is a neural network? And what does it have to do with our brain?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"0-egy-kis-anal%C3%B3gia\">A Simple Analogy<\/h2>\n\n\n\n<p class=\"has-large-font-size\">Imagine a tiny decision-maker: a \"neuron\" that looks at a single input (e.g., temperature) and, based on a simple rule, decides whether to answer \u201cyes\u201d or \u201cno.\u201d If we connect many of these small decision-makers, they can solve more complex problems together. This basic idea is at the heart of artificial neural networks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"1-mi-az-a-mesters%C3%A9ges-neuron\">What is an Artificial Neuro<\/h2>\n\n\n\n<p>An artificial neuron is a simplified mathematical model of the brain\u2019s nerve cells (neurons). \u00a0 <\/p>\n\n\n\n<p>A biological neuron receives inputs from other cells, processes the information, and decides whether to pass on the signal.<\/p>\n\n\n\n<p>Similarly, an <strong>artificial neuron<\/strong> :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>receives multiple <strong>input values<\/strong> , &nbsp;<\/li>\n\n\n\n<li>multiplies them by <strong>weights<\/strong>, which determine how important each input is, &nbsp;<\/li>\n\n\n\n<li>adds a <strong>bias<\/strong> value, which acts as a baseline adjustment, &nbsp;<\/li>\n\n\n\n<li>and then transforms the result using an <strong>activation function<\/strong> , before sending it forward to the next layer. &nbsp;<\/li>\n<\/ul>\n\n\n\n<p>In short: weights determine the importance of inputs, while bias fine-tunes the decision.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"2-mi%C3%A9rt-fontosak-a-neur%C3%A1lis-h%C3%A1l%C3%B3zatok\">Why are Neural Networks Important?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Image recognition<\/strong>: when Facebook automatically tags people in photos. &nbsp;<\/li>\n\n\n\n<li><strong>Translation<\/strong>: when Google Translate translates entire sentences, not just words. &nbsp;<\/li>\n\n\n\n<li><strong>Chatbots<\/strong>: when a virtual customer service assistant appears on a website.<\/li>\n<\/ul>\n\n\n\n<p>They can do all this because neural networks are extremely good at recognizing patterns in data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Will This Series Cover?<\/h2>\n\n\n\n<p>In this series, I will try to show you step by step: \u00a0<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>What an artificial neuron is, and how to describe it in Python. &nbsp;<\/li>\n\n\n\n<li>How a simple network is built from multiple neurons. &nbsp;<\/li>\n\n\n\n<li>What a <strong>loss function<\/strong>is, and why it matters. &nbsp;<\/li>\n\n\n\n<li>How a network learns (backpropagation). &nbsp;<\/li>\n\n\n\n<li>How we can use them for real-world problems. &nbsp;<\/li>\n<\/ol>\n\n\n\n<p>I strive to write in plain language in my articles, avoiding very dry, technical text and complicated mathematical formulas. I will only write about the mathematics behind how things work, as much as is absolutely necessary for understanding.<\/p>\n\n\n\n<p>In this series, I will program a simple neural network from scratch with all its features. I will use the <strong>Python<\/strong> language for this.<\/p>\n\n\n\n<p>You might ask, what's the point of programming a neural network from scratch when there are ready-to-use frameworks where you can build any network with a few lines of code? Well, I think it's because it's exciting to look a little \"behind the scenes\" and understand how things work. And because it's fun!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Next Article<\/h2>\n\n\n\n<p>In the next article, we\u2019ll take a closer look at <strong>how an artificial neuron works<\/strong>, and write our first Python code which demonstrates this in practice.<\/p>\n\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Az ut\u00f3bbi \u00e9vekben a mesters\u00e9ges intelligencia szinte mindenhol ott van: felismeri az arcunkat a telefon kamer\u00e1j\u00e1ban, leford\u00edtja a sz\u00f6vegeket idegen nyelvekr\u0151l, s\u0151t, k\u00e9pes k\u00e9peket rajzolni \u00e9s t\u00f6rt\u00e9neteket \u00edrni. Ezeknek a l\u00e1tv\u00e1nyos fejleszt\u00e9seknek az egyik motorja a neur\u00e1lis h\u00e1l\u00f3zat.<\/p>\n<p>But what exactly is a neural network? And what does it have to do with our brain?<\/p>","protected":false},"author":1,"featured_media":157,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1,"footnotes":""},"categories":[9,8],"tags":[11,10],"class_list":["post-61","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial_intelligence","category-neural-networks","tag-artificial-intelligence","tag-neural-networks"],"featured_image_src":"https:\/\/mlatilikzsolt.hu\/wp-content\/uploads\/2025\/08\/artificial-intelligence-8026763_640.png","author_info":{"display_name":"MlatilikZsolt","author_link":"https:\/\/mlatilikzsolt.hu\/en\/author\/mlatilikzsolt\/"},"_links":{"self":[{"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/posts\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":9,"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/posts\/61\/revisions\/309"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/media\/157"}],"wp:attachment":[{"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mlatilikzsolt.hu\/en\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}