Navigation Menu

Search code, repositories, users, issues, pull requests..., provide feedback.

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly.

To see all available qualifiers, see our documentation .

  • Notifications You must be signed in to change notification settings

SSQ/Coursera-UW-Machine-Learning-Foundations-A-Case-Study-Approach

Folders and files, repository files navigation, coursera-uw-machine-learning-foundations-a-case-study-approach.

Course can be found in Coursera

Notebook for quick search can be found in my blog SSQ

Week 1 Introduction

  • Regression. Case study: Predicting house prices
  • Classification. Case study: Analyzing sentiment
  • Clustering & Retrieval. Case study: Finding documents
  • Matrix Factorization & Dimensionality Reduction. Case study: Recommending Products
  • Capstone. An intelligent application using deep learning
  • Familiar with Ipython notebook and Sframe

Week 2 Regression Predicting House Prices

  • Linear Regression
  • Adding higher order effects
  • Evaluating overfitting via training/test split
  • Adding other features
  • Other regression examples
  • Implement Linear Regression model with different several features

Week 3 Classification Analyzing Sentiment

  • Classifier applications
  • Linear classifiers
  • Decision boundaries
  • Training and evaluating a classifier
  • What’s a good accuracy?
  • False positives, false negatives, and confusion matrices
  • Learning curves: How much data do I need?
  • Class probabilities
  • Implement Logistic Regression model with different several features
  • Python 100.0%

A Review of Machine Learning Foundations — A Case Study Approach by Coursera

Things i know..

On December 11, 2016 I completed the course “Machine Learning Foundations: A Case Study Approach” by Coursera. This course is a great introduction to the world of Machine Learning, and through this blog post my goal is to give a brief review of the course and its content.

What is it About?

“Machine Learning Foundations: A Case Study Approach” is an introductory course about common Machine Learning concepts such as regression, classification, clustering and similarity, recommender systems, and deep learning. It’s a hands-on-experience course (what they call a use-case study) which allows for a more practical understanding of common methods used in Machine Learning, rather than diving up immediately to the theory behind them. The course serves as a foundation to getting started with the Machine Learning specialization , which will later cover those same topics in more detail.

Structure and Content

The course is structured in 6 weeks (about 10 hr per week commitment), each of them covering a specific Machine Learning concept. Each Machine Learning concept is explained through a series of video lessons followed by a quiz (usually 5-10 questions), and finally a programming assignment in which you will implement a small application using the Machine Learning method studied during that course week. Lessons use an approach which is more focused on general principles rather than specific implementations or tools of it.

Instructors recommend using Python with GraphLab (a Machine Learning modeling tool for developers and data scientists), but other languages or packages can be used as well. There’s no need to install the recommended packages on your local machine, since a GraphLab service running on Amazon’s cloud is already provided for each student enrolled in the course.

I enjoyed taking this course, it’s an introductory course and thus you might be able to skip it if you already have some experience with Machine Learning. Immediately after completion, I started taking the Regression course , and as explained above, this course is a lot more theoretical and algorithms will now be implemented from scratch (instead of using third party libraries).

Logo

Machine Learning Foundations: A Case Study Approach Quiz Answer

Team Networking Funda

  • In Data Science Quiz
  • In Machine Learning Specialization
  • On March 4, 2024

Get All Weeks Machine Learning Foundations: A Case Study Approach Quiz Answers

Table of contents, week 1: machine learning foundations: a case study approach quiz answer, quiz 1: s frames.

Q 1:Download the Wiki People SFrame. Then open a new Jupyter notebook, import TuriCreate, and read the SFrame data. 

Answer: Click here

Q 2: How many rows are in the SFrame? (Do NOT use commas or periods.)

Q 3: Which name is in the last row?

Q 4: Read the text column for Harpdog Brown. He was honored with:

Q 5: Sort the SFrame according to the text column, in ascending order. What is the name entry in the first row?

Week 2: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: regression.

Q 2: True or false: The model that best minimizes training error is the one that will perform best for the task of prediction on new data.

Q 3: The following table illustrates the results of evaluating 4 models with different parameter choices on some data set. Which of the following models fits this data the best?

Q 4: Assume we fit the following quadratic function: f(x) = w0+w1*x+w2*(x^2) to the dataset shown (blue circles). The fitted function is shown by the green curve in the picture below. Out of the 3 parameters of the fitted function (w0, w1, w2), which ones are estimated to be 0? (Note: you must select all parameters estimated as 0 to get the question correct.) <!– wp:shortcode –> View

Machine Learning Foundations: A Case Study Approach Quiz Answer

Q 5: Assume we fit the following quadratic function: f(x) = w0+w1*x+w2*(x^2) to the dataset shown (blue circles). The fitted function is shown by the green curve in the picture below. Out of the 3 parameters of the fitted function (w0, w1, w2), which ones are estimated to be 0? (Note: you must select all parameters estimated as 0 to get the question correct.)

Machine Learning Foundations: A Case Study Approach Quiz Answer

Q 6: Assume we fit the following quadratic function: f(x) = w0+w1*x+w2*(x^2) to the dataset shown (blue circles). The fitted function is shown by the green curve in the picture below. Out of the 3 parameters of the fitted function (w0, w1, w2), which ones are estimated to be 0? (Note: you must select all parameters estimated as 0 to get the question correct.)

none of the above

Q 7: Assume we fit the following quadratic function: f(x) = w0+w1*x+w2*(x^2) to the dataset shown (blue circles). The fitted function is shown by the green curve in the picture below. Out of the 3 parameters of the fitted function (w0, w1, w2), which ones are estimated to be 0? (Note: you must select all parameters estimated as 0 to get the question correct.)

Q 8: Which of the following plots would you not expect to see as a plot of training and test error curves?

