{"id":80,"date":"2006-04-26T23:36:00","date_gmt":"2006-04-26T23:36:00","guid":{"rendered":"https:\/\/scottaaronson.blog\/?p=80"},"modified":"2006-04-26T23:36:00","modified_gmt":"2006-04-26T23:36:00","slug":"alright-alright-back-to-complexity","status":"publish","type":"post","link":"https:\/\/scottaaronson.blog\/?p=80","title":{"rendered":"Alright, alright, back to complexity"},"content":{"rendered":"<p>I&#8217;ve learned my lesson, at least for the next day or two.<\/p>\n<p>And speaking of learning &#8212; in computational learning theory, there&#8217;s an &#8220;obvious&#8221; algorithm for learning a function from random samples.  Here&#8217;s the algorithm: output any hypothesis that minimizes the error on those samples.<\/p>\n<p>I&#8217;m being intentionally vague about what the learning model is &#8212; since as soon as you specify  a model, it seems like some version of that algorithm is what you want to do, if you want the best tradeoff between the number of samples and the error of your hypothesis.  For example, if you&#8217;re trying to learn a Boolean function from a class C, then you want to pick any hypothesis from C that&#8217;s consistent with all your observations.  If you&#8217;re trying to learn a Boolean function based on noisy observations, then you want to pick any hypothesis that minimizes the total number of disagreements.  If you&#8217;re trying to learn a degree-d real polynomial based on observations subject to Gaussian noise, then you want to pick any degree-d polynomial that minimizes the least-squared error, and so on.<\/p>\n<p>Here&#8217;s my question: is the &#8220;obvious&#8221; algorithm always the best one, or is there a case where a different algorithm needs asymptotically fewer samples?  That is, do you ever want to pick a hypothesis that disagrees with more of your observations over one that disagrees with less?<\/p>\n<p>While I&#8217;m on the subject, have you ever wished you could help Scott Aaronson do his actual research, and even be thanked &#8212; by name &#8212; in the acknowledgments of one of his papers?  Well then, don&#8217;t miss this chance!  All you have to do is read <a href=\"http:\/\/www.cs.technion.ac.il\/%7Eshai\/noga.ps.gz\">this<\/a> seminal paper by Alon, Ben-David, Cesa-Bianchi, and Haussler, and then tell me what upper bound on the sample complexity of p-concept learning follows from their results.  (Perversely, all they prove in the paper is that some finite number of samples suffices &#8212; must be a mathematician thing.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve learned my lesson, at least for the next day or two. And speaking of learning &#8212; in computational learning theory, there&#8217;s an &#8220;obvious&#8221; algorithm for learning a function from random samples. Here&#8217;s the algorithm: output any hypothesis that minimizes the error on those samples. I&#8217;m being intentionally vague about what the learning model is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[5,18],"tags":[],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-complexity","category-embarrassing-myself"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=80"}],"version-history":[{"count":0,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scottaaronson.blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}