{"pageProps":{"post":{"mdxSource":"var Component=(()=>{var c=Object.create;var o=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty;var h=t=>o(t,\"__esModule\",{value:!0});var g=(t,i)=>()=>(i||t((i={exports:{}}).exports,i),i.exports),w=(t,i)=>{h(t);for(var r in i)o(t,r,{get:i[r],enumerable:!0})},f=(t,i,r)=>{if(i&&typeof i==\"object\"||typeof i==\"function\")for(let n of u(i))!p.call(t,n)&&n!==\"default\"&&o(t,n,{get:()=>i[n],enumerable:!(r=d(i,n))||r.enumerable});return t},y=t=>f(h(o(t!=null?c(m(t)):{},\"default\",t&&t.__esModule&&\"default\"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var l=g((T,s)=>{s.exports=_jsx_runtime});var x={};w(x,{default:()=>v,frontmatter:()=>b});var e=y(l()),b={title:\"AI for beginners: how to learn how AI actually works\",date:new Date(1690644734e3),lastmod:\"2023-07-29\",tags:[\"AI\",\"Neural Networks\",\"Guide\"],draft:!1,summary:\"A beginner's/noob's guide for using ChatGPT to learn how AI works and why now is the time to learn.\",layout:\"PostSimple\",images:[\"/static/images/beginners/curve.jpg\"],canonicalUrl:\"https://alexhandley.co/blog/AI-for-beginners\"};function k(t={}){let{wrapper:i}=t.components||{};return i?(0,e.jsx)(i,Object.assign({},t,{children:(0,e.jsx)(r,{})})):r();function r(){let n=Object.assign({div:\"div\",p:\"p\",ol:\"ol\",li:\"li\",em:\"em\",hr:\"hr\",h1:\"h1\",a:\"a\",span:\"span\",strong:\"strong\",blockquote:\"blockquote\",h2:\"h2\",ul:\"ul\",h3:\"h3\"},t.components),{Image:a}=n;return a||I(\"Image\",!0),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-full sm:w-3/4\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`Image of dinosaur looking at the AI meteor saying I'll learn it\nlater`,src:\"/static/images/beginners/dinos.jpg\",width:\"904\",height:\"500\"})})})}),(0,e.jsx)(n.p,{children:\"Everyone says to get into AI you just need to learn computer science, maths, and stats. But which parts exactly? How? My goals for this guide are to help you better understand what you need learn:\"}),(0,e.jsxs)(n.ol,{children:[(0,e.jsx)(n.li,{children:\"Show you that this a topic worth learning deeply.\"}),(0,e.jsxs)(n.li,{children:[\"Give you a guide and the tools for one \",(0,e.jsx)(n.em,{children:\"way\"}),\" to learn how AI works.\"]})]}),(0,e.jsx)(n.hr,{}),(0,e.jsxs)(n.h1,{id:\"why-this-why-now-why-care\",children:[(0,e.jsx)(n.a,{href:\"#why-this-why-now-why-care\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Why this, why now, why care?\"]}),(0,e.jsx)(n.p,{children:(0,e.jsx)(n.strong,{children:\"I believe that we are in a unique time in human history.\"})}),(0,e.jsx)(n.p,{children:(0,e.jsx)(n.a,{href:\"https://www.gatesnotes.com/The-Age-of-AI-Has-Begun\",children:\"Bill Gates recently said:\"})}),(0,e.jsx)(n.blockquote,{children:(0,e.jsx)(n.p,{children:\"The Age of AI has begun. Artificial intelligence is as revolutionary as mobile phones and the Internet.\"})}),(0,e.jsxs)(n.p,{children:[\"Mo Gawdat, a former exec at Google, \",(0,e.jsx)(n.a,{href:\"https://www.youtube.com/watch?v=bk-nQ7HF6k4\",children:\"said that\"}),' AI is \"bigger than climate change\" and that people should hold off on having kids right now because of it.']}),(0,e.jsxs)(n.p,{children:[\"On a more positive note, \",(0,e.jsx)(n.a,{href:\"https://a16z.com/2023/06/06/ai-will-save-the-world/\",children:\"Marc Andreessen recently proclaimed:\"})]}),(0,e.jsx)(n.blockquote,{children:(0,e.jsx)(n.p,{children:\"I am here to bring the good news: AI will not destroy the world, and in fact may save it.\"})}),(0,e.jsxs)(n.p,{children:[\"A consortium of politicians, AI pioneers, and captains of industry \",(0,e.jsx)(n.a,{href:\"https://futureoflife.org/open-letter/pause-giant-ai-experiments/\",children:\"banged the doom gong\"}),\" this year to pause AI experiments.\"]}),(0,e.jsx)(n.p,{children:\"We are in a similar moment to when they were deciding if nuclear bombs could kill us all and ignite the atmosphere, or end the war. No matter where you are on the spectrum (doomer / accelerationist) \\u2014 now is the time to learn.\"}),(0,e.jsx)(n.p,{children:\"Some have said we are in a cambrian explosion in technological progress. I'd say we are in the Pokemon Gold/Silver era of AI (when the Pokemon still made sense).\"}),(0,e.jsx)(n.p,{children:\"Are you going to miss this moment?\"}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-1/4\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:\"Source is https://www.pokemon.com/us/pokedex/omastar\",src:\"/static/images/beginners/omarstar.png\",width:\"475\",height:\"475\"})})})}),(0,e.jsxs)(n.h2,{id:\"step-1\",children:[(0,e.jsx)(n.a,{href:\"#step-1\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Step 1\"]}),(0,e.jsx)(n.p,{children:\"Step 1 in learning this stuff is developing the motivation.\"}),(0,e.jsxs)(n.p,{children:[\"For me, it was reading \",(0,e.jsx)(n.a,{href:\"https://www.gatesnotes.com/The-Age-of-AI-Has-Begun\",children:\"Bill Gate's article\"}),\" on why the new generative AI advancements are a genuine breakthrough. Feeling inspired, I then opened up ChatGPT and had my first real conversation with the technology. That conversation made me understand the world a little bit more and also, strangely, I found myself bit less lonely in it.\"]}),(0,e.jsx)(n.p,{children:\"More practically, I work in tech and I believe our jobs will be the first to change dramatically. To repeat the cliche: Engineers/office dogs/PM's etc.. won't be replaced by ChatGPT, they will be replaced by Engineers/office dogs/PM's that use ChatGPT.\"}),(0,e.jsx)(n.p,{children:\"So put your lizard brain to work and start thinking about existential risks! This tech will likely bring about a lot of change to all of our lives. So now is the time to be catching the wave, and not being rolled by it.\"}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-full sm:w-1/2\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`Caption: You if you don't read this article, Wave meme\nimgflip.com`,src:\"/static/images/beginners/wave.jpg\",width:\"500\",height:\"725\"})})})}),(0,e.jsxs)(n.h2,{id:\"a-note-on-the-format-before-we-begin\",children:[(0,e.jsx)(n.a,{href:\"#a-note-on-the-format-before-we-begin\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"A note on the format before we begin\"]}),(0,e.jsx)(n.p,{children:\"This is a story about how I started the climb up the AI learning curve and how and why you should too.\"}),(0,e.jsxs)(n.ul,{children:[(0,e.jsxs)(n.li,{children:[(0,e.jsx)(n.strong,{children:\"It is not\"}),' an article on \"how AI works\", ',(0,e.jsx)(n.strong,{children:\"it is\"}),\" an article on one way to deeply learn how AI works.\"]}),(0,e.jsxs)(n.li,{children:[(0,e.jsx)(n.strong,{children:\"It is not\"}),\" a high-level listicle giving an overview of all AI technology, \",(0,e.jsx)(n.strong,{children:\"it is\"}),\" a fundamentals-first approach to learning how neural networks and deep learning works.\"]})]}),(0,e.jsx)(n.p,{children:\"The intention was that after understanding the fundamentals then you can pursue different frameworks and directions (like Generative AI).\"}),(0,e.jsxs)(n.h2,{id:\"contents\",children:[(0,e.jsx)(n.a,{href:\"#contents\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Contents\"]}),(0,e.jsxs)(n.ol,{children:[(0,e.jsx)(n.li,{children:'Learning how AI \"brains\" work'}),(0,e.jsx)(n.li,{children:\"Learning how AI can know things\"}),(0,e.jsx)(n.li,{children:\"Learning how AI learns\"}),(0,e.jsx)(n.li,{children:\"Learning how AI can improve\"})]}),(0,e.jsx)(n.p,{children:\"The learning curve is steep but you have done the hard part:\"}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-full sm:w-3/4\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:\"Motivation at the start of the AI learning curve\",src:\"/static/images/beginners/motivation.jpg\",width:\"800\",height:\"800\"})})})}),(0,e.jsx)(n.p,{children:\"To get up that curve there's a few things to learn which we will cover.\"}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-full sm:w-3/4\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:\"The contents of the AI learning curve\",src:\"/static/images/beginners/curve.jpg\",width:\"800\",height:\"800\"})})})}),(0,e.jsx)(n.p,{children:\"Come on Sisyphis! Let's start rolling that boulder up the curve.\"}),(0,e.jsx)(n.hr,{}),(0,e.jsxs)(n.h1,{id:\"learning-how-ai-brains-work\",children:[(0,e.jsx)(n.a,{href:\"#learning-how-ai-brains-work\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),'Learning how AI \"brains\" work']}),(0,e.jsxs)(n.h2,{id:\"the-worlds-best-tutor\",children:[(0,e.jsx)(n.a,{href:\"#the-worlds-best-tutor\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"The world's best tutor\"]}),(0,e.jsxs)(n.p,{children:[\"This might be a complex topic, but luckily you have access to the world's best tutor, \",(0,e.jsx)(n.a,{href:\"https://openai.com/chatgpt\",children:\"ChatGPT\"}),\"! You should seriously consider paying for GPT-4, it's worlds apart from the free version.\"]}),(0,e.jsxs)(n.p,{children:[\"I think people's resistance to using ChatGPT either comes from an ignorance of it's potential, or an arrogance that a piece of software could know more than them. I honestly could not have gotten through this topic without ChatGPT \",(0,e.jsx)(n.a,{href:\"https://www.vipshek.com/blog/gpt-learning\",children:\"helping explain concepts differently\"}),\", grading my exercises and suggesting improvements, and providing constant encouragement with endless patience.\"]}),(0,e.jsxs)(n.p,{children:[\"Raising money for foundational models in AI is so hot right now \\u2014 of similar impact is the effort to create foundational memes in AI. One such meme is the \",(0,e.jsx)(n.em,{children:\"Subway Prompt Artist\"}),\".\"]}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-3/4 sm:w-1/2\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`Caption: Dudes be like, chatgpt sucks! My brother in christ, you wrote the prompt! meme from\nimgflip.com`,src:\"/static/images/beginners/subway.jpg\",width:\"515\",height:\"499\"})})})}),(0,e.jsxs)(n.p,{children:[\"If you don't get the joke then \",(0,e.jsx)(n.a,{href:\"https://chat.openai.com/share/5c3e1fdb-558a-41b6-8e6d-b860b369590b\",children:\"here is ChatGPT\"}),\" explaining it for you.\"]}),(0,e.jsxs)(n.h2,{id:\"getting-started\",children:[(0,e.jsx)(n.a,{href:\"#getting-started\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Getting started\"]}),(0,e.jsxs)(n.p,{children:[\"When I was searching for a foothold into this topic a lot of \",(0,e.jsx)(n.a,{href:\"https://gist.github.com/rain-1/eebd5e5eb2784feecf450324e3341c8d\",children:\"the guides I came across\"}),` race up the learning curve like you're not a noob. They present a \"draw an owl in two steps\" process for learning AI.`]}),(0,e.jsxs)(n.ol,{children:[(0,e.jsx)(n.li,{children:\"Go to the Neural Networks and Deep Learning textbook.\"}),(0,e.jsx)(n.li,{children:\"Understand the whole book and become an AI Researcher.\"})]}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-3/4 sm:w-1/2\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`Caption: How to draw an owl in two steps meme from\nhttps://knowyourmeme.com/photos/572093-how-to-draw-an-owl`,src:\"/static/images/beginners/owl.png\",width:\"500\",height:\"380\"})})})}),(0,e.jsxs)(n.p,{children:[\"The guide from here provides more steps in-between and introduces a few helpful resources in working through Michael Nielsen's incredible, free textbook \",(0,e.jsx)(n.a,{href:\"http://neuralnetworksanddeeplearning.com/index.html\",children:\"Neural Networks and Deep Learning\"}),\".\"]}),(0,e.jsxs)(n.p,{children:[\"You could dive into the textbook straight away or you could watch \",(0,e.jsx)(n.a,{href:\"https://www.3blue1brown.com/topics/neural-networks\",children:\"3Blue1Brown's\"}),\" \",(0,e.jsx)(n.a,{href:\"https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi\",children:\"Youtube series\"}),\" which provide a visual explanation of the first chapters. I found myself alternating between getting stuck in the book and rewatching 3Blue1Brown's videos.\"]}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-3/4 sm:w-1/2\",children:(0,e.jsx)(\"a\",{href:\"https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi\",target:\"_blank\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`Learn the basics of neural networks and backpropagation, one of the most important\nalgorithms for the modern world.`,src:\"/static/images/beginners/3b1bep1.png\",width:\"500\",height:\"566\"})})})})}),(0,e.jsxs)(n.h2,{id:\"linear-algebra-the-mathematics-of-data\",children:[(0,e.jsx)(n.a,{href:\"#linear-algebra-the-mathematics-of-data\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Linear algebra, the mathematics of data\"]}),(0,e.jsx)(n.p,{children:\"Pretty quickly you will come across a lot of algebraic syntax. This may seem daunting if you have not been exposed to it before. But remember you have ChatGPT to explain the equations in any depth you need, as many times you need. I had not seen maths like this since high school but the ChatGPT method worked for me.\"}),(0,e.jsxs)(n.p,{children:[\"In this learning journey, Grant Sanderson (from 3Blue1Brown) is like a NPC quest-giver that will show up many times, right when you need him. His \",(0,e.jsx)(n.a,{href:\"https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab\",children:\"series on linear algebra\"}),\" was the perfect introduction to the syntax involved and for understanding the vector transformations used in deep learning. (This \",(0,e.jsx)(n.a,{href:\"https://www.deeplearningbook.org/contents/linear_algebra.html\",children:\"textbook chapter\"}),\" was also quite approachable and helpful.)\"]}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-3/4 sm:w-1/2\",children:(0,e.jsx)(\"a\",{href:\"https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab\",target:\"_blank\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`A free course offering the core concept of linear algebra with a visuals-first\napproach.`,src:\"/static/images/beginners/3b1blin.png\",width:\"500\",height:\"506\"})})})})}),(0,e.jsxs)(n.h2,{id:\"neural-network-architecture\",children:[(0,e.jsx)(n.a,{href:\"#neural-network-architecture\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Neural network architecture\"]}),(0,e.jsx)(n.p,{children:\"After you get comfortable with the maths involved you will learn about how neural networks are constructed and their beautiful inspiration from how our own meat-based actual neural networks work.\"}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-4/4 sm:w-4/4\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`Three-layer network from\nhttp://neuralnetworksanddeeplearning.com/chap1.html#a_simple_network_to_classify_handwritten_digits`,src:\"/static/images/beginners/nn1.png\",width:\"618\",height:\"448\"})})})}),(0,e.jsx)(\"div\",{children:(0,e.jsx)(\"small\",{className:\"text-center text-gray-500\",children:(0,e.jsx)(\"a\",{href:\"http://neuralnetworksanddeeplearning.com/chap1.html#a_simple_network_to_classify_handwritten_digits\",target:\"_blank\",children:(0,e.jsx)(n.p,{children:\"Source\"})})})}),(0,e.jsxs)(n.p,{children:[\"Our first network \",(0,e.jsx)(n.a,{href:\"http://neuralnetworksanddeeplearning.com/chap1.html#a_simple_network_to_classify_handwritten_digits\",children:\"in the textbook\"}),\" has three layers (an input layer, a hidden layer, and an output layer) and weights and biases between each neuron for a total of 11,935 parameters (\",(0,e.jsx)(n.a,{href:\"https://chat.openai.com/share/1706f773-8e24-4686-b45e-56ceb5df5226\",children:\"ChatGPT explaining the calculation\"}),\"). The human eye and visual system is kinda like a network of neurons. An eye can detect digits, so with the basic architecture above how can our network detect digits as well?\"]}),(0,e.jsx)(n.p,{children:\"The design of how the network works (the hyper-parameters), and the settings of the network (the parameters) form a computer with a function with many variables (11,935 in the first example).\"}),(0,e.jsx)(n.p,{children:\"This large amount of flexibility allows AI to learn how to do amazing creative things like detect digits or have car accidents. They can go from a random position of these parameters to learning the best settings to achieve their goal.\"}),(0,e.jsx)(n.p,{children:\"This involves learning with a process called gradient descent which we will get to soon. What's important now is being able to think in higher dimensional space so we can intuitively understand where these models are operating.\"}),(0,e.jsx)(n.hr,{}),(0,e.jsxs)(n.h1,{id:\"learning-how-ai-knows-things\",children:[(0,e.jsx)(n.a,{href:\"#learning-how-ai-knows-things\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Learning how AI knows things\"]}),(0,e.jsxs)(n.h2,{id:\"thinking-in-higher-dimensions\",children:[(0,e.jsx)(n.a,{href:\"#thinking-in-higher-dimensions\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Thinking in higher-dimensions\"]}),(0,e.jsx)(n.p,{children:`Before I got my head around how things work beyond three dimensions, whenever I encountered them I felt like Otto from the Simpson's \"woah dude higher orders of mathematical dimensions man.\"`}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-4/4 sm:w-4/4\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:\"Otto from https://simpsons.fandom.com/wiki/Otto_Mann\",src:\"/static/images/beginners/otto.png\",width:\"124\",height:\"124\"})})})}),(0,e.jsxs)(n.p,{children:[\"It's not out-of-this-world, it's just different. This \",(0,e.jsx)(n.a,{href:\"https://mathoverflow.net/questions/25983/intuitive-crutches-for-higher-dimensional-thinking\",children:\"math overflow thread\"}),\" unlocked an understanding for me that I'll now attempt to share.\"]}),(0,e.jsx)(n.p,{children:(0,e.jsx)(n.strong,{children:\"To begin with:\"})}),(0,e.jsxs)(n.ul,{children:[(0,e.jsx)(n.li,{children:(0,e.jsx)(n.p,{children:\"Think about a 1-dimensional number line and everywhere you could place a point.\"})}),(0,e.jsx)(n.li,{children:(0,e.jsx)(n.p,{children:\"Think about a 2-dimensional grid and all of the lines you could draw with two variables.\"})}),(0,e.jsx)(n.li,{children:(0,e.jsx)(n.p,{children:\"Think about a 3-dimensional space and all of the shapes you could create with three variables.\"})}),(0,e.jsx)(n.li,{children:(0,e.jsx)(n.p,{children:\"Think about a 4-dimensional timeline with all of the three-pointed shapes you could create over time.\"})}),(0,e.jsx)(n.li,{children:(0,e.jsx)(n.p,{children:\"Think about a 5-dimensional... or maybe time is a flat circle, with the passing of time being an illusion caused by the changing frames in a deterministic universe...\"})})]}),(0,e.jsx)(n.p,{children:\"The point I am making is that is hard to go beyond our familiarity with 3-dimensional space, and so then how do you even make the leap to many-dimensional space? In the case of our simple network, to 11,935-dimensional space! And with more complex models they have many billions of parameters!\"}),(0,e.jsx)(n.p,{children:\"One crutch/mental model that worked for me is thinking about image resolutions. A one megapixel image is a space with one million dimensions (or points of freedom) that can be moved through by changing the pixels in the image.\"}),(0,e.jsx)(n.p,{children:\"In our simple model there are 11,935 dimensions which can be roughly thought of as 110x110 pixel image (not to be confused with the input image). Every image you could possibly think of can pretty much fit in there.\"}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-4/4 sm:w-4/4\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`Image of the many different images of wabaphet, jeb bush, and\nnoise`,src:\"/static/images/beginners/dimensions.png\",width:\"300\",height:\"300\"})})})}),(0,e.jsx)(n.p,{children:\"The point is (in case the image above didn't make it 100% clear), is this is a very large realm of possibility.\"}),(0,e.jsxs)(n.h3,{id:\"neural-networks-as-high-dimensional-computers\",children:[(0,e.jsx)(n.a,{href:\"#neural-networks-as-high-dimensional-computers\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Neural Networks as high-dimensional computers\"]}),(0,e.jsx)(n.p,{children:\"Our neural networks are not static images, they are commputers (which operate in a very large realm of possibility). Through learning they have found a configuration (a multi-dimensional image) where they can compute as designed.\"}),(0,e.jsxs)(n.p,{children:[\"Neural networks can literally \",(0,e.jsx)(n.a,{href:\"http://neuralnetworksanddeeplearning.com/chap4.html\",children:\"compute any function\"}),\". Our network 'knows' a 3 is a 3 because it can take the input (the density of pixels in a digit), then process the input in relation to the network's function (i.e. using each of the 11,935 parameters set to detect digits), to give an output (classifying the digit).\"]}),(0,e.jsxs)(n.p,{children:[\"The \",(0,e.jsx)(n.em,{children:\"knowing\"}),\" part is not necessarily the \",(0,e.jsx)(n.em,{children:\"intelligent\"}),` part. How it learned to best navigate it's \"shape\" in higher-dimensional space is where the interesting maths happens.`]}),(0,e.jsxs)(n.h2,{id:\"knowing-enough-python\",children:[(0,e.jsx)(n.a,{href:\"#knowing-enough-python\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Knowing enough python\"]}),(0,e.jsx)(n.p,{children:\"Now the exciting part. Running the network on your own computer! For this next part of the learning curve you'll need to pick up some Python.\"}),(0,e.jsxs)(n.p,{children:[\"You don't need to become a data scientist to run the network (but don't let me stop you!). You just need to know enough about the syntax to read the \",(0,e.jsx)(n.a,{href:\"https://github.com/mnielsen/neural-networks-and-deep-learning\",children:\"code in the textbook\"}),\". It's also worth reading the \",(0,e.jsx)(n.a,{href:\"https://numpy.org/doc/stable/user/absolute_beginners.html\",children:\"'absolute basics for beginners'\"}),\" docs on NumPy.\"]}),(0,e.jsxs)(n.p,{children:[\"There are so many incredible free resources to learn Python. If you already have coding skills in another language, then these two short courses \",(0,e.jsx)(n.a,{href:\"https://www.kaggle.com/learn\",children:\"on Kaggle\"}),\" are a great option.\"]}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-4/4 sm:w-4/4\",children:(0,e.jsx)(\"a\",{href:\"https://www.kaggle.com/learn\",target:\"_blank\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`Image of the two kaggle thumbnails(https://www.kaggle.com/learn/intro-to-programming)\npython(https://www.kaggle.com/learn/python)`,src:\"/static/images/beginners/kaggle.png\",width:\"1260\",height:\"566\"})})})})}),(0,e.jsx)(n.p,{children:\"Kaggle gives you an editor which can grade your responses. Of course, you have your pal ChatGPT to give you feedback on your answers, motivation, and coach you on how to improve. ChatGPT is like a pair programmer that doesn't sit next to you breathing through their mouth.\"}),(0,e.jsxs)(n.h2,{id:\"hello-world\",children:[(0,e.jsx)(n.a,{href:\"#hello-world\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Hello, world\"]}),(0,e.jsx)(n.p,{children:\"With ChatGPT's help, some Python, and following along in the textbook, you can run the neural network on your computer.\"}),(0,e.jsx)(n.p,{children:\"Then all of a sudden... the sand is thinking.\"}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-4/4 sm:w-4/4\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:\"image of the terminal running the code\",src:\"/static/images/beginners/terminal.png\",width:\"648\",height:\"321\"})})})}),(0,e.jsxs)(n.p,{children:[\"I felt a real sense of wonder when I ran this for the first time. I \",(0,e.jsx)(n.em,{children:\"was\"}),` training a neural network. A handcrafted, old-fashioned AI. I think at this point you're allowed to order a badge for yourself that says \"neural network trainer\".`]}),(0,e.jsx)(n.hr,{}),(0,e.jsxs)(n.h1,{id:\"learning-how-ai-can-learn\",children:[(0,e.jsx)(n.a,{href:\"#learning-how-ai-can-learn\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Learning how AI can learn\"]}),(0,e.jsxs)(n.p,{children:[\"Getting your network up and running to detect digits didn't require you to understand how AI learns. Now's the time \",(0,e.jsx)(n.em,{children:\"to learn\"}),\"!\"]}),(0,e.jsx)(n.p,{children:\"From the code you will see that your network is initialised in a random state and via 10,000's of training examples learns how to detect digits.\"}),(0,e.jsx)(n.p,{children:(0,e.jsx)(n.strong,{children:\"For you to learn how neural networks can learn you need to develop:\"})}),(0,e.jsxs)(n.ul,{children:[(0,e.jsx)(n.li,{children:\"An intuitive understanding of the mathematics of change, calculus.\"}),(0,e.jsx)(n.li,{children:`A understanding of how calculus can be used to find the gradient of a shape in multi-dimensional space (where the shape represents the \"cost\" of the network's accuracy).`}),(0,e.jsx)(n.li,{children:'Then comprehend how the parameters need to adjust to move \"down\" this slope to a more accurate position.'})]}),(0,e.jsx)(n.p,{children:\"Speaking of moving around curves, congratulations on your own scholastic gradient ascent. (You will get the pun at the end of this section).\"}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-4/4 sm:w-3/4\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`Image of learning curve and what has been learned so\nfar`,src:\"/static/images/beginners/progress.jpg\",width:\"800\",height:\"800\"})})})}),(0,e.jsxs)(n.p,{children:[\"Time to return to our NPC quest-giver 3Blue1Brown and \",(0,e.jsx)(n.a,{href:\"https://www.youtube.com/watch?v=IHZwWFHWa-w&list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi&index=2\",children:\"their videos\"}),\" on how neural networks learn. (I rewatched these videos a couple of times at this stage).\"]}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-3/4 sm:w-1/2\",children:(0,e.jsx)(\"a\",{href:\"https://youtu.be/IHZwWFHWa-w\",target:\"_blank\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`Gradient descent, how neural networks learn | Chapter 2, Deep\nlearning`,src:\"/static/images/beginners/machines.png\",width:\"612\",height:\"592\"})})})})}),(0,e.jsxs)(n.h2,{id:\"calclus-the-mathematics-of-change\",children:[(0,e.jsx)(n.a,{href:\"#calclus-the-mathematics-of-change\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Calclus, the mathematics of change\"]}),(0,e.jsxs)(n.p,{children:[\"Unless you're not a noob, you probably now need Grant's \",(0,e.jsx)(n.a,{href:\"https://youtube.com/playlist?list=PLZHQObOWTQDMsr9K-rj53DwVRMYO3t5Yr\",children:\"helpful series on calculus\"}),\". How far you go into that series and further into his series on \",(0,e.jsx)(n.a,{href:\"https://youtu.be/TrcCbdWwCBc\",children:\"multivariate calculus\"}),\" is up to you. A basic understanding will suffice.\"]}),(0,e.jsxs)(n.h2,{id:\"rolling-down-the-learning-canyon\",children:[(0,e.jsx)(n.a,{href:\"#rolling-down-the-learning-canyon\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Rolling down the learning canyon\"]}),(0,e.jsx)(n.p,{children:'When it comes to how your network learns, you will come across the analogy of a ball rolling down a canyon shaped \"cost function\" as the network improves (and the \"cost\" decreases).'}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-4/4 sm:w-3/4\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:\"Gradient descent visual from 3Blue1Brown\",src:\"/static/images/beginners/grad.png\",width:\"1920\",height:\"1080\"})})})}),(0,e.jsx)(\"div\",{children:(0,e.jsx)(\"small\",{className:\"text-center text-gray-500\",children:(0,e.jsx)(\"a\",{href:\"https://www.3blue1brown.com/lessons/gradient-descent\",target:\"_blank\",children:(0,e.jsx)(n.p,{children:\"Source\"})})})}),(0,e.jsx)(n.p,{children:\"But how does a ball roll down a multi-dimensional canyon?\"}),(0,e.jsx)(n.p,{children:\"Firstly, invoking your mental model of multi-dimensional space could help in grasping the mechanisms in which the network can learn. There is a position in the large realm of possibility to move to (a local minima in the canyon) that can create a computer that can achieve our goal (detect digits).\"}),(0,e.jsxs)(n.p,{children:[`Learning is all about moving in this multi-dimensional space, along the shape of the \"cost function\", to a better location for our goal. To do this you need to factor in how training examples, and their distance from the network's answer to the correct answer, can nudge all parameters in a better direction (with a better combination of parameters). This technique of the parameters taking random-sized steps down in the canyon is called \"stochastic gradient descent\" and reveals another foundational meme: `,(0,e.jsx)(n.a,{href:\"https://twitter.com/sama/status/1599471830255177728\",children:\"the stochastic parrot\"}),\".\"]}),(0,e.jsxs)(n.p,{children:['But which way is \"down\" in this space? This is where the backpropagation algorithm, the ',(0,e.jsx)(n.a,{href:\"http://neuralnetworksanddeeplearning.com/chap2.html\",children:'\"workhorse of learning in neural networks\"'}),\" comes in. Each of these parameters has a gradient which can slope down to a better location.\"]}),(0,e.jsx)(n.p,{children:\"The algorithm churns through the calculus, over and over, with each round of training, helping nudge the model in hopefully the right direction. The model in the textbook takes a few minutes to train on your laptop, while the most advanced models can take months to train.\"}),(0,e.jsxs)(n.p,{children:['This process decreases the \"cost\" of the network (which is also called the \"loss function\"). With these insights, another ',(0,e.jsx)(n.a,{href:\"https://twitter.com/aidangomezzz/status/1651053357719535622\",children:\"foundational\"}),\" \",(0,e.jsx)(n.a,{href:\"https://twitter.com/tunguz/status/1658445954692055041\",children:\"meme\"}),', the \"sudden drop in the loss function\", can be understood.']}),(0,e.jsxs)(n.h2,{id:\"machines-learning\",children:[(0,e.jsx)(n.a,{href:\"#machines-learning\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Machines, learning\"]}),(0,e.jsx)(n.p,{children:\"How neural networks learn is complex. But it can be understood.\"}),(0,e.jsx)(n.p,{children:'With this understanding you no longer see AI as \"magic\" or a black-box. You can lift up the hood and see how it is built, how to train it, and how it learns.'}),(0,e.jsx)(n.p,{children:\"I pursued this journey to get these moments of wonder and enlightenment that I would have missed out on if I was just importing big libraries like Pytorch to run the neworks for me.\"}),(0,e.jsxs)(n.p,{children:[\"To check your understanding, try keeping up with Andrej Karpathy's \",(0,e.jsx)(n.a,{href:\"https://youtu.be/VMj-3S1tku0\",children:\"video on backpropagation\"}),\". It's like watching those viral videos where some dude \",(0,e.jsx)(n.a,{href:\"https://youtu.be/tYf0BoFe9D8\",children:\"builds a house out of mud\"}),\" in the jungle. Karpathy builds at twice the speed of human thought.\"]}),(0,e.jsx)(\"div\",{className:\"flex justify-center\",children:(0,e.jsx)(\"div\",{className:\"w-3/4 sm:w-1/2\",children:(0,e.jsx)(\"a\",{href:\"https://youtu.be/VMj-3S1tku0\",target:\"_blank\",children:(0,e.jsx)(n.div,{children:(0,e.jsx)(a,{alt:`The spelled-out intro to neural networks and backpropagation: building\nmicrograd`,src:\"/static/images/beginners/micrograd.png\",width:\"324\",height:\"296\"})})})})}),(0,e.jsx)(n.hr,{}),(0,e.jsxs)(n.h1,{id:\"learning-how-ai-can-be-improved\",children:[(0,e.jsx)(n.a,{href:\"#learning-how-ai-can-be-improved\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Learning how AI can be improved\"]}),(0,e.jsxs)(n.p,{children:[\"After all of this hard work you and your model emerge \",(0,e.jsx)(n.a,{href:\"http://vision.stanford.edu/cs598_spring07/papers/Lecun98.pdf\",children:\"in 1998\"}),\". However, with the fundamentals learned it becomes a fun exercise to improve them with more modern techniques.\"]}),(0,e.jsx)(n.p,{children:\"At this stage you come to appreciate that there is an art and science to building and improving AI. The learning algorithms take care of the parameters within the neural network. But you control the hyper-parameters, all the parts of the network's design:\"}),(0,e.jsxs)(n.ul,{children:[(0,e.jsx)(n.li,{children:\"how many layers deep the network is,\"}),(0,e.jsx)(n.li,{children:\"how many neurons are in the layers,\"}),(0,e.jsx)(n.li,{children:\"how fast it should learn,\"}),(0,e.jsx)(n.li,{children:\"and techniques to prevent overfitting.\"})]}),(0,e.jsx)(n.p,{children:\"Why is it an art? I think it is because there isn't a definitive understanding of how these systems need to be structured. You learn heuristics and crutches, but not rules.\"}),(0,e.jsxs)(n.p,{children:[\"It's interesting that it not a deterministic science. It's not a problem that you can just throw time, money, compute, and \",(0,e.jsx)(n.a,{href:\"https://en.wikipedia.org/wiki/Dyson_sphere\",children:\"dyson spheres\"}),\" at. What is your contribution going to be?\"]}),(0,e.jsx)(n.hr,{}),(0,e.jsxs)(n.h1,{id:\"where-to-next\",children:[(0,e.jsx)(n.a,{href:\"#where-to-next\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Where to next\"]}),(0,e.jsx)(n.p,{children:\"That's up to you. My hope was that this article inspired you to learn this topic deeply and that by sharing one way to get into the topic it sped up your own learning and made it a shared journey.\"}),(0,e.jsxs)(n.p,{children:[\"If you were inspired, or learned something new, reach out and \",(0,e.jsx)(n.a,{href:\"mailto:me@alexhandley.co\",children:\"let me know\"}),\". If you want to do this professionally \",(0,e.jsx)(n.a,{href:\"https://www.linkedin.com/in/alexanderjhandley/\",children:\"here's my LinkedIn\"}),\".\"]}),(0,e.jsxs)(n.p,{children:[`If you think \"ackchyually you made a noob mistake\" then that's likely and you can publicly point out my mistake `,(0,e.jsx)(n.a,{href:\"https://twitter.com/alexjhandley\",children:\"on twitter\"}),\".\"]}),(0,e.jsx)(n.hr,{}),(0,e.jsxs)(n.h2,{id:\"tldr-resources\",children:[(0,e.jsx)(n.a,{href:\"#tldr-resources\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"TLDR; resources\"]}),(0,e.jsxs)(n.h3,{id:\"developing-existential-motivation-to-learn-ai\",children:[(0,e.jsx)(n.a,{href:\"#developing-existential-motivation-to-learn-ai\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Developing existential motivation to learn AI\"]}),(0,e.jsxs)(n.ul,{children:[(0,e.jsx)(n.li,{children:(0,e.jsx)(n.a,{href:\"https://www.gatesnotes.com/The-Age-of-AI-Has-Begun\",children:\"Bill Gates - The Age of AI\"})}),(0,e.jsx)(n.li,{children:(0,e.jsx)(n.a,{href:\"https://a16z.com/2023/06/06/ai-will-save-the-world/\",children:\"Marc Andreessen - AI will save the world\"})})]}),(0,e.jsxs)(n.h3,{id:\"learning-how-neural-networks-and-deep-learning-works\",children:[(0,e.jsx)(n.a,{href:\"#learning-how-neural-networks-and-deep-learning-works\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Learning how neural networks and deep learning works\"]}),(0,e.jsxs)(n.ul,{children:[(0,e.jsxs)(n.li,{children:[(0,e.jsx)(n.a,{href:\"https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi\",children:\"3Blue1Brown - Neural Network series\"}),\" for the introduction.\"]}),(0,e.jsxs)(n.li,{children:[(0,e.jsx)(n.a,{href:\"http://neuralnetworksanddeeplearning.com/index.html\",children:\"Michael Nielsen - Neural Networks and Deep Learning\"}),\" for the long(ish) road to deeply (starting to) understanding the topic.\"]}),(0,e.jsxs)(n.li,{children:[(0,e.jsx)(n.a,{href:\"https://youtu.be/VMj-3S1tku0\",children:\"Andrej Karpathy on Backpropagation\"}),\" to check your understanding.\"]}),(0,e.jsxs)(n.li,{children:[(0,e.jsx)(n.a,{href:\"http://colah.github.io/posts/2014-03-NN-Manifolds-Topology/\",children:\"Christoper Olah on Neural Networks\"}),\" for another description of neural networks that is visual and approachable.\"]})]}),(0,e.jsx)(n.p,{children:\"How amazing is it that the leaders in the topic have spent so much time explaining the concepts for noobs. Thank you.\"}),(0,e.jsx)(n.p,{children:\"And no thanks to the AI doomers who made me want to drill through my GPU mid-training cycle.\"}),(0,e.jsxs)(n.h3,{id:\"background-topics-for-noobs\",children:[(0,e.jsx)(n.a,{href:\"#background-topics-for-noobs\",\"aria-hidden\":\"true\",tabIndex:\"-1\",children:(0,e.jsx)(n.span,{className:\"icon icon-link\"})}),\"Background topics for noobs\"]}),(0,e.jsxs)(n.ul,{children:[(0,e.jsxs)(n.li,{children:[(0,e.jsx)(n.a,{href:\"https://www.youtube.com/playlist?list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab\",children:\"3Blue1Brown's series on Linear Algebra\"}),\" for a visual introduction to Linear Algebra.\"]}),(0,e.jsxs)(n.li,{children:[(0,e.jsx)(n.a,{href:\"https://www.kaggle.com/learn/intro-to-programming\",children:\"Kaggle's intro to programming in Python\"}),\" and the follow up \",(0,e.jsx)(n.a,{href:\"https://www.kaggle.com/learn/python\",children:\"course on Python\"}),\".\"]}),(0,e.jsxs)(n.li,{children:[(0,e.jsx)(n.a,{href:\"https://youtube.com/playlist?list=PLZHQObOWTQDMsr9K-rj53DwVRMYO3t5Yr\",children:\"3Blue1Brown's series on Calculus\"}),\" Grant Sanderson back again to help you with Calculus.\"]})]})]})}}var v=k;function I(t,i){throw new Error(\"Expected \"+(i?\"component\":\"object\")+\" `\"+t+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return x;})();\n;return Component;","toc":[{"value":"Why this, why now, why care?","url":"#why-this-why-now-why-care","depth":1},{"value":"Step 1","url":"#step-1","depth":2},{"value":"A note on the format before we begin","url":"#a-note-on-the-format-before-we-begin","depth":2},{"value":"Contents","url":"#contents","depth":2},{"value":"Learning how AI \"brains\" work","url":"#learning-how-ai-brains-work","depth":1},{"value":"The world's best tutor","url":"#the-worlds-best-tutor","depth":2},{"value":"Getting started","url":"#getting-started","depth":2},{"value":"Linear algebra, the mathematics of data","url":"#linear-algebra-the-mathematics-of-data","depth":2},{"value":"Neural network architecture","url":"#neural-network-architecture","depth":2},{"value":"Learning how AI knows things","url":"#learning-how-ai-knows-things","depth":1},{"value":"Thinking in higher-dimensions","url":"#thinking-in-higher-dimensions","depth":2},{"value":"Neural Networks as high-dimensional computers","url":"#neural-networks-as-high-dimensional-computers","depth":3},{"value":"Knowing enough python","url":"#knowing-enough-python","depth":2},{"value":"Hello, world","url":"#hello-world","depth":2},{"value":"Learning how AI can learn","url":"#learning-how-ai-can-learn","depth":1},{"value":"Calclus, the mathematics of change","url":"#calclus-the-mathematics-of-change","depth":2},{"value":"Rolling down the learning canyon","url":"#rolling-down-the-learning-canyon","depth":2},{"value":"Machines, learning","url":"#machines-learning","depth":2},{"value":"Learning how AI can be improved","url":"#learning-how-ai-can-be-improved","depth":1},{"value":"Where to next","url":"#where-to-next","depth":1},{"value":"TLDR; resources","url":"#tldr-resources","depth":2},{"value":"Developing existential motivation to learn AI","url":"#developing-existential-motivation-to-learn-ai","depth":3},{"value":"Learning how neural networks and deep learning works","url":"#learning-how-neural-networks-and-deep-learning-works","depth":3},{"value":"Background topics for noobs","url":"#background-topics-for-noobs","depth":3}],"frontMatter":{"readingTime":{"text":"16 min read","minutes":15.16,"time":909600,"words":3032},"slug":"AI-for-beginners","fileName":"AI-for-beginners.mdx","title":"AI for beginners: how to learn how AI actually works","date":"2023-07-29T15:32:14.000Z","lastmod":"2023-07-29","tags":["AI","Neural Networks","Guide"],"draft":false,"summary":"A beginner's/noob's guide for using ChatGPT to learn how AI works and why now is the time to learn.","layout":"PostSimple","images":["/static/images/beginners/curve.jpg"],"canonicalUrl":"https://alexhandley.co/blog/AI-for-beginners"}},"authorDetails":[{"readingTime":{"text":"1 min read","minutes":0.525,"time":31500,"words":105},"slug":["default"],"fileName":"default.md","name":"Alex Handley","avatar":"/static/images/profile.png","occupation":"Head of Product","company":"Umps","email":"me@alexhandley.co","twitter":"https://twitter.com/Twitter","linkedin":"https://www.linkedin.com/in/alexanderjhandley/","github":"https://github.com/EstelleRigault/","images":["/static/images/iykyk.png"],"date":null}],"prev":{"title":"Reflection: learning the fundamentals of AI","date":"2023-07-23T15:32:14.000Z","lastmod":"2023-07-23","tags":["AI","Neural Networks","Reflection"],"draft":false,"summary":"Reflection on my journey to learn how Neural Networks and Deep Learning works.","layout":"PostSimple","canonicalUrl":"https://alexhandley.co/blog/reflection-on-learning-ai","slug":"reflection-on-learning-ai"},"next":{"title":"Prompt your way to delight: build something new using ChatGPT","date":"2023-09-06T15:32:14.000Z","lastmod":"2023-09-06","tags":["AI","LLMs","Guide"],"draft":false,"summary":"A fun way to use ChatGPT to build something new.","layout":"PostSimple","images":["/static/images/beginners/curve.jpg"],"canonicalUrl":"https://alexhandley.co/blog/AI-for-beginners","slug":"prompt-your-way"}},"__N_SSG":true}