Q 9: True or false: One always prefers to use a model with more features since it better captures the true underlying process.

Quiz 2: Predicting house prices

Q 1: Selection and summary statistics: We found the zip code with the highest average house price. What is the average house price of that zip code?

Q 2: Filtering data: What fraction of the houses have living space between 2000 sq.ft. and 4000 sq.ft.?

Q 3: Building a regression model with several more features: What is the difference in RMSE between the model trained with my_features and the one trained with advanced_features ?

Week 3: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: classification.

Q 1: The simple threshold classifier for sentiment analysis described in the video ( check all that apply ):

Q 2: For a linear classifier classifying between “positive” and “negative” sentiment in a review x, Score(x) = 0 implies ( check all that apply ):

Q 3: For which of the following datasets would a linear classifier perform perfectly?

Machine Learning Foundations: A Case Study Approach Quiz Answer

Q 4: True or false: High classification accuracy always indicates a good classifier.

Q 5: True or false: For a classifier classifying between 5 classes, there always exists a classifier with an accuracy greater than 0.18.

Q 6: True or false: A false negative is always worse than a false positive.

Q 7: Which of the following statements are true? ( Check all that apply )

Quiz 2: Analyzing product sentiment

Q 1: Out of the 11 words in selected_words , which one is most used in the reviews in the dataset?

Q 2: Out of the 11 words in selected_words , which one is least used in the reviews in the dataset?

Q 3: Out of the 11 words in selected_words , which one got the most positive weight in the selected_words_model ?

(Tip: when printing the list of coefficients, make sure to use print_rows(rows=12) to print ALL coefficients.)

Question 4: Out of the 11 words in selected_words , which one got the most negative weight in the selected_words_model ?

Q 5: Which of the following ranges contains the accuracy of the selected_words_model on the test_data ?

Q 6: Which of the following ranges contains the accuracy of the sentiment_model in the IPython Notebook from lecture on the test_data ?

Q 7: Which of the following ranges contains the accuracy of the majority class classifier, which simply predicts the majority class on the test_data?

Q 8: How do you compare the different learned models with the baseline approach where we are just predicting the majority class?

Q 9: Which of the following ranges contains the ‘predicted_sentiment’ for the most positive review for ‘Baby Trend Diaper Champ’, according to the sentiment_model from the IPython Notebook from lecture?

Q 10: Consider the most positive review for ‘Baby Trend Diaper Champ’ according to the sentiment_model from the IPython Notebook from lecture. Which of the following ranges contains the predicted_sentiment for this review, if we use the selected_words_model to analyze it?

Q 11: Why is the value of the predicted_sentiment for the most positive review found using the sentiment_model much more positive than the value predicted using the selected_words_model ?

Week 4: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: clustering and similarity.

Q 1:A country, called Simpleland , has a language with a small vocabulary of just “the” , “on” , “and” , “go” , “round” , “bus” , and “wheels” . For a word count vector with indices ordered as the words appear above, what is the word count vector for a document that simply says “the wheels on the bus go round and round.”

Please enter the vector of counts as follows: If the counts were [ “the” =1, “on” =3, “and” =2, “go”= 1, “round”= 2, “ bus”= 1, “ wheels”= 1], enter 1321211.

Question 2: In Simpleland , a reader is enjoying a document with a representation: [1 3 2 1 2 1 1]. Which of the following articles would you recommend to this reader next?

Question 3: A corpus in Simpleland has 99 articles. If you pick one article and perform a 1-nearest neighbor search to find the closest article to this query article, how many times must you compute the similarity between two articles?

Question 4: For the TF-IDF representation, does the relative importance of words in a document depend on the base of the logarithm used? For example, take the words “ bus ” and “ wheels ” in a particular document. Is the ratio between the TF-IDF values for “ bus ” and “ wheels ” different when computed using log base 2 versus log base 10?

Question 5:Which of the following statements are true? ( Check all that apply ):

Question 6: Which of the following pictures represents the best k-means solution? ( Squares represent observations, plus signs are cluster centers, and colors indicate assignments of observations to cluster centers .)

Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 2: Retrieving Wikipedia articles

Q 1: Top word count words for Elton John

Question 2: Top TF-IDF words for Elton John

Question 3: The cosine distance between ‘Elton John’s and ‘Victoria Beckham’s articles (represented with TF-IDF) falls within which range?

Question 4: The cosine distance between ‘Elton John’s and ‘Paul McCartney’s articles (represented with TF-IDF) falls within which range?

Question 5: Who is closer to ‘Elton John’, ‘Victoria Beckham’ or ‘Paul McCartney’?

Question 6: Who is the nearest cosine-distance neighbor to ‘Elton John’ using raw word counts?

Question 7: Who is the nearest cosine-distance neighbor to ‘Elton John’ using TF-IDF?

Question 8: Who is the nearest cosine-distance neighbor to ‘Victoria Beckham’ using raw word counts?

Question 9: Who is the nearest cosine-distance neighbor to ‘Victoria Beckham’ using TF-IDF?

Week 5: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: recommender systems.

Q1: Recommending items based on global popularity can ( check all that apply ):

Question 2: Recommending items using a classification approach can ( check all that apply ):

Question 3:Recommending items using a simple count-based co-occurrence matrix can ( check all that apply ):

Question 4:Recommending items using featured matrix factorization can ( check all that apply ):

Question 5:Normalizing co-occurrence matrices is used primarily to account for:

Question 6: A store has 3 customers and 3 products. Below are the learned feature vectors for each user and product. Based on this estimated model, which product would you recommend most highly to User #2 ?

Question 7: For the liked and recommended items displayed below, calculate the recall and round to 2 decimal points. ( As in the lesson, green squares indicate recommended items, and magenta squares are liked items. Items not recommended are grayed out for clarity .) Note: enter your answer in American decimal format (e.g. enter 0.98, not 0,98)

