Publications by James Naval
JNaval_DATA605_HW4
With the attached data file, build and visualize eigenimagery that accounts for 80% of the variability. Provide full R code and discussion. Load Image This step I will load the provided jpeg images with readjpeg from R function. files = list.files(path = "./jpg", full.names = T) height = 1200 width = 2500 scale = 20 images = array(rep(0,l...
776 sym 2 img
JNaval_HW4_DATA605
Exercise C16 Page 349 C16 Find the Matrix Representation of T: \(C^3 -> C^4\), \[T( \begin{bmatrix} x \\ y \\ z \\ \end{bmatrix}) = \begin{bmatrix} 3x & + & 2y & + & z \\ x & + & y & + & z \\ x & - & 3y \\ 2x & + & 3y & + & z \\ \end{bmatrix} => \begin{bmatrix} 3x \\ x \\ x \\ 2x \\ \end{bmatrix} + \begin{bmatrix} 2y \\ y...
889 sym 1 img
Assignment2 Update Create Table
Introduction For this assignment we were suppose to conduct a survey asking at least 5 people to rate the last 10 movies on a scale of 1-5. For this survey I asked 10 people which consist of some co-workers and friends to rate they most recent movies. After everyone complete the survey I record the result and upload. The results for the survey ...
1491 sym Python (2099 sym/10 pcs) 1 tbl
Publish Document
Introduction For this assignment we were suppose to conduct a survey asking at least 5 people to rate the last 10 movies on a scale of 1-5. For this survey I asked 10 people which consist of some co-workers and friends to rate they most recent movies. After everyone complete the survey I record the result and upload. The results for the survey ...
1491 sym Python (2099 sym/10 pcs) 1 tbl
Assignment3
Exercise 1 #1. Using the 173 majors listed in fivethirtyeight.com’s College Majors dataset [https://fivethirtyeight.com/features/the-economic-guide-to-picking-a-college-major/], provide code that identifies the majors that contain either “DATA” or “STATISTICS” x <- getURL('https://raw.githubusercontent.com/fivethirtyeight/data/master/c...
2803 sym
JNaval_HW3_DATA605
1.Problemset 1 What is the rank of the matrix A ? \[ A = \begin{bmatrix} 1 & 2 & 3 & 4 \\ -1 & 0 & 1 & 3 \\ 0 & 1 & -2 & 1 \\ 5 & 4 & -2 & -3 \\ \end{bmatrix} \] library(pracma) ## Warning: package 'pracma' was built under R version 4.3.2 A <- matrix(c(1,-1,0,5,2,0,1,4,3,1,-2,-2,4,3,1,-3),4,4) rref(A) ## [,1] [,2] [,3] [,4] ...
3834 sym R (439 sym/6 pcs)
Data605_Discussion_Week_3
library(Matrix) ## Warning: package 'Matrix' was built under R version 4.3.2 A <- matrix(c(-1, 2, -6, 6), nrow = 2, byrow = TRUE) eigen(A) ## eigen() decomposition ## $values ## [1] 3 2 ## ## $vectors ## [,1] [,2] ## [1,] -0.4472136 -0.5547002 ## [2,] -0.8944272 -0.8320503...
8 sym R (298 sym/4 pcs) 1 img
DATA607_Week2_HW2
Introduction For this assignment we were suppose to conduct a survey asking at least 5 people to rate the last 10 movies on a scale of 1-5. For this survey I asked 10 people which consist of some co-workers and friends to rate they most recent movies. After everyone complete the survey I record the result and upload. The results for the survey ...
1491 sym Python (2099 sym/10 pcs) 1 tbl
DATA607_Week1_HW1
Introduction The article I chose from all the selection is Do Pulitzers Help Newspapers Keep Readers? The article talked about the economic challenges that newspaper is facing and wanted to see whether there was any relationship between the Pulitzer Prizes and a newspaper’s commercial success. The Pulitzers was concern about consumers gravit...
1320 sym
HW2
1. Problem Set 1 For a special type of square matrix \(A\), we get \(A^TA = AA^T\) Under what conditions could this be true? (Hint: The Identity matrix I is an example of such a matrix). In general such matrices are called normal matrices by a unitary matrix, i.e. they can be expressed in the form \(A = U^{-1} D U\), where \(U U^{-1} = I\) ...
3134 sym 1 img