1. (5 points cach) The study of how musical pieces and artists influence each other is...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. (5 points cach) The study of how musical pieces and artists influence each other is called music genomics. In this project, we apply singular value decomposition to our study of music genomics. This technique requires a binary matrix M (a matrix of zeros and ones). Use the raw data from Figure 1 to create a song-trait matrix. In order to do so, use the following values to determine whether to assign a zero or a one to each raw data value. In the crescendo category, assign a 0 for raw data less than 8 and assign a 1 otherwise, and well call 8 the cut off for this category. Use cutoffs of 2 for decrescendos, 22 for staccato, 10 for portamento, 109 for tempo, and 4 for intervals. Decrescendo SONG Beat It How Will I Know Together Again No Scrubs Poker Face Crazy in Love Only Girl Say My Name Dreamlover Like a Virgin Billie Jean I Wanna Dance All for You Waterfalls Born This Way Single Ladies Umbrella Bootylicious Fantasy Like a Prayer Crescendo 4 17 4 10 4 7 7 18 10 6 4 9 10 0 3 6 9 8 5 14 7 3 3 4 2 4 2 4 2 2 4 4 0 4 2 4 2 1 0 al 6 2 1 1 Staccato 18 34 16 14 16 19 56 21 21 19 29 14 14 38 10 Ar 15 14 36 34 20 16 10 Portamento FIGURE 1: Raw data for 20 the number 1 Billboard Hit choruses 0 0 0 24 8 24 11 26 8 D 0 9 12 15 8 9 28 4 16 7 0 Tempo 132 120 120 90 120 100 126 70 104 118 117 120 114 84 124 96 86 104 112 120 Intervals 2.417 5.281 5.875 5.563 4.75 5.563 3.24 3.25 5.25 5,375 2.938 3.15 1.563 4.389 1.5 2.656 5.292 4.375 7.75 5.375 4.375 (a) S = MMT is called the similarity matrix related to the binary song-trait matrix. Find the similarity matrix S and describe what S₁, and S, where i ‡ j represent. (b) Compute the singular value decomposition of S keeping only the 2 largest singular values. Type: [U, W,V] suds(S.2). (c) With 20 songs in the data set, the matrix U will be a 20 x 2 matrix. The rows of U are the new coordinates for each of the songs, s, based on this decomposition. Plot the new coordinates of the songs to see which songs are closest together based on the SVD algorithm. Note that you might want to create a labeling of the songs before plotting them. To do this type: labels = cellstr(num2str ([1: length(U)]')); plot (U(:,1),U(: ,2), 'rx'); text (U( 1),U: 2), labels) (d) Let us now assume that there is one song sy that we wish to compare with all of the others. We will use the cosine distance from the new coordinates of s₁, Michael Jacksons Beat It, to rank the original songs. The distance from si to s, is d. = Find d; for each song, other than si, and rank the songs based on how close they are to 8₁. (e) It is possible that an artist has been influenced by Michael Jackson but not his song Beat It. Define q as the average of the new coordinates for 81 and 811, both Michael Jackson songs. Find the distance from each song to gi, d=and rank the songs based on how close they are to ql. 1. (5 points cach) The study of how musical pieces and artists influence each other is called music genomics. In this project, we apply singular value decomposition to our study of music genomics. This technique requires a binary matrix M (a matrix of zeros and ones). Use the raw data from Figure 1 to create a song-trait matrix. In order to do so, use the following values to determine whether to assign a zero or a one to each raw data value. In the crescendo category, assign a 0 for raw data less than 8 and assign a 1 otherwise, and well call 8 the cut off for this category. Use cutoffs of 2 for decrescendos, 22 for staccato, 10 for portamento, 109 for tempo, and 4 for intervals. Decrescendo SONG Beat It How Will I Know Together Again No Scrubs Poker Face Crazy in Love Only Girl Say My Name Dreamlover Like a Virgin Billie Jean I Wanna Dance All for You Waterfalls Born This Way Single Ladies Umbrella Bootylicious Fantasy Like a Prayer Crescendo 4 17 4 10 4 7 7 18 10 6 4 9 10 0 3 6 9 8 5 14 7 3 3 4 2 4 2 4 2 2 4 4 0 4 2 4 2 1 0 al 6 2 1 1 Staccato 18 34 16 14 16 19 56 21 21 19 29 14 14 38 10 Ar 15 14 36 34 20 16 10 Portamento FIGURE 1: Raw data for 20 the number 1 Billboard Hit choruses 0 0 0 24 8 24 11 26 8 D 0 9 12 15 8 9 28 4 16 7 0 Tempo 132 120 120 90 120 100 126 70 104 118 117 120 114 84 124 96 86 104 112 120 Intervals 2.417 5.281 5.875 5.563 4.75 5.563 3.24 3.25 5.25 5,375 2.938 3.15 1.563 4.389 1.5 2.656 5.292 4.375 7.75 5.375 4.375 (a) S = MMT is called the similarity matrix related to the binary song-trait matrix. Find the similarity matrix S and describe what S₁, and S, where i ‡ j represent. (b) Compute the singular value decomposition of S keeping only the 2 largest singular values. Type: [U, W,V] suds(S.2). (c) With 20 songs in the data set, the matrix U will be a 20 x 2 matrix. The rows of U are the new coordinates for each of the songs, s, based on this decomposition. Plot the new coordinates of the songs to see which songs are closest together based on the SVD algorithm. Note that you might want to create a labeling of the songs before plotting them. To do this type: labels = cellstr(num2str ([1: length(U)]')); plot (U(:,1),U(: ,2), 'rx'); text (U( 1),U: 2), labels) (d) Let us now assume that there is one song sy that we wish to compare with all of the others. We will use the cosine distance from the new coordinates of s₁, Michael Jacksons Beat It, to rank the original songs. The distance from si to s, is d. = Find d; for each song, other than si, and rank the songs based on how close they are to 8₁. (e) It is possible that an artist has been influenced by Michael Jackson but not his song Beat It. Define q as the average of the new coordinates for 81 and 811, both Michael Jackson songs. Find the distance from each song to gi, d=and rank the songs based on how close they are to ql.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these accounting questions
-
Clearly, from series we can compute function values. In this project we show that properties of functions can often be discovered from their Taylor or Maclaurin series. Using suitable series, prove...
-
In this project we will apply what we learned about capital budgeting using real-world examples. General Instructions: This is an individual project, i.e., each one of you will have to submit the...
-
The matrix has singular value decomposition Use the singular value decomposition to find orthonormal bases for R(A) and N(AT). 4004 5335 2662 1-3 2-3 2-3 2-3 2-3 1-3 0600 2000
-
If the interest rate on debt is lower than ROA, then a firm will Valitse yksi: a. increase ROE b. not change ROE c. none of these is correct d. decrease ROE e. change the ROE in an indeterminable...
-
Peter Billington Stereo, Inc., supplies car radios to auto manufacturers and is going to open a new plant. The company is undecided between Detroit and Dallas as the site. The fixed costs in Dallas...
-
Are the stakeholders for sustainability reporting different from the stakeholders for traditional financial reporting? If you think they are, identify the different groups and explain their...
-
A double acting, single cylinder, reciprocating air compressor has a piston displacement of \(0.014 \mathrm{~m}^{3}\) per revolution, operates at \(600 \mathrm{rpm}\) and has a \(4 \%\) clearance....
-
Selected columns of Envirocon Companys payroll register for March are as follows. The employers Social Security tax amount has already been calculated as $ 3,124.34. The employees FICA Medicare tax...
-
Barco Kyan Company Company Barco Company Kyan Company Data from the current year-end balance sheets Assets Cash $18,500 $ 32,000 Accounts receivable, net 36,400 Merchandise inventory 84,940 Prepaid...
-
Unexpected Indent /2 In Python, we increase the indentation level of our code to define a new block for statements like def. Indentation is expected to be consistent. The code below uses inconsistent...
-
A certain beach has 400 yards of sand, but erosion is decreasing it by 30% each year. Which expression represents the amount of beach as a function of time? Use the formula A(t)=a(1+-r)^(t).
-
Who are the key customers of financial institutions? Who are net suppliers, and who are net demanders of funds?
-
Francesco Giovannis business partner, Pepino, has proposed that they invest in a coffee shop. This investment costs 90,000 today and promises to pay 22,000, 25,000, 25,000, 20,000, and 18,000 over...
-
Explain why low- cost airlines often operate a single fleet type whereas full- service network carriers use several different aircraft types.
-
One year ago, your company purchased a machine used in manufacturing for $90,000. You have learned that a new machine is available that offers many advantages; you can purchase it for $150,000 today....
-
Eastern Trading Company has a pretax trading profit of 250,000. Britain has a flat corporation tax rate of 19% on trading profits while Ireland has a flat rate of 12.5% on trading profits. As Britain...
-
DeeDee added a one-year warranty to one of her computer games this year. The total cost of warranty service on 2017 sales is estimated to be $10,122. During 2017, $4,750 was reimbursed to customers...
-
What is your assessment of the negotiations process, given what you have studied? What are your recommendations for Mr. Reed? You must justify your conclusions
-
For each of the matrices in Exercise 2: (a) Determine the rank. (b) Find the closest (with respect to the Frobenius norm) matrix of rank 1. Exercise 2 (a) (b) (c) 2 2 1300 0120 2000
-
If Q is an n x n orthogonal matrix and x and y are nonzero vectors in Rn, then how does the angle between Qx and Qy compare to the angle between x and y? Prove your answer.
-
Given the following table of data points find the best least squares fit by a linear function f(x) = c1 + c2x. x- 1 2
-
Instead of the Bell-CHSH inequality in the text, consider an inequality obtained in the same way from \(\tilde{M}=\left(A+A^{\prime} ight) B^{\prime}+\left(A-A^{\prime} ight) B\) instead of \(M\). Is...
-
Find an example of (angles corresponding to) another violation of the Bell-CHSH inequality by quantum mechanics, which is not maximal but is more generic.
-
In quantum cosmology, one can define a "wave function of the Universe" \(\Psi[a(t)]\), whose variable is the expanding scale factor of the Universe, \(a(t)\), and which satisfies a general relativity...
Study smarter with the SolutionInn App