Question 8: For the liked and recommended items displayed below, calculate the precision and round to 2 decimal points. ( As in the lesson, green squares indicate recommended items, and magenta squares are liked items. Items not recommended are grayed out for clarity .) Note: enter your answer in American decimal format (e.g. enter 0.98, not 0,98)

Question 9: Based on the precision-recall curves in the figure below, which recommender would you use?

Quiz 2: Recommending songs

Question 1: Which of the artists below have had the most unique users listening to their songs?

Question 2: Which of the artists below is the most popular artist, the one with the highest total listen_count, in the data set?

Question 3: Which of the artists below is the least popular artist, the one with the smallest total listen_count, in the data set?

Week 6: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: deep learning.

Question 1: Which of the following statements are true ? ( Check all that apply )

Question 2: A simple linear classifier can represent which of the following functions? ( Check all that apply )

x1 AND x2 AND NOT x3

x1 OR (x2 AND NOT x3)

Question 3: Which of the following neural networks can represent the following function? Select all that apply.

(x1 AND x2) OR (NOT x1 AND NOT x2)

Machine Learning Foundations: A Case Study Approach Quiz Answer

Question 4: Which of the following statements is true ? ( Check all that apply )

Question 5: If you have lots of images of different types of plankton labeled with their species name and lots of computational resources, what would you expect to perform better predictions:

Question 6: If you have a few images of different types of plankton labeled with their species name, what would you expect to perform better predictions:

Quiz 2: Deep features for image retrieval

Question 1: What’s the least common category in the training data?

Question 2: Of the images below, which is the nearest ‘cat’ labeled image in the training data to the first image in the test data (image_test[0:1])?

Machine Learning Foundations: A Case Study Approach Quiz Answer

Question 3: Of the images below, which is the nearest ‘dog’ labeled image in the training data to the the first image in the test data (image_test[0:1])?

Machine Learning Foundations: A Case Study Approach Quiz Answer

Question 4: :For the first image in the test data, in what range is the mean distance between this image and its 5 nearest neighbors that were labeled ‘cat’ in the training data?

Question 5: For the first image in the test data, in what range is the mean distance between this image and its 5 nearest neighbors that were labeled ‘dog’ in the training data?

Question 6: On average, is the first image in the test data closer to its 5 nearest neighbors in the ‘cat’ data or in the ‘dog’ data?

Question 7: In what range is the accuracy of the 1-nearest neighbor classifier at classifying ‘dog’ images from the test set?

Machine Learning Foundations: A Case Study Approach Course Review

In our experience, we suggest you enroll in Machine Learning Foundations: A Case Study Approach courses and gain some new skills from Professionals completely free and we assure you will be worth it.

Machine Learning Foundations: A Case Study Approach for free, if you are stuck anywhere between a quiz or a graded assessment quiz, just visit Networking Funda to Machine Learning Foundations: A Case Study Approach Quiz Answers.

Get All Course Quiz Answers of Machine Learning Specialization

Machine Learning: Regression Coursera Quiz Answers

Machine Learning: Classification Coursera Quiz Answers

Machine Learning: Clustering & Retrieval Quiz Answers

Team Networking Funda

Team Networking Funda

We are Team Networking Funda, a group of passionate authors and networking enthusiasts committed to sharing our expertise and experiences in networking and team building. With backgrounds in Data Science, Information Technology, Health, and Business Marketing, we bring diverse perspectives and insights to help you navigate the challenges and opportunities of professional networking and teamwork.

Related Posts

Neural Networks and Deep Learning Coursera Quiz Answers

Neural Networks and Deep Learning Coursera Quiz Answers

  • September 24, 2023

Data Analysis with R Programming Coursera Quiz Answers

  • September 7, 2023

Introduction to Accounting Data Analytics and Visualization Quiz Answers

  • September 28, 2022

Leave a Reply Cancel Reply

Your email address will not be published. Required fields are marked *

Save my name, email, and website in this browser for the next time I comment.

I accept the Privacy Policy *

Post Comment

Trending now

machine learning foundations a case study approach quiz answers github

Machine Learning Foundations: A Case Study Approach Quiz Answer

Coursera was launched in 2012 by Daphne Koller and Andrew Ng with the goal of giving life-changing learning experiences to students all around the world. In the modern day, Coursera is a worldwide online learning platform that provides anybody, anywhere with access to online courses and degrees from top institutions and corporations.

Week 1: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: s frames.

Q 1:Download the Wiki People SFrame. Then open a new Jupyter notebook, import TuriCreate, and read the SFrame data.

Answer: Click here

Q 2: How many rows are in the SFrame? (Do NOT use commas or periods.)

Answer: 59071

Q 3: Which name is in the last row?

  • C​onradign Netzer
  • C​thy Caruth
  • F​awaz Damrah

Q 4: Read the text column for Harpdog Brown. He was honored with:

  • A​ Grammy award for his latest blues album.
  • A gold harmonica to recognize his innovative playing style.
  • A lifetime membership in the Hamilton Blues Society.

Q 5: Sort the SFrame according to the text column, in ascending order. What is the name entry in the first row?

  • Z​ygfryd Szo
  • D​igby Morrell
  • 0​07 James Bond
  • 108 (artist)
  • 8​ Ball Aitken

Week 2: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: regression.

Q 1: Which figure represents an overfitted model?

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/czbfW1vMEeWVtgr31Ad8Fw_e76f287b4f43f46f9afd6a29ccae1ead_Reg1a.png?expiry=1658620800000&hmac=x156QPF_Btk-yNR45SL6zO9sIUjsN6f2nMLs2tBIhGM>

Q 2: True or false: The model that best minimizes training error is the one that will perform best for the task of prediction on new data.

