Publications by Ariann Chai
Data 605 Assignment 4
knitr::opts_chunk$set(echo = TRUE) #libraries library(EBImage) library(jpeg) Problem Set 1 - eigenshoes With the attached data files, build and visualize eigenimagery that accounts for 80% of the variability. Provide full R code and discussion. Eigenimagery is the method of analyzing an image or set of images to recognize key features. The most co...
1172 sym R (2349 sym/14 pcs) 3 img
Data 605 Discussion Post 4
C30 p349 For the linear transformation T, compute the pre-images. \(\begin{equation} T: C^3\end{equation}\) –> \(\begin{equation}C^2, T\end{equation}\)(\(\begin{bmatrix}x1\\x2\\x3\end{bmatrix}\)) = \(\begin{bmatrix}2x1-x2+5x3\\-4x1+2x2-10x3\end{bmatrix}\) \(\begin{equation} T^-1 \end{equation}\)(\(\begin{bmatrix}2\\3\end{bmatrix}\)) \(\begin{equa...
1827 sym
Data 605 Discussion Post 3
C26 p306 For matrix A = \(\begin{bmatrix}2&1&1\\1&2&1\\1&1&2\end{bmatrix}\), the characteristic polynomial of A is pA(x) = (4 −x)(1 − x)^2. Find the eigenvalues and corresponding eigenspaces of A. Since they gave the characteristic polynomial, I can solve that to get the eigenvalues: (4 −x)(1 − x)^2 = pA(x) (4 −λ)(1 − λ)^2 = 0 4 − �...
2793 sym
Data 605 Discussion Post 3 reply
C11 p306 = det\(\begin{bmatrix}3-x&2&1\\0&1-x&1\\1&2&-x\end{bmatrix}\) Using the rule of Sarrus sarrus_3x3...
115 sym 1 img
Data 605 Discussion Post 2
M11 p278 Find a value of k so that the matrix A = 1 2 1 2 0 1 2 3 k has det(A) = 0, or explain why it is not possible. So first, I need to make the matrix. In R, the matrix will have to store all string values as we have the variable k. A <- matrix(c(1,2,2,2,0,3,1,1,'k'), nrow = 3, ncol = 3) A ## [,1] [,2] [,3] ## [1,] "1" "2" "1" ## [2,] "...
1062 sym
Data 605 Discussion Post 1
C30 p150 For the matrix A, find A^2, A^3, A^4. Find the general formula for A^n for any positive integer. So first, I need to make the matrix. A <- matrix(c(1,0,2,1), nrow = 2, ncol = 2) A ## [,1] [,2] ## [1,] 1 2 ## [2,] 0 1 Next, find A^2, A^3, A^4 A ** 2 ## [,1] [,2] ## [1,] 1 4 ## [2,] 0 1 A ** 3 ## [,1] [...
340 sym
Data 607 Final Project
Intro For my final project, I focused on manga, Japanese comic books or graphic novels. Every year, there are lots of manga that come out of Japan either brand-new or continuing from the years prior. While some manga succeed or stay succeeding, a lot of other manga are cancelled or left on hiatus early in its run. This could be due to poor writing ...
8397 sym 3 img
607_Assignment9
Introduction This assignment was to read in JSON data from one of NY Times APIs and turn into a dataframe. I decide to use the Article Search API to look up articles about Queen Elizabeth from the day of her death to the end of that year. The first step is to call the necessary libraries. library(dplyr) ## ## Attaching package: 'dplyr' ## The foll...
1385 sym R (36373 sym/19 pcs) 1 tbl
607 Project 2 World Population
Data 607 Project 2: World Population Dataset For this project, I will import three untidy datasets from our week 5 discussion board, tidy them, and analyze them. So first, I started by getting my libraries. library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The follow...
1463 sym R (5006 sym/17 pcs) 2 img
607 Project 2 Stock Market
Data 607 Project 2: Stock Market Dataset For this project, I will import three untidy datasets from our week 5 discussion board, tidy them, and analyze them. So first, I started by getting my libraries. library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following ...
3130 sym R (4854 sym/21 pcs) 3 img