[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"sanity-i5RSH9kjE1o8Cx5l550pbZ4OCcGxjDXD_V5fZMuMD3Y":3,"sanity-x6Oht81r6_amRi5q4c-u-2FkyTYrxyLd6cFzuyP1om4":223},{"data":4,"sourceMap":-1},{"latestPodcast":5,"latestReleases":14,"post":39,"recent":198},[6],{"_id":7,"publishedAt":8,"slug":9,"sponsored":12,"title":13},"d53f9358-3bb2-4f69-aebe-d31d19522cd4","2026-07-10T07:40:00.000Z",{"_type":10,"current":11},"slug","building-more-than-just-an-agent-harness",null,"Building more than just an agent harness",[15,21,27,33],{"_id":16,"publishedAt":17,"slug":18,"title":20},"eb5b66eb-9410-4329-83bb-22bbff39402a","2026-04-28T13:00:00.000Z",{"_type":10,"current":19},"turn-scattered-knowledge-into-trusted-intelligence","Turning scattered knowledge into trusted intelligence: Stack Internal 2026.3",{"_id":22,"publishedAt":23,"slug":24,"title":26},"369c2401-b62e-4a37-8ff8-bf603023ecad","2026-03-02T15:03:00.988Z",{"_type":10,"current":25},"what-s-new-at-stack-overflow-march-2026","What’s new at Stack Overflow: March 2026",{"_id":28,"publishedAt":29,"slug":30,"title":32},"5e9053a4-07ea-447c-91ea-29e0b6228537","2026-02-02T15:00:00.000Z",{"_type":10,"current":31},"what-s-new-at-stack-overflow-february-2026","What’s new at Stack Overflow: February 2026",{"_id":34,"publishedAt":35,"slug":36,"title":38},"a1b538eb-a8a6-46d0-80a1-ac70ec9bb935","2026-01-05T10:00:00.000-05:00",{"_type":10,"current":37},"what-s-new-at-stack-overflow-january-2026","What’s new at Stack Overflow: January 2026",{"_createdAt":40,"_id":41,"_rev":42,"_type":43,"_updatedAt":44,"author":45,"body":62,"comments":161,"dateUrl":162,"excerpt":163,"image":164,"legacyBody":167,"product":12,"publishedAt":170,"slug":171,"sponsored":12,"tags":173,"title":197,"visible":161},"2023-05-25T09:39:18Z","wp-post-17922","dgl3SCUzppW3U2LvCoSsMu","blogPost","2023-07-13T14:55:57Z",[46],{"_createdAt":47,"_id":48,"_rev":49,"_type":50,"_updatedAt":51,"avatar":52,"bio":57,"employee":58,"name":59,"slug":60},"2023-05-23T16:27:18Z","wp-author-cap-17633","07ZbrKPSUrjrV4wQ6fDpaa","blogAuthor","2023-06-20T15:05:10Z",{"_type":53,"asset":54},"image",{"_ref":55,"_type":56},"image-b650e8ac1685f03c7cd39f61125dbe6d0ec4724e-300x400-jpg","reference","Jiwon Shin is a Curriculum Developer at Codecademy focusing on web development content. She is also an adjunct professor at New York University where she teaches web development and creative coding.","none","Jiwon Shin",{"current":61},"jiwon-shin",[63,74,78,86,98,109,120,131],{"_key":64,"_type":65,"children":66,"markDefs":72,"style":73},"6af33431d1e7","block",[67],{"_key":68,"_type":69,"marks":70,"text":71},"6af33431d1e70","span",[],"Machine learning might sound complicated, but with the help of p5.js, we can make interactive visualizations to help wrap our head around these algorithms. In this session, we make a visualization of the popular K-Nearest Neighbor algorithm. Join us as we discuss how this algorithm can be applied to real data and track down bugs in our code. Finally, with help from Jiwon, our Creative Coding guru, we investigate how we might turn this algorithm into an art project.",[],"normal",{"_key":75,"_type":76,"markDefs":12,"url":77},"3128bb6ffba0","embed","https:\u002F\u002Fwww.youtube.com\u002Fembed\u002Fr6RcZCQz-fs?start=14",{"_key":79,"_type":65,"children":80,"markDefs":85,"style":73},"57b586e67c44",[81],{"_key":82,"_type":69,"marks":83,"text":84},"57b586e67c440",[],"Here are some Stack Overflow questions related to the work we did in this session:",[],{"_key":87,"_type":65,"children":88,"markDefs":94,"style":73},"315c0e8f1a7a",[89],{"_key":90,"_type":69,"marks":91,"text":93},"315c0e8f1a7a0",[92],"4848f1b73393","A KNN Implementation",[95],{"_key":92,"_type":96,"href":97,"reference":12},"link","https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002F17493494\u002Fnearest-neighbour-algorithm",{"_key":99,"_type":65,"children":100,"markDefs":106,"style":73},"a8cf51aa3227",[101],{"_key":102,"_type":69,"marks":103,"text":105},"a8cf51aa32270",[104],"f8abdf818de6","Using scikit-learn's KNN Implementation",[107],{"_key":104,"_type":96,"href":108,"reference":12},"https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002F15729269\u002Fk-nearest-neighbor-in-python",{"_key":110,"_type":65,"children":111,"markDefs":117,"style":73},"37977028da99",[112],{"_key":113,"_type":69,"marks":114,"text":116},"37977028da990",[115],"2e2393368897","Supervised Learning vs Unsupervised Learning",[118],{"_key":115,"_type":96,"href":119,"reference":12},"https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002F1832076\u002Fwhat-is-the-difference-between-supervised-learning-and-unsupervised-learning",{"_key":121,"_type":65,"children":122,"markDefs":128,"style":73},"9f7eb24efb0b",[123],{"_key":124,"_type":69,"marks":125,"text":127},"9f7eb24efb0b0",[126],"28a522f2b911","KNN as a Lazy Learning Algorithm",[129],{"_key":126,"_type":96,"href":130,"reference":12},"https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002F54505375\u002Fwhat-does-the-knn-algorithm-do-in-the-training-phase",{"_key":132,"_type":65,"children":133,"markDefs":156,"style":73},"fee2e72dd52b",[134,138,143,147,152],{"_key":135,"_type":69,"marks":136,"text":137},"fee2e72dd52b0",[],"If you enjoyed this lesson, you can catch up on the rest of the series on YouTube. If you’d like to watch a session live, follow the ",{"_key":139,"_type":69,"marks":140,"text":142},"fee2e72dd52b1",[141],"766857ebc617","Codecademy YouTube channel",{"_key":144,"_type":69,"marks":145,"text":146},"fee2e72dd52b2",[],".\nFinally, if you want even more Creative Coding with p5.js content, you can sign up for the interactive course this series was based on ",{"_key":148,"_type":69,"marks":149,"text":151},"fee2e72dd52b3",[150],"fff609a5f46f","here",{"_key":153,"_type":69,"marks":154,"text":155},"fee2e72dd52b4",[],". This course was developed by Jiwon and has many more quizzes, projects, and helpful articles that we can’t fit into our streams!",[157,159],{"_key":141,"_type":96,"href":158,"reference":12},"https:\u002F\u002Fwww.youtube.com\u002Fc\u002Fcodecademy\u002Ffeatured",{"_key":150,"_type":96,"href":160,"reference":12},"https:\u002F\u002Fwww.codecademy.com\u002Flearn\u002Flearn-p5js?utm_source=stack_overflow&utm_medium=partners&utm_content=cclive_creative_so_7",true,"2021\u002F04\u002F27","",{"_type":53,"asset":165},{"_ref":166,"_type":56},"image-a743776940b4b4a76ba838bdcf211688bcc56ca1-2400x1240-png",{"code":168,"language":169},"\u003C!-- wp:paragraph -->\n\u003Cp>Machine learning might sound complicated, but with the help of p5.js, we can make interactive visualizations to help wrap our head around these algorithms. In this session, we make a visualization of the popular K-Nearest Neighbor algorithm. Join us as we discuss how this algorithm can be applied to real data and track down bugs in our code. Finally, with help from Jiwon, our Creative Coding guru, we investigate how we might turn this algorithm into an art project.\u003C\u002Fp>\n\u003C!-- \u002Fwp:paragraph -->\n\n\u003C!-- wp:html -->\n\u003Ciframe width=\"560\" height=\"560\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002Fr6RcZCQz-fs?start=14\" title=\"Machine Learning Visualized\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen>\u003C\u002Fiframe>\n\u003C!-- \u002Fwp:html -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>Here are some Stack Overflow questions related to the work we did in this session:\u003C\u002Fp>\n\u003C!-- \u002Fwp:paragraph -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002F17493494\u002Fnearest-neighbour-algorithm\">A KNN Implementation\u003C\u002Fa>\u003C\u002Fp>\n\u003C!-- \u002Fwp:paragraph -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002F15729269\u002Fk-nearest-neighbor-in-python\">Using scikit-learn's KNN Implementation\u003C\u002Fa>\u003C\u002Fp>\n\u003C!-- \u002Fwp:paragraph -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002F1832076\u002Fwhat-is-the-difference-between-supervised-learning-and-unsupervised-learning\">Supervised Learning vs Unsupervised Learning\u003C\u002Fa>\u003C\u002Fp>\n\u003C!-- \u002Fwp:paragraph -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>\u003Ca href=\"https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002F54505375\u002Fwhat-does-the-knn-algorithm-do-in-the-training-phase\">KNN as a Lazy Learning Algorithm\u003C\u002Fa>\u003C\u002Fp>\n\u003C!-- \u002Fwp:paragraph -->\n\n\u003C!-- wp:paragraph -->\n\u003Cp>If you enjoyed this lesson, you can catch up on the rest of the series on YouTube. If you’d like to watch a session live, follow the \u003Ca href=\"https:\u002F\u002Fwww.youtube.com\u002Fc\u002Fcodecademy\u002Ffeatured\">Codecademy YouTube channel\u003C\u002Fa>.\u003Cbr>Finally, if you want even more Creative Coding with p5.js content, you can sign up for the interactive course this series was based on \u003Ca href=\"https:\u002F\u002Fwww.codecademy.com\u002Flearn\u002Flearn-p5js?utm_source=stack_overflow&amp;utm_medium=partners&amp;utm_content=cclive_creative_so_7\">here\u003C\u002Fa>. This course was developed by Jiwon and has many more quizzes, projects, and helpful articles that we can’t fit into our streams!\u003C\u002Fp>\n\u003C!-- \u002Fwp:paragraph -->","html","2021-04-27T13:07:00.000Z",{"current":172},"level-up-creative-coding-with-p5-js-part-7",[174,182,187,192],{"_createdAt":175,"_id":176,"_rev":177,"_type":178,"_updatedAt":175,"slug":179,"title":181},"2023-05-23T16:43:21Z","wp-tagcat-code-for-a-living","9HpbCsT2tq0xwozQfkc4ih","blogTag",{"current":180},"code-for-a-living","Code for a Living",{"_createdAt":175,"_id":183,"_rev":177,"_type":178,"_updatedAt":175,"slug":184,"title":186},"wp-tagcat-creative-coding",{"current":185},"creative-coding","creative coding",{"_createdAt":175,"_id":188,"_rev":177,"_type":178,"_updatedAt":175,"slug":189,"title":191},"wp-tagcat-level-up",{"current":190},"level-up","level up",{"_createdAt":175,"_id":193,"_rev":177,"_type":178,"_updatedAt":175,"slug":194,"title":196},"wp-tagcat-p5-js",{"current":195},"p5-js","p5.js","Level Up: Creative Coding with p5.js - part 7",[199,205,211,217],{"_id":200,"publishedAt":201,"slug":202,"sponsored":12,"title":204},"76c9771b-34e6-4d98-8641-ecefc711f0ef","2026-07-06T15:23:34.559Z",{"_type":10,"current":203},"when-the-sensor-starts-thinking-snortml-agentic-ai-and-the-evolving-architecture-of-intrusion-detection","When the sensor starts thinking: SnortML, agentic AI, and the evolving architecture of intrusion detection",{"_id":206,"publishedAt":207,"slug":208,"sponsored":12,"title":210},"28e560af-f0aa-4d46-bd90-f435ad604aa7","2026-06-26T14:00:27.102Z",{"_type":10,"current":209},"paging-charity-how-can-engineering-leaders-avoid-becoming-bond-villains","Paging Charity! How can engineering leaders avoid becoming Bond villains?",{"_id":212,"publishedAt":213,"slug":214,"sponsored":12,"title":216},"4b22c2a3-3779-4966-93eb-5230391dbdce","2026-06-23T14:08:58.595Z",{"_type":10,"current":215},"your-ai-shipped-a-backend-that-boots-that-is-the-whole-problem","Your AI shipped a backend that boots. That is the whole problem.",{"_id":218,"publishedAt":219,"slug":220,"sponsored":12,"title":222},"5cf362e1-fe7b-45af-b69c-914731c6a052","2026-06-23T14:00:00.000Z",{"_type":10,"current":221},"the-2026-developer-survey-is-now-open-for-human-developers-only","The 2026 Developer Survey is now open (for human developers only)!",{"data":224,"sourceMap":-1},{"count":225,"lastTimestamp":12},0]