Q 3: The following table illustrates the results of evaluating 4 models with different parameter choices on some data set. Which of the following models fits this data the best?

Q 4: Assume we fit the following quadratic function: f(x) = w0+w1*x+w2*(x^2) to the dataset shown (blue circles). The fitted function is shown by the green curve in the picture below. Out of the 3 parameters of the fitted function (w0, w1, w2), which ones are estimated to be 0? (Note: you must select all parameters estimated as 0 to get the question correct.)

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/8CcG-lvREeWzLwrzeFOkAw_5c39244e7608d47a3a43d6019c0df631_Reg4a.png?expiry=1658620800000&hmac=rX__IhYjQyRZNqr6-abWP3aLnbB2EsxqlnbGVuNvEbE>

  • none of the above;

Q 5: Assume we fit the following quadratic function: f(x) = w0+w1*x+w2*(x^2) to the dataset shown (blue circles). The fitted function is shown by the green curve in the picture below. Out of the 3 parameters of the fitted function (w0, w1, w2), which ones are estimated to be 0? (Note: you must select all parameters estimated as 0 to get the question correct.)

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/Em2X3FvSEeWMhg7baGhc3w_3187d5cb269bf4e998d6f92493793a88_Reg4b.png?expiry=1658620800000&hmac=d8-AWZlSVy2LL00Fel3bLIJxrGraECEA1wnf176E_bs>

  • none of the above

Q 6: Assume we fit the following quadratic function: f(x) = w0+w1*x+w2*(x^2) to the dataset shown (blue circles). The fitted function is shown by the green curve in the picture below. Out of the 3 parameters of the fitted function (w0, w1, w2), which ones are estimated to be 0? (Note: you must select all parameters estimated as 0 to get the question correct.)

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/LD5UH1vSEeWhtQ48PjS6Pw_9ac59a77ea836dd248a38ebde9f2d11f_Reg4c.png?expiry=1658620800000&hmac=tqED_QOOZtkR1F5aQCVc3pgO0Xu2HVtDF9_NMbvR1u0>

Q 7: Assume we fit the following quadratic function: f(x) = w0+w1*x+w2*(x^2) to the dataset shown (blue circles). The fitted function is shown by the green curve in the picture below. Out of the 3 parameters of the fitted function (w0, w1, w2), which ones are estimated to be 0? (Note: you must select all parameters estimated as 0 to get the question correct.)

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/RIlaI1vSEeWVtgr31Ad8Fw_b7f7b633af94820bc5992c6975d8dc4d_Reg4d.png?expiry=1658620800000&hmac=XBE_l2ZDn-T0jJQGlWbqmy6Hp4yVaI4vsp1nz2zLEn4>

Q 8: Which of the following plots would you not expect to see as a plot of training and test error curves?

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/yCCWHFvNEeWSuhJSxsy6bQ_33196504673be40e26a66fe9994b80f7_Reg5b.png?expiry=1658620800000&hmac=b0scdHXjrxJqdfyS4DxmTDVGOqfpnSuVk4xd9Trs4dQ>

Q 9: True or false: One always prefers to use a model with more features since it better captures the true underlying process.

Quiz 2: Predicting house prices

Q 1: Selection and summary statistics: We found the zip code with the highest average house price. What is the average house price of that zip code?

  • $2,160,607 ;

Q 2: Filtering data: What fraction of the houses have living space between 2000 sq.ft. and 4000 sq.ft.?

  • Between 0.2 and 0.29
  • Between 0.3 and 0.39
  • Between 0.4 and 0.49
  • Between 0.5 and 0.59
  • Between 0.6 and 0.69

Q 3: Building a regression model with several more features: What is the difference in RMSE between the model trained with my_features and the one trained with advanced_features ?

  • the RMSE of the model with advanced_features lower by less than $25,000
  • the RMSE of the model with advanced_features lower by between $25,001 and $35,000
  • the RMSE of the model with advanced_features lower by between $35,001 and $45,000
  • the RMSE of the model with advanced_features lower by between $45,001 and $55,000
  • the RMSE of the model with advanced_features lower by more than $55,000

Week 3: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: classification;.

Q 1: The simple threshold classifier for sentiment analysis described in the video ( check all that apply ):

  • Must have pre-defined positive and negative attributes
  • Must either count attributes equally or pre-define weights on attributes
  • Defines a possibly non-linear decision boundary

Q 2: For a linear classifier classifying between “positive” and “negative” sentiment in a review x, Score(x) = 0 implies ( check all that apply ):

  • The review is very clearly “negative”
  • We are uncertain whether the review is “positive” or “negative”
  • We need to retrain our classifier because an error has occurred

Q 3: For which of the following datasets would a linear classifier perform perfectly?

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/D_IigVvQEeWVtgr31Ad8Fw_267aaadfe8ea97a30533a6712d23b0de_Class3b.png?expiry=1658620800000&hmac=OnudUFhXcrzCU-3gBveA322w4shtxUpBhScnIFSD1rE>

Q 4: True or false: High classification accuracy always indicates a good classifier.

Q 5: True or false: For a classifier classifying between 5 classes, there always exists a classifier with accuracy greater than 0.18.

Q 6: True or false: A false negative is always worse than a false positive.

Q 7: Which of the following statements are true? ( Check all that apply )

  • Test error tends to decrease with more training data until a point, and then does not change (i.e., curve flattens out)
  • Test error always goes to 0 with an unboundedly large training dataset
  • Test error is never a function of the amount of training data

Quiz 2: Analyzing product sentiment;

Q 1: Out of the 11 words in selected_words , which one is most used in the reviews in the dataset?

Q 2: Out of the 11 words in selected_words , which one is least used in the reviews in the dataset?

Q 3: Out of the 11 words in selected_words , which one got the most positive weight in the selected_words_model ?

