{"id":7654,"date":"2023-03-04T01:29:44","date_gmt":"2023-03-04T01:29:44","guid":{"rendered":"https:\/\/www.goodacademic.com\/blog\/questions\/project\/"},"modified":"2023-03-04T01:29:44","modified_gmt":"2023-03-04T01:29:44","slug":"project","status":"publish","type":"questions","link":"https:\/\/www.goodacademic.com\/blog\/questions\/project\/","title":{"rendered":"project."},"content":{"rendered":"<div class=\"col-sm-12 messageContent\">\n <b>Learning Goal: <\/b>I&#8217;m working on a data engineering exercise and need the explanation and answer to help me learn.<\/p>\n<p>Q1)Read carefully Chapter 1 from &#8220;Gulli, A., Kapoor, A., Pal, S. (2019). Deep Learning with TensorFlow 2 and Keras: Regression, ConvNets, GANs, RNNs, NLP, and More with TensorFlow 2 and the Keras API, 2nd Edition. United Kingdom: Packt Publishing.&#8221;<\/p>\n<p>Install TensorFlow by following instructions at <a href=\"https:\/\/www.tensorflow.org\/install\" target=\"_blank\" rel=\"noopener\">tensorflow.org<\/a>. Then, complete the tutorial at &#8216;<a href=\"https:\/\/www.tensorflow.org\/tutorials\/quickstart\/beginner\" target=\"_blank\" rel=\"noopener\">TensorFlow 2 quickstart for beginners<\/a>&#8216; by doing following:<\/p>\n<p>a.Load a prebuilt dataset.<\/p>\n<p>b.Build a neural network machine learning model that classifies images.<\/p>\n<p>c.Train this neural network.<\/p>\n<p>d.Evaluate the accuracy of the model.<\/p>\n<p>For the submission, submit in the plain text<\/p>\n<p>a)The commands you ran for the 4 steps above<\/p>\n<p>b)The output of probability_model(x_test[:5])<\/p>\n<p>See the rubric for grading.<\/p>\n<p><a href=\"https:\/\/github.com\/PacktPublishing\/Deep-Learning-with-TensorFlow-2-and-Keras\/tree\/master\/Chapter%201\" target=\"_blank\" rel=\"noopener\">Source code for Chapter 1<\/a><\/p>\n<p>Q2)Read carefully Chapter 2 from &#8220;Gulli, A., Kapoor, A., Pal, S. (2019).<i> Deep Learning with TensorFlow 2 and Keras: Regression, ConvNets, GANs, RNNs, NLP, and More with TensorFlow 2 and the Keras API,<\/i> 2nd Edition. United Kingdom: Packt Publishing.&#8221; Then, complete the tutorial at &#8216;<a href=\"https:\/\/www.tensorflow.org\/tutorials\/keras\/regression\" target=\"_blank\" rel=\"noopener\">Basic regression: Predict fuel efficiency<\/a>&#8216; by doing following:<\/p>\n<p>a.Load \u00e2\u20ac\u02dcAuto MPG dataset\u00e2\u20ac\u2122.<\/p>\n<ol>\n<ol>\n<li>Normalize the data.<\/li>\n<li>Find linear regression between milage and horsepower.<\/li>\n<li>Plot the linear regression line and the data on figure.<\/li>\n<\/ol>\n<\/ol>\n<p>For the submission, submit in the plain text<\/p>\n<p>a)The commands you ran for the steps above.<\/p>\n<p>b)The figure showing linear regression line and the data.<\/p>\n<p>See the rubric for grading.<\/p>\n<p><a href=\"https:\/\/github.com\/PacktPublishing\/Deep-Learning-with-TensorFlow-2-and-Keras\/tree\/master\/Chapter%202\" target=\"_blank\" rel=\"noopener\">Source code for Chapter 2<\/a><\/p>\n<p>Q3) See Chapter 8: Recurrent Neural Networks from &#8220;Gulli, A., Kapoor, A., Pal, S. (2019). <i>Deep Learning with TensorFlow 2 and Keras: Regression, ConvNets, GANs, RNNs, NLP, and More with TensorFlow 2 and the Keras API,<\/i> 2nd Edition. United Kingdom: Packt Publishing,&#8221; example on page 292: &#8216;Example \u00e2\u20ac\u2019 One-to-Many \u00e2\u20ac\u201c learning to generate text&#8217;. Then, based on the example,<\/p>\n<p>A.import the necessary libraries and set up the constants<\/p>\n<ol>\n<li>download and prepare the data for our network to consume<\/li>\n<li>create the vocabulary<\/li>\n<li>use the mapping dictionaries to convert the character sequence input into an integer sequence<\/li>\n<li>define the network<\/li>\n<li>define a loss function and compile the model<\/li>\n<li>run the training and evaluation loop<\/li>\n<li>do 50 epochs of training<\/li>\n<\/ol>\n<p>For the submission:<\/p>\n<p>1.submit the plain text code for the steps above<\/p>\n<ol>\n<li>interpret the results\/output of the example above<\/li>\n<\/ol>\n<p>See the rubric for grading.<\/p>\n<p><a href=\"https:\/\/github.com\/PacktPublishing\/Deep-Learning-with-TensorFlow-2-and-Keras\/tree\/master\/Chapter%208\" target=\"_blank\" rel=\"noopener\">Source code for Chapter 8<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Learning Goal: I&#8217;m working on a data engineering exercise and need the explanation and answer to help me learn. Q1)Read carefully Chapter 1 from &#8220;Gulli, A., Kapoor, A., Pal, S. (2019). Deep Learning with TensorFlow 2 and Keras: Regression, ConvNets, GANs, RNNs, NLP, and More with TensorFlow 2 and the Keras API, 2nd Edition. United [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"disciplines":[848],"paper_types":[],"tagged":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/questions\/7654"}],"collection":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/questions"}],"about":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/types\/questions"}],"author":[{"embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/comments?post=7654"}],"version-history":[{"count":0,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/questions\/7654\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/media?parent=7654"}],"wp:term":[{"taxonomy":"disciplines","embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/disciplines?post=7654"},{"taxonomy":"paper_types","embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/paper_types?post=7654"},{"taxonomy":"tagged","embeddable":true,"href":"https:\/\/www.goodacademic.com\/blog\/wp-json\/wp\/v2\/tagged?post=7654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}