{"id":4013,"date":"2020-05-10T11:46:44","date_gmt":"2020-05-10T11:46:44","guid":{"rendered":"https:\/\/dalelane.co.uk\/blog\/?p=4013"},"modified":"2020-05-10T11:46:44","modified_gmt":"2020-05-10T11:46:44","slug":"using-repl-it-with-machine-learning-for-kids","status":"publish","type":"post","link":"https:\/\/dalelane.co.uk\/blog\/?p=4013","title":{"rendered":"Using repl.it with Machine Learning for Kids"},"content":{"rendered":"<p><strong>Students can work on machine learning projects in Python entirely in the browser, without any need for setup, installs, or registration. <\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/dalelane.co.uk\/blog\/wp-content\/uploads\/2020\/05\/python-1.png\" style=\"border: thin black solid\"\/><\/p>\n<p><!--more-->I&#8217;ve been using my quiet Bank Holiday weekend to make some improvements to <a href=\"https:\/\/machinelearningforkids.co.uk\/\">Machine Learning for Kids<\/a>. The most significant update I&#8217;ve made is to improve the support for Python projects, based on an idea from <a href=\"https:\/\/sites.google.com\/view\/cs-teaching-dcruz\/\">Rebecca D&#8217;Cruz<\/a> who adapted some <a href=\"https:\/\/github.com\/IBM\/taxinomitis-docs\/tree\/master\/project-worksheets\">ML for Kids worksheets<\/a> using repl.it, to make it easier for her class.<\/p>\n<p>I hadn&#8217;t come across <a href=\"https:\/\/repl.it\/\">repl.it<\/a> before, but it&#8217;s a great browser-based IDE, with support for a variety of languages, including Python. It&#8217;s simple to use, and doesn&#8217;t require registration &#8211; which makes it ideal for use in the classroom.<\/p>\n<p>I spent yesterday looking into how I could integrate repl.it into Machine Learning for Kids as a way of making machine learning projects in Python as simple as my Scratch projects.<\/p>\n<p>I&#8217;ve written template starter projects in repl.it, and a launch button in Machine Learning for Kids loads a clone of one of the appropriate templates in a single click.<\/p>\n<p>And I&#8217;ve got some interactive widgets in the Machine Learning for Kids that helps generate code snippets to help students customize the templates for use with their own projects.<\/p>\n<p>I&#8217;ve recorded a couple of videos to show how it works.<\/p>\n<p>They both show how you can go from zero to a working machine learning program in Python in under three minutes. I haven&#8217;t cheated by speeding up the recording or anything like that, you really can do it that quickly now.<\/p>\n<p>This is what it looks like for a text project:<\/p>\n<p><iframe loading=\"lazy\" width=\"450\" height=\"253\" src=\"https:\/\/www.youtube.com\/embed\/cvkFTxVO880\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"><\/iframe><\/p>\n<p>This is what it looks like for a numbers project:<\/p>\n<p><iframe loading=\"lazy\" width=\"450\" height=\"253\" src=\"https:\/\/www.youtube.com\/embed\/0pLxLD7XrL4\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"><\/iframe><\/p>\n<p>You can do it with images projects, but editing those two videos took me so long that I couldn&#8217;t face making a third. But it&#8217;s the same sort of thing again!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Students can work on machine learning projects in Python entirely in the browser, without any need for setup, installs, or registration.<\/p>\n","protected":false},"author":1,"featured_media":4015,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[580,587,212],"class_list":["post-4013","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-machine-learning","tag-mlforkids-tech","tag-python"],"_links":{"self":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4013"}],"version-history":[{"count":0,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4013\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/4015"}],"wp:attachment":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}