(Tip: when printing the list of coefficients, make sure to use print_rows(rows=12) to print ALL coefficients.)

Question 4: Out of the 11 words in selected_words , which one got the most negative weight in the selected_words_model ?

Q 5: Which of the following ranges contains the accuracy of the selected_words_model on the test_data ?

  • 0.811 to 0.841
  • 0.841 to 0.871
  • 0.871 to 0.901
  • 0.901 to 0.931

Q 6: Which of the following ranges contains the accuracy of the sentiment_model in the IPython Notebook from lecture on the test_data ?

Q 7: Which of the following ranges contains the accuracy of the majority class classifier, which simply predicts the majority class on the test_data?

  • 0.811 to 0.843
  • 0.843 to 0.871
  • 0.901 to 0.931;

Q 8: How do you compare the different learned models with the baseline approach where we are just predicting the majority class?

  • They all performed about the same.
  • The model learned using all words performed much better than the one using the only the selected_words . And, the model learned using the selected_words performed much better than just predicting the majority class.
  • The model learned using all words performed much better than the other two. The other two approaches performed about the same.
  • Predicting the simply majority class performed much better than the other two models .

Q 9: Which of the following ranges contains the ‘predicted_sentiment’ for the most positive review for ‘Baby Trend Diaper Champ’, according to the sentiment_model from the IPython Notebook from lecture?

Q 10: Consider the most positive review for ‘Baby Trend Diaper Champ’ according to the sentiment_model from the IPython Notebook from lecture. Which of the following ranges contains the predicted_sentiment for this review, if we use the selected_words_model to analyze it?;

Q 11: Why is the value of the predicted_sentiment for the most positive review found using the sentiment_model much more positive than the value predicted using the selected_words_model ?

  • The sentiment_model is just too positive about everything.
  • The selected_words_model is just too negative about everything.
  • This review was positive, but used too many of the negative words in selected_words .
  • None of the selected_words appeared in the text of this review.

Week 4: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: clustering and similarity;.

Q 1:A country, called Simpleland , has a language with a small vocabulary of just “the” , “on” , “and” , “go” , “round” , “bus” , and “wheels” . For a word count vector with indices ordered as the words appear above, what is the word count vector for a document that simply says “the wheels on the bus go round and round.”

Please enter the vector of counts as follows: If the counts were [ “the” =1, “on” =3, “and” =2, “go”= 1, “round”= 2, “ bus”= 1, “ wheels”= 1], enter 1321211.

Answer: 21112111

Question 2: In Simpleland , a reader is enjoying a document with a representation: [1 3 2 1 2 1 1]. Which of the following articles would you recommend to this reader next?

  • [7 0 2 1 0 0 1]
  • [1 7 0 0 2 0 1]
  • [1 0 0 0 7 1 2]
  • [0 2 0 0 7 1 1]

Question 3: A corpus in Simpleland has 99 articles. If you pick one article and perform 1-nearest neighbor search to find the closest article to this query article, how many times must you compute the similarity between two articles?

Question 4: For the TF-IDF representation, does the relative importance of words in a document depend on the base of the logarithm used? For example, take the words “ bus ” and “ wheels ” in a particular document. Is the ratio between the TF-IDF values for “ bus ” and “ wheels ” different when computed using log base 2 versus log base 10?

Question 5:Which of the following statements are true? ( Check all that apply ):

  • Deciding whether an email is spam or not spam using the text of the email and some spam / not spam labels is a supervised learning problem.
  • Dividing emails into two groups based on the text of each email is a supervised learning problem.
  • If we are performing clustering, we typically assume we either do not have or do not use class labels in training the model.

Question 6: Which of the following pictures represents the best k-means solution? ( Squares represent observations, plus signs are cluster centers, and colors indicate assignments of observations to cluster centers .)

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/AW6FxVvVEeWzLwrzeFOkAw_3e7caa843845e525f9275753265c0900_Clust5b.png?expiry=1658620800000&hmac=XDtBpsTCunhlQ9O9-DRPncW6PNGZ83Dd9PQFRx1O-Go>

Quiz 2: Retrieving Wikipedia articles;

Q 1: Top word count words for Elton John

  • (the, john, singer)
  • (england, awards, musician)
  • (the, in, and)
  • (his, the, since)
  • (rock, artists, best)

Question 2: Top TF-IDF words for Elton John

  • (furnish,elton,billboard)
  • (john,elton,fivedecade)
  • (the,of,has)
  • (awards,rock,john)
  • (elton,john,singer)

Question 3: The cosine distance between ‘Elton John’s and ‘Victoria Beckham’s articles (represented with TF-IDF) falls within which range?

  • 0.1 to 0.29;
  • 0.3 to 0.49
  • 0.5 to 0.69
  • 0.7 to 0.89

Question 4: The cosine distance between ‘Elton John’s and ‘Paul McCartney’s articles (represented with TF-IDF) falls within which range?

  • 0.1 to 0.29

Question 5: Who is closer to ‘Elton John’, ‘Victoria Beckham’ or ‘Paul McCartney’?

  • Victoria Beckham
  • Paul McCartney

Question 6: Who is the nearest cosine-distance neighbor to ‘Elton John’ using raw word counts?;

  • Cliff Richard
  • Roger Daltrey
  • George Bush

Question 7: Who is the nearest cosine-distance neighbor to ‘Elton John’ using TF-IDF?

  • Rod Stewart
  • Elvis Presley

Question 8: Who is the nearest cosine-distance neighbor to ‘Victoria Beckham’ using raw word counts?

  • Stephen Dow Beckham
  • Louis Molloy
  • Adrienne Corri
  • Mary Fitzgerald (artist) ;

Question 9: Who is the nearest cosine-distance neighbor to ‘Victoria Beckham’ using TF-IDF?

  • Caroline Rush
  • David Beckham
  • Carrie Reichardt

