{"id":3115,"date":"2022-08-21T20:27:24","date_gmt":"2022-08-21T20:27:24","guid":{"rendered":"https:\/\/lucylabs.gatech.edu\/ml4t\/?page_id=3115"},"modified":"2022-08-22T14:46:24","modified_gmt":"2022-08-22T14:46:24","slug":"project-4","status":"publish","type":"page","link":"https:\/\/lucylabs.gatech.edu\/ml4t\/fall2022\/project-4\/","title":{"rendered":"Project 4"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;Section&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row admin_label=&#8221;Project Title&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; header_font=&#8221;|700||on|||||&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h1 style=\"text-align: center;\">Project 4: Defeat Learners<\/h1>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row use_custom_gutter=&#8221;on&#8221; gutter_width=&#8221;1&#8243; admin_label=&#8221;row&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; width=&#8221;100%&#8221; custom_padding=&#8221;0px||0px||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_divider color=&#8221;#eeeeee&#8221; divider_position=&#8221;center&#8221; divider_weight=&#8221;3px&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;25%&#8221; custom_padding=&#8221;30px||30px||true|false&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_divider][et_pb_blurb title=&#8221;Table of Contents&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x68;||divi||400&#8243; icon_color=&#8221;rgba(0,0,0,0.05)&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;100px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_level=&#8221;h2&#8243; header_font_size=&#8221;26px&#8221; height=&#8221;38px&#8221; icon_font_size=&#8221;100px&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_blurb][et_pb_blurb title=&#8221;Overview&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#overview&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;About the Project&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#about&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;Your Implementation&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#implementation&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;Contents of Report&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#report&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;Testing Recommendations&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#testing&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;Submission Requirements&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#submission&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;Grading Information&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#grading&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;Development Guidelines&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#guidelines&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;Optional Resources&#8221; use_icon=&#8221;on&#8221; font_icon=&#8221;&#x24;||divi||400&#8243; icon_color=&#8221;#000000&#8243; image_icon_background_color=&#8221;#FFFFFF&#8221; icon_placement=&#8221;left&#8221; image_icon_width=&#8221;16px&#8221; content_max_width=&#8221;100%&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; header_font_size=&#8221;16px&#8221; header_line_height=&#8221;2em&#8221; image_icon_custom_padding=&#8221;8px|8px|8px|8px|false|false&#8221; custom_margin=&#8221;|||118px|false|false&#8221; custom_padding=&#8221;10px|||0px|false|false&#8221; link_option_url=&#8221;#optional&#8221; border_radii_image=&#8221;on|100%|100%|100%|100%&#8221; border_width_all_image=&#8221;2px&#8221; border_color_all_image=&#8221;#000000&#8243; icon_font_size=&#8221;16px&#8221; use_circle=&#8221;on&#8221; use_circle_border=&#8221;on&#8221; circle_border_color=&#8221;#b856c7&#8243; circle_color=&#8221;#FFFFFF&#8221; global_colors_info=&#8221;{}&#8221; font_icon__hover_enabled=&#8221;on|hover&#8221; font_icon__hover=&#8221;%22||divi||400&#8243; custom_padding__hover=&#8221;|||10px|false|false&#8221; custom_padding__hover_enabled=&#8221;on|hover&#8221; image_icon_background_color__sticky_enabled=&#8221;#7EBEC5&#8243; image_icon_background_color__sticky=&#8221;#7EBEC5&#8243;][\/et_pb_blurb][et_pb_divider color=&#8221;#eeeeee&#8221; divider_position=&#8221;center&#8221; divider_weight=&#8221;3px&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; width=&#8221;25%&#8221; custom_padding=&#8221;30px||30px||true|false&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_divider][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;Revisions&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;4.17.4&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>Revisions<\/h2>\n<p><span>This assignment is subject to change up until 3 weeks prior to the due date. We do not anticipate changes; any changes will be logged in this section.<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;1 Overview&#8221; module_id=&#8221;overview&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>1 Overview<\/h2>\n<p><span class=\"NormalTextRun SCXW164738803 BCX4\">In this assignment, you will generate data that you believe will work better for one learner than another. This will test your understanding of the strengths and weaknesses of various learners. You will submit the code for the project in <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW164738803 BCX4\">Gradescope<\/span><span class=\"NormalTextRun SCXW164738803 BCX4\"> SUBMISSION. There is no report associated with this assignment.<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;1.1 Learning Objectives&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>1.1 Learning Objectives<\/h3>\n<p><span data-contrast=\"auto\">The specific learning objectives for this assignment are focused on the following areas:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"auto\">Supervised Learning \u2013 Learner Strengths and Weaknesses<\/span><\/b><span data-contrast=\"auto\">: Demonstrate an understanding the relative strengths and weaknesses of a Decision Tree learner as compared to a Linear Regression Learner.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;2 About The Project&#8221; module_id=&#8221;about&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>2 About the Project<\/h2>\n<p><span data-contrast=\"auto\">In this project, you will evaluate the relative strengths of two types of supervised learners: a linear regression learner and a decision tree learner. Specifically, you will write a module that generates datasets that will be used by the learners. Your goal is to 1) produce datasets that enable a linear regression learner to consistently outperform a decision tree learner and 2) produce datasets that enable a decision tree learner to consistently outperform a linear regression learner.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Your data generation implementation should use a random number generator as part of its data generation process. We will pass your generators a random number seed. Whenever the seed is the same you should return exactly the same data set. Different seeds should result in different data sets. This project may require readings or additional research to ensure an understanding of the relative strengths and weaknesses of the different types of learners.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;3 Your Implementation&#8221; module_id=&#8221;implementation&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>3 Your Implementation<\/h2>\n<p><span data-contrast=\"auto\">You will create a Python program called gen_data.py, which contains three functions according to this <\/span><a href=\"https:\/\/lucylabs.gatech.edu\/ml4t\/fall2022\/project-4-documentation\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"auto\">API specification<\/span><\/a><span data-contrast=\"auto\">. The DTLearner and LinRegLearner specification are also provided in the API specification as a reference. This gen_data.py file must implement the three functions given in the API specification:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">best_4_lin_reg<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">best_4_dt<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">author<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">Your data generation should use a random number generator as part of its data generation process. We will pass your generators a random number seed (as shown below). Whenever the seed is the same you must return exactly the same data set. Different seeds must result in different data sets.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Before the deadline, make sure to pre-validate your submission using Gradescope TESTING. Once you are satisfied with the results in testing, submit the code to Gradescope SUBMISSION. <\/span><b><span data-contrast=\"auto\">Only code submitted to Gradescope SUBMISSION will be graded. If you submit your code to Gradescope TESTING and have not also submitted your code to Gradescope SUBMISSION, you will receive a zero (0).<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.1 Getting Started&#8221; _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW21874040 BCX4\"><span class=\"NormalTextRun SCXW21874040 BCX4\">To make it easier to get started on the project and focus on the concepts involved, you will be given a starter framework. This framework assumes you have already set up the <\/span><\/span><a class=\"Hyperlink SCXW21874040 BCX4\" href=\"http:\/\/lucylabs.gatech.edu\/ml4t\/fall2022\/local-environment\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span data-contrast=\"none\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW21874040 BCX4\"><span class=\"NormalTextRun SCXW21874040 BCX4\" data-ccp-charstyle=\"Hyperlink\">local environment<\/span><\/span><\/a><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW21874040 BCX4\"><span class=\"NormalTextRun SCXW21874040 BCX4\"> and <\/span><\/span><a class=\"Hyperlink SCXW21874040 BCX4\" href=\"http:\/\/lucylabs.gatech.edu\/ml4t\/fall2022\/software-setup\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span data-contrast=\"none\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW21874040 BCX4\"><span class=\"NormalTextRun SCXW21874040 BCX4\" data-ccp-charstyle=\"Hyperlink\">ML4T Software<\/span><\/span><\/a><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW21874040 BCX4\"><span class=\"NormalTextRun SCXW21874040 BCX4\">. <\/span><span class=\"NormalTextRun SCXW21874040 BCX4\">The framework for Project\u202f4\u202fcan be obtained\u202ffrom:\u202f<\/span><\/span><a href=\"https:\/\/www.dropbox.com\/s\/oei1qae2qjabluz\/defeat_learners_2022Fall.zip?dl=1\" target=\"_blank\" rel=\"noopener\">Defeat_Learners_2022Fall.zip<\/a><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW21874040 BCX4\"><span class=\"NormalTextRun SCXW21874040 BCX4\">.\u202f<\/span><\/span><span class=\"EOP SCXW21874040 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span class=\"EOP SCXW21874040 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\"><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW103135437 BCX4\"><span class=\"NormalTextRun SCXW103135437 BCX4\">Extract its contents into the base directory (e.g., ML4T_2022Fall). This will add a new folder called \u201c<\/span><span class=\"NormalTextRun SpellingErrorV2 SpellingErrorHighlight SCXW103135437 BCX4\">defeat_learners<\/span><span class=\"NormalTextRun SCXW103135437 BCX4\">\u201d to the course <\/span><span class=\"NormalTextRun SCXW103135437 BCX4\">directory<\/span><span class=\"NormalTextRun SCXW103135437 BCX4\"> structure.\u202f<\/span><\/span><span class=\"EOP SCXW103135437 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/span><\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;http:\/\/lucylabs.gatech.edu\/ml4t\/wp-content\/uploads\/2021\/08\/Screen-Shot-2021-08-24-at-8.18.13-PM.png&#8221; title_text=&#8221;Screen Shot 2021-08-24 at 8.18.13 PM&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;bfd57e0e-12e9-4ae6-be9f-6feca129409e&#8221; global_colors_info=&#8221;{}&#8221;][\/et_pb_image][et_pb_text admin_label=&#8221;3.1 Getting Started &#8211; Cont&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><span data-contrast=\"auto\">\u202fWithin the defeat_learners folder are several files:\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">defeat_learners\/gen_data.py \u2013 An implementation of the code you are supposed to provide: It includes two functions that return a data set and a third function that returns a user ID. Note that the data sets those functions return DO NOT satisfy the requirements for the homework. But they do show you how you can generate a data set.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">defeat_learners\/LinRegLearner.py \u2013 Our friendly, working, correct, linear regression learner. It is used by the grading script. Do not rely on local changes you make to this file, as you may only submit gen_data.py.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">defeat_learners\/DTLearner.py \u2013 A working, but INCORRECT, Decision Tree learner. Replace it with your working, correct DTLearner.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"1\"><span data-contrast=\"auto\">defeat_learners\/testbest4.py \u2013 Code that calls the two data set generating functions and tests them against the two learners. Useful for debugging.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"5\" data-aria-level=\"1\"><span data-contrast=\"auto\">defeat_learners\/grade_best4.py \u2013 The local grading \/ pre-validation script. This is the same script that will be executed in the Gradescope TESTING Environment<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.2 Task &#038; Requirements&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>3.2\u00a0Construct the Best for Linear Regression Learner and Decision Tree Learner Datasets<\/h3>\n<p><span data-contrast=\"auto\">Implement the <\/span><b><span data-contrast=\"auto\">best_4_lin_reg()<\/span><\/b><span data-contrast=\"auto\"> function such that when the generated dataset is passed to both learners, the LinRegLearner performs significantly better than the DTLearner (see rubric below for specific performance details).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Also implement the <\/span><b><span data-contrast=\"auto\">best_4_dt()<\/span><\/b><span data-contrast=\"auto\"> function such that when the generated dataset is passed to both learners, the DTLearner performs significantly better than the LinRegLearner (see rubric below for specific performance details).<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Each dataset must include no fewer than 2 and no more than 10 features (or \u201cX\u201d) columns. The dataset must contain 1 target (or \u201cY\u201d) column. The Y column must contain real numbers.\u00a0<span class=\"TrackChangeTextInsertion TrackedChange  BCX4 TrackChangeHoverSelectColorRed SCXW137021282\"><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun  BCX4 SCXW137021282\"><span class=\"NormalTextRun  BCX4 TrackChangeHoverSelectHighlightRed SCXW137021282\">Y values may not be hard-coded and must be generated by the X value.\u00a0<\/span><\/span><\/span>Each dataset must contain no fewer than 10 and no more than 1000 examples (i.e., rows). While you are free to determine these sizes, they may not vary between generated datasets.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.2.1 Example&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h4>3.2.1 Example\u00a0<span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\"><\/span><\/h4>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/d7579b42b87fc7d67721411a59004fb3.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;3.3 author function&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>3.3 Implement the author() function (Up to 10 point penalty)<\/h3>\n<p><span data-contrast=\"auto\">You must implement a function called author() that returns your Georgia Tech user ID as a string. This is the ID you use to log into Canvas. It is not your 9 digit student number. Here is an example of how you might implement author():<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/9b9dfbd03755e2a3a55e9f0d08e49c5c.js\"><\/script>[\/et_pb_code][et_pb_text admin_label=&#8221;3.3 author function &#8211; Cont&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW254103723 BCX4\"><span class=\"NormalTextRun SCXW254103723 BCX4\">Implementing this method correctly does not provide any points, but there will be a penalty of up to \u201310 points for not implementing the author function.<\/span><\/span><span class=\"EOP SCXW254103723 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.4 Technical Requirements&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>3.4 Technical Requirements<\/h3>\n<p><span data-contrast=\"auto\">The following technical requirements apply to this assignment<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ol>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">You will use your DTlearner from Project 3 and the provided LinRegLeaner during development, local testing, and any testing performed in the Gradescope TESTING environment.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">The decision tree learner (DTLearner) will be instantiated with leaf_size=1. (Note: We expect you to fix your DTLearner implementation from Project 3 if it was incorrect since this code is required to run\/test on Gradescope TESTING.)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">You will use the LinRegLearner that is provided as part of the project setup .zip file.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">The dataset must be a regression dataset (i.e., the target \u201cY\u201d column must contain real numbers).<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">You should set the seed every time to ensure dataset reproducibility. The grader will pass in a seed, and if your code does not produce the same result for the same seed, and different results for different seeds, you will receive a points deduction.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">No part of this project implementation may read data from files. All data must be generated by the functions.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Your code must run in less than 5 seconds per test case.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">The code you submit should NOT generate any output: No prints, no charts, etc.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"%1.\" data-font=\"\" data-listid=\"1\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">gen_data() must not import any learner.<\/span><\/li>\n<\/ol>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;3.5 Hints &#038; Suggestions&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW160318579 BCX4\"><span class=\"NormalTextRun SCXW160318579 BCX4\">3.5 Hints &amp; Suggestions<\/span><\/span><\/h3>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW160318579 BCX4\"><span class=\"NormalTextRun SCXW160318579 BCX4\">If you are concerned about the performance of your <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW160318579 BCX4\">DTLearner<\/span><span class=\"NormalTextRun SCXW160318579 BCX4\">, you may <\/span><span class=\"NormalTextRun SCXW160318579 BCX4\">develop <\/span><span class=\"NormalTextRun SCXW160318579 BCX4\">additional tests in your local environment<\/span><span class=\"NormalTextRun SCXW160318579 BCX4\"> using the Scikit-learn decision tree learner<\/span><span class=\"NormalTextRun SCXW160318579 BCX4\">.<\/span><span class=\"NormalTextRun SCXW160318579 BCX4\"> This learner will not be used within the <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW160318579 BCX4\">Gradescope<\/span><span class=\"NormalTextRun SCXW160318579 BCX4\"> environment.<\/span><\/span><span class=\"EOP SCXW160318579 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\"> <span class=\"TrackChangeTextInsertion TrackedChange   BCX4 TrackChangeHoverSelectColorRed SCXW37301588\"><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun  BCX4 SCXW37301588\"><span class=\"NormalTextRun   BCX4 TrackChangeHoverSelectHighlightRed SCXW37301588\">We also encourage additional testing with different seeds beyond the grade scripts given.\u00a0 The private tester will use additional<\/span><\/span><\/span><span class=\"TrackChangeTextInsertion TrackedChange   BCX4 TrackChangeHoverSelectColorRed SCXW37301588\"><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun  BCX4 SCXW37301588\"><span class=\"NormalTextRun   BCX4 TrackChangeHoverSelectHighlightRed SCXW37301588\"> tests.<\/span><\/span><\/span><\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;4 Contents of Report&#8221; module_id=&#8221;report&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW15606756 BCX4\"><span class=\"NormalTextRun SCXW15606756 BCX4\">4 Contents of the Report<\/span><\/span><\/h2>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW15606756 BCX4\"><span class=\"NormalTextRun SCXW15606756 BCX4\">There is no report associated with this assignment<\/span><span class=\"NormalTextRun SCXW15606756 BCX4\">.\u00a0<\/span><span class=\"NormalTextRun SCXW15606756 BCX4\">\u00a0<\/span><\/span><span class=\"EOP SCXW15606756 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;5 Testing Recommendations&#8221; module_id=&#8221;testing&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2><span data-contrast=\"auto\">5 Testing Requirements<\/span><\/h2>\n<p><span data-contrast=\"auto\">To test your code, you can modify the provided testbest4.py file. You are encouraged to perform any tests necessary to instill confidence that the code will run properly when submitted for grading and will produce the required results.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Additionally, we have provided the grade_best4.py file that can be used for your tests. This file is the same script that will be run when the code is submitted to Gradescope TESTING. This file is not a complete test suite and does not match the more stringent private grader that is used in Gradescope SUBMISSION. To run and test that the file will run from within the defeat_learners directory, use the command:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_code _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<script src=\"https:\/\/gist.github.com\/CS7646-ML4T\/1dca11bb320d6e3a106e2eaf53be846b.js\"><\/script>[\/et_pb_code][et_pb_text _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><span data-contrast=\"auto\">In addition to testing on your local machine, you are encouraged to submit your files to Gradescope TESTING, where some basic pre-validation tests will be performed against the code. No credit will be given for coding assignments that do not pass this pre-validation. <\/span><b><span data-contrast=\"auto\">Gradescope TESTING does not grade your assignment.<\/span><\/b><span data-contrast=\"auto\"> The Gradescope TESTING script is not a complete test suite and does not match the more stringent private grader that is used in Gradescope SUBMISSION. Thus, the maximum Gradescope TESTING score of 100, while instructional, does not represent the minimum score one can expect when the assignment is graded using the private grading script. You are encouraged to develop additional tests to ensure that all project requirements are met.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">NOTE: <\/span><b><span data-contrast=\"auto\">When submitting to Gradescope TESTING, you will also need to submit your DTLearner.py file in addition to the gen_data.py file<\/span><\/b><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">You are allowed <\/span><b><span data-contrast=\"auto\">unlimited<\/span><\/b><span data-contrast=\"auto\"> resubmissions to Gradescope <\/span><b><span data-contrast=\"auto\">TESTING<\/span><\/b><span data-contrast=\"auto\">. Please refer to the <\/span><a href=\"http:\/\/lucylabs.gatech.edu\/ml4t\/fall2022\/gradescope\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Gradescope Instructions<\/span><\/a><span data-contrast=\"auto\"> for more information.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;6 Submission Requirements&#8221; module_id=&#8221;submission&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>6 Submission Requirements<\/h2>\n<p><b><span data-contrast=\"auto\">This is an individual assignment<\/span><\/b><span data-contrast=\"auto\">. All work you submit should be your own. Make sure to cite any sources you reference and use quotes and in-line citations to mark any direct quotes.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span>Assignment due dates in your time zone can be found by looking at the<\/span><span> Project in the Assignment menu item in Canvas (ensure your Canvas time zone settings are set up properly).\u00a0<\/span> <span>This date <\/span><span>is 23:59 AOE <\/span><span>converted to <\/span><span>your time zone.\u00a0 <\/span><span>Late submissions are allowed for a penalty.\u00a0 The times and penalties are as follows:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"2\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span>-10% Late Penalty: +1 Hour late: submitted by 00:59 AOE (next day)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"2\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span>-25% Late Penalty: +12 Hours Late: submitted by 11:59 AOE (next day)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"2\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span>-50% Late Penalty: +24 Hours Late: submitted by 23:59 AOE (next day)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"2\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span>-100% Late Penalty: &gt; 24+ Late: submitted after 23:59 AOE (next day)<\/span><span>\u00a0<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p><span data-contrast=\"auto\">Assignments received after Monday at 23:59 AOE (even if only by a few seconds) are not accepted without advanced agreement except in cases of medical or family emergencies. In the case of such an emergency, please contact the <\/span><a href=\"https:\/\/gatech-advocate.symplicity.com\/care_report\/index.php\/pid986879?\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Dean of Students<\/span><\/a><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;6.1 Report Submission&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>6.1 Report Submission<\/h3>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW54831049 BCX4\"><span class=\"NormalTextRun SCXW54831049 BCX4\">There is no report submission associated with this assignment.<\/span><\/span><span class=\"EOP SCXW54831049 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;6.2 Code Submission&#8221; _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3>6.2 Code Submission<\/h3>\n<p><span data-contrast=\"auto\">This class uses Gradescope, a server-side auto-grader, to evaluate your code submission. No credit will be given for code that does not run in this environment and students are encouraged to leverage Gradescope TESTING prior to submitting an assignment for grading. <\/span><b><span data-contrast=\"auto\">Only code submitted to Gradescope SUBMISSION will be graded. If you submit your code to Gradescope TESTING and have not also submitted your code to Gradescope SUBMISSION, you will receive a zero (0).<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Please submit the following files to Gradescope <\/span><b><span data-contrast=\"auto\">SUBMISSION<\/span><\/b><span data-contrast=\"auto\">:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p style=\"padding-left: 80px;\"><b><span data-contrast=\"auto\">gen_data.py<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559685&quot;:720,&quot;335559737&quot;:720,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Do not submit any other files.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><b><span data-contrast=\"auto\">Important: You are allowed a MAXIMUM of five (5) code submissions to Gradescope <\/span><\/b><b><span data-contrast=\"auto\">SUBMISSION<\/span><\/b><b><span data-contrast=\"auto\">.<\/span><\/b><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;7 Grading Information&#8221; module_id=&#8221;grading&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>7 Grading Information<\/h2>\n<p><span data-contrast=\"auto\">The submitted code (which is worth 100% of your grade) is run as a batch job after the project deadline. The code represents 100% of the assignment grade will be graded using a rubric design to mirror the implementation details above. Deductions will be applied for unmet implementation requirements or code that fails to run.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">We do not provide an explicit set timeline for returning grades, except that all assignments and exams will be graded before the institute deadline (end of the term). As will be the case throughout the term, the grading team will work as quickly as possible to provide project feedback and grades.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Once grades are released, any grade-related matters must follow the <\/span><a href=\"http:\/\/lucylabs.gatech.edu\/ml4t\/fall2022\/assignment-follow-up\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Assignment Follow-Up guidelines and process<\/span><\/a><span data-contrast=\"auto\"> alone. Regrading will only be undertaken in cases where there has been a genuine error or misunderstanding. Please note that requests will be denied if they are not submitted using the <\/span><span data-contrast=\"auto\">Summer 2022<\/span><span data-contrast=\"auto\"> form or do not fall within the timeframes specified on the <\/span><a href=\"http:\/\/lucylabs.gatech.edu\/ml4t\/fall2022\/assignment-follow-up\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Assignment Follow-Up<\/span><\/a><span data-contrast=\"auto\"> page.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;7.1 Grading Rubric&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>7.1 Grading Rubric<\/h3>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;7.1.1 Report&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h4>7.1.1 Report [0 points]<\/h4>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW11626726 BCX4\"><span class=\"NormalTextRun SCXW11626726 BCX4\">There is no report associated with this project.<\/span><\/span><span class=\"EOP SCXW11626726 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;7.1.2 Code&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h4>7.1.2 Code<\/h4>\n<p><span data-contrast=\"auto\" xml:lang=\"EN-US\" lang=\"EN-US\" class=\"TextRun SCXW157253987 BCX4\"><span class=\"NormalTextRun SCXW157253987 BCX4\">There is no separate code section associated with this project.<\/span><\/span><span class=\"EOP SCXW157253987 BCX4\" data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_text admin_label=&#8221;7.1.3 Auto-Grader&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h4>7.1.3 Auto-Grader (Private Grading Script) [100 points]<\/h4>\n<p><span data-contrast=\"auto\">Deductions will be applied if any of the following occur:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">If either dataset contains fewer or more than the allowed number of samples. (-20 points each)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">If either dataset contains fewer or more than the allowed number of dimensions in X. (-20 points each)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">If, when the seed is the same, the best_4_lin_reg dataset generator does not return the same data. (-20 points)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">If, when the seed is the same, the best_4_dt dataset generator does not return the same data. (-20 points)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">If, when the seed is different, the best_4_lin_reg dataset generator does not return different data. (-20 points)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">If, when the seed is different, the best_4_dt dataset generator does not return different data. (-20 points)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">If the author() method is not implemented. (-10 points)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">If the code attempts to import a learner. (-10 points up to -100 if the code crashes)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p><span data-contrast=\"auto\">We will test your code against the following cases. Each case will be deemed \u201ccorrect\u201d if:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">For best_4_lin_reg (1 test case)<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">We will call best_4_lin_reg 15 times, and select the 10 best datasets. For each successful test +5 points (total of 50 points)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">For each test case, we will randomly select 60% of the data for training and 40% for testing.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">Success for each case is defined as: RMSE LinReg &lt; RMSE DT * 0.9<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">For best_4_dt (1 test case)<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">We will call best_4_dt 15 times, and select the 10 best datasets. For each successful test +5 points (total of 50 points)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">For each test case, we will randomly select 60% of the data for training and 40% for testing.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><span data-contrast=\"auto\">Success for each case is defined as: RMSE DT &lt; RMSE LinReg * 0.9<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;8 DEVELOPMENT GUIDELINES (ALLOWED &#038; PROHIBITED) &#8221; module_id=&#8221;guidelines&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.18.0&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>8 Development Guidelines (Allowed &amp; Prohibited)<\/h2>\n<p><span data-contrast=\"auto\">See the <\/span><a href=\"https:\/\/lucylabs.gatech.edu\/ml4t\/fall2022\/project-guidelines-2\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"auto\">Course Development Recommendations, Guidelines, and Rules<\/span><\/a><span data-contrast=\"auto\"> for the complete list of requirements applicable to all course assignments. <\/span><b><span data-contrast=\"auto\">The Project Technical Requirements are grouped into three sections: Always Allowed, Prohibited with Some Exceptions, and Always Prohibited<\/span><\/b><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The following exemptions to the Course Development Recommendations, Guidelines, and Rules apply to this project:<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">You may not read any files or use any routines or functions to read files.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0b7\" data-font=\"Symbol\" data-listid=\"6\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">You may use the decision tree implementation from the scikit-learn package for additional testing in your <span style=\"text-decoration: underline;\"><strong>local environment<\/strong><\/span> alone.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;9 Optional Resources&#8221; module_id=&#8221;optional&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;fdd234b2-33f3-4b45-8c11-1d835f66535b&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>9 Optional Resources<\/h2>\n<p><span data-contrast=\"auto\">Although the use of these or other resources is not required; some may find them useful in completing the project or in providing an in-depth discussion of the material.\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Mitchell, Machine Learning (Chapter 3)<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">James, D. Witten, T. Hastie, R. Tibshirani (2017), <\/span><a href=\"https:\/\/www.statlearning.com\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">An Introduction to Statistical Learning (Chapters 2, 3, and 8)<\/span><\/a><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">Videos:\u00a0<\/span><span data-ccp-props=\"{&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><a href=\"https:\/\/www.youtube.com\/watch?v=sjnV76u_Nvs&amp;list=PLPhC147aCdDHAjUsLgUmXxkmTmEUP3Gx3&amp;index=7\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Decision Tree Videos<\/span><\/a><span data-contrast=\"auto\">, Charles Isbell and Michael Littman, Georgia Tech ML 7641\u00a0<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><a href=\"https:\/\/www.cs.cmu.edu\/~ninamf\/courses\/601sp15\/video\/1.html\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Decision Tree Video (Part 1, staring around 0:40 minutes)<\/span><\/a><span data-contrast=\"auto\">, Tom Mitchell, CMU 601\u00a0<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"\uf0d7\" data-font=\"Symbol\" data-listid=\"3\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><a href=\"https:\/\/www.cs.cmu.edu\/~ninamf\/courses\/601sp15\/video\/2.html\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Decision Tree Video (Part 2)<\/span><\/a><span data-contrast=\"auto\">, Tom Mitchell, CMU 601<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:1,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559739&quot;:170,&quot;335559740&quot;:340}\">\u00a0<\/span><\/li>\n<\/ul>\n<ul><\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Project 4: Defeat LearnersRevisions This assignment is subject to change up until 3 weeks prior to the due date. We do not anticipate changes; any changes will be logged in this section.1 Overview In this assignment, you will generate data that you believe will work better for one learner than another. This will test your [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":3071,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"<!-- wp:divi\/placeholder \/-->","_et_gb_content_width":"","footnotes":""},"class_list":["post-3115","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/3115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/comments?post=3115"}],"version-history":[{"count":5,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/3115\/revisions"}],"predecessor-version":[{"id":3318,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/3115\/revisions\/3318"}],"up":[{"embeddable":true,"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/pages\/3071"}],"wp:attachment":[{"href":"https:\/\/lucylabs.gatech.edu\/ml4t\/wp-json\/wp\/v2\/media?parent=3115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}