Week 5: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: recommender systems.

Q 1: Recommending items based on global popularity can ( check all that apply ):

  • provide personalization
  • capture context (e.g., time of day)

Question 2: Recommending items using a classification approach can ( check all that apply ):;

Question 3:Recommending items using a simple count based co-occurrence matrix can ( check all that apply ):

Question 4:Recommending items using featurized matrix factorization can ( check all that apply ):

Question 5:Normalizing co-occurrence matrices is used primarily to account for:

  • people who purchased many items
  • items purchased by many ;
  • eliminating rare products

Question 6: A store has 3 customers and 3 products. Below are the learned feature vectors for each user and product. Based on this estimated model, which product would you recommend most highly to User #2 ?

  • Product #3;

Question 7: For the liked and recommended items displayed below, calculate the recall and round to 2 decimal points. ( As in the lesson, green squares indicate recommended items, magenta squares are liked items. Items not recommended are grayed out for clarity .) Note: enter your answer in American decimal format (e.g. enter 0.98, not 0,98)

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/C0Ri1FvZEeWMhg7baGhc3w_290d82e965c33e663968151f43a71743_Rec8.png?expiry=1658620800000&hmac=ro8CVcehdzhMoZDhUaIZXJOqieK7dJ0XcGNb2DHCFzw>

Answer: 0.33

Question 8: For the liked and recommended items displayed below, calculate the precision and round to 2 decimal points. ( As in the lesson, green squares indicate recommended items, magenta squares are liked items. Items not recommended are grayed out for clarity .) Note: enter your answer in American decimal format (e.g. enter 0.98, not 0,98)

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/QkZrJ1vZEeWZgBLZEKssZQ_f80562a68423c8ffe11565327abee8c8_Rec8.png?expiry=1658620800000&hmac=wdW97z3_apaxidVHhNYrLVtPmk6ryAf1fNgOSyvdLjw>

Answer: 0.25

Question 9: Based on the precision-recall curves in the figure below, which recommender would you use?

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/JaMj1VvYEeWSuhJSxsy6bQ_648fbff528d436fc414fd485af5cb56d_Rec9.png?expiry=1658620800000&hmac=TdvA-JDmDM9SVzTbUD9UEMPc-crG42GgkFl6spDyve8>

Quiz 2: Recommending songs

Question 1: Which of the artists below have had the most unique users listening to their songs?

  • Foo Fighters
  • Taylor Swift

Question 2: Which of the artists below is the most popular artist, the one with highest total listen_count, in the data set?

  • Kings of Leon

Question 3: Which of the artists below is the least popular artist, the one with smallest total listen_count, in the data set?

  • William Tabbert
  • Velvet Underground & Nico
  • The Cool Kids;

Week 6: Machine Learning Foundations: A Case Study Approach Quiz Answer

Quiz 1: deep learning.

Question 1: Which of the following statements are true ? ( Check all that apply )

  • Linear classifiers are never useful, because they cannot represent XOR.
  • Linear classifiers are useful, because, with enough data, they can represent anything.
  • Having good non-linear features can allow us to learn very accurate linear classifiers.

Question 2: A simple linear classifier can represent which of the following functions? ( Check all that apply )

  • x1 OR x2 OR NOT x3
  • x1 AND x2 AND NOT x3
  • x1 OR (x2 AND NOT x3)

Question 3: Which of the the following neural networks can represent the following function? Select all that apply.

(x1 AND x2) OR (NOT x1 AND NOT x2)

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/FG_Wy1vaEeWhtQ48PjS6Pw_d8ed3b37fc1e16f793f6a3c7fbb1531b_Deep3d.png?expiry=1658620800000&hmac=Y13fXXF0RyLZ9QsOvSEhdLZ25HwPcUk6Ek3VVhjTCMs>

Question 4: Which of the following statements is true ? ( Check all that apply )

  • Features in computer vision act like local detectors.
  • Deep learning has had impact in computer vision, because it’s used to combine all the different hand-created features that already exist.
  • By learning non-linear features, neural networks have allowed us to automatically learn detectors for computer vision.

Question 5: If you have lots of images of different types of plankton labeled with their species name, and lots of computational resources, what would you expect to perform better predictions:

  • a deep neural network trained on this data.
  • a simple classifier trained on this data, using deep features as input, which were trained using ImageNet data.

Question 6: If you have a few images of different types of plankton labeled with their species name, what would you expect to perform better predictions:

Quiz 2: Deep features for image retrieval

Question 1: What’s the least common category in the training data?

Question 2: Of the images below, which is the nearest ‘cat’ labeled image in the training data to the the first image in the test data (image_test[0:1])?

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/xlEzz2DcEeW67AqL8VPUFQ_b58f25deeeb2bb4b4603fee6597ad3fd_cat_correct.png?expiry=1658620800000&hmac=Gn9tCJyaaZlS-Yj4IBx711HGqJQvdOTiJwrmA1cfM-I>

Question 3: Of the images below, which is the nearest ‘dog’ labeled image in the training data to the the first image in the test data (image_test[0:1])?

<image: https://d3c33hcgiwev3.cloudfront.net/imageAssetProxy.v1/2KmNYGDcEeWSthLJWZH1gw_302e98a3196d8bf12bf7be8950ad77dd_dog_correct.png?expiry=1658620800000&hmac=MwbQ389JZJvXqH8bPWBjWmZJa-z7vdqxsEXShL2XYCI>

Question 4: :For the first image in the test data, in what range is the mean distance between this image and its 5 nearest neighbors that were labeled ‘cat’ in the training data?

Question 5: For the first image in the test data, in what range is the mean distance between this image and its 5 nearest neighbors that were labeled ‘dog’ in the training data?

Question 6: On average, is the first image in the test data closer to its 5 nearest neighbors in the ‘cat’ data or in the ‘dog’ data?

Question 7: In what range is the accuracy of the 1-nearest neighbor classifier at classifying ‘dog’ images from the test set?

Based on our knowledge, we urge you to enroll in this course so you can pick up new skills from specialists. It will be worthwhile, we trust.

Leave a Comment Cancel reply

You must be logged in to post a comment.

Customer Reviews

machine learning foundations a case study approach quiz answers github

If you can’t write your essay, then the best solution is to hire an essay helper. Since you need a 100% original paper to hand in without a hitch, then a copy-pasted stuff from the internet won’t cut it. To get a top score and avoid trouble, it’s necessary to submit a fully authentic essay. Can you do it on your own? No, I don’t have time and intention to write my essay now! In such a case, step on a straight road of becoming a customer of our academic helping platform where every student can count on efficient, timely, and cheap assistance with your research papers, namely the essays.

Some attractive features that you will get with our write essay service

Grab these brilliant features with the best essay writing service of PenMyPaper. With our service, not the quality but the quantity of the draft will be thoroughly under check, and you will be able to get hold of good grades effortlessly. So, hurry up and connect with the essay writer for me now to write.

machine learning foundations a case study approach quiz answers github

Specifically, buying papers from us you can get 5%, 10%, or 15% discount.

Can I pay after you write my essay for me?

Check your email for notifications. Once your essay is complete, double-check it to see if it falls under your expectations and if satisfied-release the funds to your writer. Keep in mind that our essay writing service has a free revisions policy.

Dr.Jeffrey (PhD)

Bina Mutu Bangsa

(415) 397-1966

Once I Hire a Writer to Write My Essay, Is It Possible for Me to Monitor Their Progress?

Absolutely! Make an order to write my essay for me, and we will get an experienced paper writer to take on your task. When you set a deadline, some people choose to simply wait until the task is complete, but others choose a more hands-on process, utilizing the encrypted chat to contact their writer and ask for a draft or a progress update. On some occasions, your writer will be in contact with you if a detail from your order needs to be clarified. Good communication and monitoring is the key to making sure your work is as you expected, so don't be afraid to use the chat when you get someone to write my essay!

Need an essay writer for me? Connect now!

Feeling tired to write drafts on your own or you do not have ample ideas to write with? Be it anything, our writers are here to assist you with the best essay writing service. With our service, you will save a lot of time and get recognition for the academic assignments you are given to write. This will give you ample time to relax as well. Let our experts write for you. With their years of experience in this domain and the knowledge from higher levels of education, the experts can do brilliant essay writing even with strict deadlines. They will get you remarkable remarks on the standard of the academic draft that you will write with us.

Emery Evans

Finished Papers

Finished Papers

What is the best essay writer?

The team EssaysWriting has extensive experience working with highly qualified specialists, so we know who is ideal for the role of the author of essays and scientific papers:

  • Easy to communicate. Yes, this point may seem strange to you, but believe me, as a person communicates with people, he manifests himself in the texts. The best essay writer should convey the idea easily and smoothly, without overloading the text or making it messy.
  • Extensive work experience. To start making interesting writing, you need to write a lot every day. This practice is used by all popular authors for books, magazines and forum articles. When you read an essay, you immediately understand how long a person has been working in this area.
  • Education. The ideal writer should have a philological education or at least take language courses. Spelling and punctuation errors are not allowed in the text, and the meaning should fit the given topic.

Such essay writers work in our team, so you don't have to worry about your order. We make texts of the highest level and apply for the title of leaders in this complex business.

Customer Reviews

IMAGES

  1. Machine Learning Foundations: Case Study Approach

    machine learning foundations a case study approach quiz answers github

  2. Machine Learning Foundations: A Case Study Approach

    machine learning foundations a case study approach quiz answers github

  3. GitHub

    machine learning foundations a case study approach quiz answers github

  4. GitHub

    machine learning foundations a case study approach quiz answers github

  5. (PDF) Machine Learning Foundations: A Case Study Approach

    machine learning foundations a case study approach quiz answers github

  6. Machine Learning Foundations: A Case Study Approach

    machine learning foundations a case study approach quiz answers github

VIDEO

  1. The Learning Problem :: Components of Learning @ Machine Learning Foundations (機器學習基石)

  2. The Learning Problem :: What Is Machine Learning @ Machine Learning Foundations (機器學習基石)

  3. Machine Learning Foundations For Product Managers Project

  4. Final Project

  5. Course Project

  6. Machine Learning Foundations for Product Managers

COMMENTS

  1. dontless/Machine-Learning-Foundations-A-Case-Study-Approach

    Regression Case Study 1: Predicting house prices Classification Case Study 2: Sentiment Analysis Clustering Case Study 3: Document retrieval Matrix Factorization Case Study 4: Product recommendation Deep Learning Cases Study 5: Visual product recommender

  2. GitHub

    ##Machine Learning Foundations: A Case Study Approach## Someone has posted answers to quiz and assignment here. Although a few questions have changed by now, it still serves as a good reference. You can find the source code for my assignment in the ipynb files under the corresponding folders.

  3. Coursera-UW-Machine-Learning-Foundations-A-Case-Study-Approach

    In this course, you will get hands-on experience with machine learning from a series of practical case-studies. At the end of the first course you will have studied how to predict house prices based on house-level features, analyze sentiment from user reviews, retrieve documents of interest, recommend products, and search for images.

  4. raj-preacher/Machine-Learning-WASHINGTON-Course-1

    In this course, you will get hands-on experience with machine learning from a series of practical case-studies. At the end of the first course you will have studied how to predict house prices based on house-level features, analyze sentiment from user reviews, retrieve documents of interest, recommend products, and search for images.

  5. GitHub

    Evaluate the model on the test-data -> accuracy, precision, recall; Model 2: Deep Features (Tranfer Learning) - input : image_train, features : deep_features, target : label, algorithm : logistic regression. Make predictions with the deep feature model. Compute the test data accuracy of the deep_feature model.

  6. SSQ/Coursera-UW-Machine-Learning-Foundations-A-Case-Study-Approach

    README. MIT license. Coursera-UW-Machine-Learning-Foundations-A-Case-Study-Approach. Course can be found in Coursera. Notebook for quick search can be found in my blog SSQ. Week 1 Introduction. Regression. Case study: Predicting house prices. Classification.

  7. Machine Learning Foundations: A Case Study Approach

    Machine Learning Foundations: A Case Study Approach is a 6-week introductory machine learning course offered by the University of Washington on Coursera. ... Machine Learning Foundations: A Case Study Approach achieves its goal of introducing machine learning at a high level without rushing or trying to cram too much into any particular week ...

  8. University of Washington

    In our second case study, analyzing sentiment, you will create models that predict a class (positive/negative sentiment) from input features (text of the reviews, user profile information,…).This task is an example of classification, one of the most widely used areas of machine learning, with a broad array of applications, including ad ...

  9. Machine Learning Foundations: A Case Study Approach

    This first course treats the machine learning method as a black box. Using this abstraction, you will focus on understanding tasks of interest, matching these tasks to machine learning tools, and assessing the quality of the output. In subsequent courses, you will delve into the components of this black box by examining models and algorithms.

  10. A Review of Machine Learning Foundations

    The course is structured in 6 weeks (about 10 hr per week commitment), each of them covering a specific Machine Learning concept. Each Machine Learning concept is explained through a series of video lessons followed by a quiz (usually 5-10 questions), and finally a programming assignment in which you will implement a small application using the ...

  11. Machine Learning Foundations: A Case Study Approach Quiz Answer

    Struggling with the quiz questions from the "Machine Learning Foundations: A Case Study Approach" course? Your search for answers ends here!In this video, we...

  12. Coursera:Machine Learning Fundamentals A Case Study Approach ...

    Coursera: Machine Learning Fundamentals A Case Study Approach University Of Washington Course Answer Course Name - Machine Learning Fundamentals A Case Study...

  13. Machine Learning Foundations: A Case Study Approach Quiz Answer

    Quiz 1: S Frames. Week 2: Machine Learning Foundations: A Case Study Approach Quiz Answer. Quiz 1: Regression. Quiz 2: Predicting house prices. Week 3: Machine Learning Foundations: A Case Study Approach Quiz Answer. Quiz 1: Classification. Quiz 2: Analyzing product sentiment.

  14. Machine Learning Foundations: Case Study Approach

    Machine Learning Foundations: Case Study Approach | All Weeks Quiz Answers | Coursera Complete Certification In One Video.Subscribe Channel & Comment More To...

  15. Machine Learning Foundations: A Case Study Approach Quiz Answer

    Week 5: Machine Learning Foundations: A Case Study Approach Quiz Answer Quiz 1: Recommender Systems. Q 1: Recommending items based on global popularity can (check all that apply): provide personalization; capture context (e.g., time of day) none of the above; Question 2: Recommending items using a classification approach can (check all that ...

  16. Machine Learning Foundations A Case Study Approach Github Answers

    ID 10820. Machine Learning Foundations A Case Study Approach Github Answers, Write Literature Blog Post, Athletes Income Essay, Human Resource Management Cover Letter Examples, Vb6 Resume Without Error, Outside Sales Rep Resume Sample, Pay To Get Definition Essay On Lincoln. 4.9/5.

  17. Machine Learning Foundations A Case Study Approach Github Quiz

    You as a client can be sure that you will be working with the best paper writer in the game no matter your subject or the difficulty of the task as all our writers go through testing and have their degrees checked. Only 3% of all applicants are accepted to work with us and even these 3% have a training program and a two-month trial period ahead ...

  18. Machine Learning Foundations A Case Study Approach Github Answers

    Machine Learning Foundations A Case Study Approach Github Answers - ... 14 days. Undergraduate. Machine Learning Foundations A Case Study Approach Github Answers: Hire a Writer. ID 9011. 4.8/5. ID 8126. 695 ... Response paper, Dissertation, Marketing Plan, Literature Review, Editing, Letter, Online Test, Annotated Bibliography, Business Report ...

  19. Machine Learning Foundations A Case Study Approach Github Answers

    The best service of professional essay writing companies is that the staff give you guarantees that you will receive the text at the specified time at a reasonable cost. You have the right to make the necessary adjustments and monitor the progress of the task at all levels. Clients are not forced to pay for work immediately; money is ...

  20. Machine Learning Foundations A Case Study Approach Github Quiz

    100% Success rate. 4.8/5. Machine Learning Foundations A Case Study Approach Github Quiz, The Place Of Literature Review In Research, Division Classifaction Essay, Research Paper On Environmental Issues And Problems, Yum China Harvard Case Study, Ib Extended Essay Statistics, Business Plan E Marketing Plan Riassunto. amlaformulatorsschool.

  21. Machine Learning Foundations A Case Study Approach Github Quiz

    Machine Learning Foundations A Case Study Approach Github Quiz. Nursing Management Psychology Healthcare +85. REVIEWS HIRE. Hire a Writer. 2269 Chestnut Street, #477. San Francisco CA 94123. Gombos Zoran. #21 in Global Rating.

  22. Machine Learning Foundations A Case Study Approach Solutions Github

    So that we immediately understand whether a writer can cover large volumes of orders. Only after a detailed interview, we take people to the team. Employees will carefully select information, conduct search studies and check each proposal for errors. Clients pass anti-plagiarism quickly and get the best marks in schools and universities. Essay ...