The file Lab 9 - Real Estate Data.csv contains real estate transaction data from 2014 - 2015. There are 21,597 tuples of data, with each attribute described in the file. The task is to determine a multi-linear regression relationship of the form, x1 + x2 · Bedrooms…
The file Lab 9 - Real Estate Data.csv contains real estate transaction data from 2014 - 2015. There are 21,597 tuples of data, with each attribute described in the file. The task is to determine a multi-linear regression relationship of the form, x1 + x2 · Bedrooms…
The goal of this assignment is to generalize your solution to lab 7. We restrict ourselves to graphs on 5 vertices, labeled x1, x2, x3, x4, x5. We form a directed graph on x1, x2, x3, x4, x5 by having all possible edges xixj . Make an .m file that takes as an input…
The goal of this assignment is to generalize your solution to lab 7. We restrict ourselves to graphs on 5 vertices, labeled x1, x2, x3, x4, x5. We form a directed graph on x1, x2, x3, x4, x5 by having all possible edges xixj . Make an .m file that takes as an input…
The goal of this assignment is write an algorithm that can check if a matrix is diagonalizable over the real numbers, and if so, give an orthonormal basis of eigenvectors for the image of a square matrix. Complete the following steps: Step 1. Calculate the…
The goal of this assignment is write an algorithm that can check if a matrix is diagonalizable over the real numbers, and if so, give an orthonormal basis of eigenvectors for the image of a square matrix. Complete the following steps: Step 1. Calculate the…
We develop MATLAB functions to solve upper and lower triangular systems and then solve a more general system with LU factorization. Activities 1. Suppose we have a 4 × 4 upper triangular system Ax = b as below: A = −5 5 0 −2 0 6 5…
We develop MATLAB functions to solve upper and lower triangular systems and then solve a more general system with LU factorization. Activities 1. Suppose we have a 4 × 4 upper triangular system Ax = b as below: A = −5 5 0 −2 0 6 5…
Write a function myLU to perform the LU factorization for an arbitrary n×n matrix (under the assumption that elimination can be performed without row exchanges). Run the function on the input, A = 1 2 7 1 8 2 8 3 7 22 11 26 14 28 2 5 16 15 27 12 24 8 22…
Write a function myLU to perform the LU factorization for an arbitrary n×n matrix (under the assumption that elimination can be performed without row exchanges). Run the function on the input, A = 1 2 7 1 8 2 8 3 7 22 11 26 14 28 2 5 16 15 27 12 24 8 22…
(1) Generate M a 3 × 3 real matrix with random entries ranging from 0 to 1. Compute M\b where b = 1 3 7 . Do this 100 times. Is there always a solution? Why do you think this is? (2) Set up the system of equations to solve the following magic matrix. Use…
(1) Generate M a 3 × 3 real matrix with random entries ranging from 0 to 1. Compute M\b where b = 1 3 7 . Do this 100 times. Is there always a solution? Why do you think this is? (2) Set up the system of equations to solve the following magic matrix. Use…
The binomial coefficient n k (read ”n choose k”) is defined as n k = n! (n − k)!k! where ! is the factorial symbol, (e.g., 4! = 4*3*2*1 = 24, 0! = 1! = 1) and n and k are non-negative integers with n > k. (1) Write a function called mybinomial.m that calculates n…
The binomial coefficient n k (read ”n choose k”) is defined as n k = n! (n − k)!k! where ! is the factorial symbol, (e.g., 4! = 4*3*2*1 = 24, 0! = 1! = 1) and n and k are non-negative integers with n > k. (1) Write a function called mybinomial.m that calculates n…
(1) Write a function called calculate Grades that takes an arbitrary length vector of grades, then curves them. (a) Compute the mean of grades (use for loop, not the built-in function mean()) (b) Normalize grades so that the mean is 70 by doing the following:…
(1) Write a function called calculate Grades that takes an arbitrary length vector of grades, then curves them. (a) Compute the mean of grades (use for loop, not the built-in function mean()) (b) Normalize grades so that the mean is 70 by doing the following:…
(1) For the following problems start a diary and turn in the print out as well as the plot. (2) Let A = 8 1 6 3 5 7 4 9 2 B = 2 7 6 9 5 1 4 3 8 (a) Calculate AB. (b) Calculate A times B componentwise.
(1) For the following problems start a diary and turn in the print out as well as the plot. (2) Let A = 8 1 6 3 5 7 4 9 2 B = 2 7 6 9 5 1 4 3 8 (a) Calculate AB. (b) Calculate A times B componentwise.
Overview In this assignment you will be implementing an algorithm to reconstruct a 3D point cloud from a pair of images taken at different angles. In Part I you will answer theory questions about 3D reconstruction. In…
Overview In this assignment you will be implementing an algorithm to reconstruct a 3D point cloud from a pair of images taken at different angles. In Part I you will answer theory questions about 3D reconstruction. In…
Overview In this assignment, you will be implementing a panorama application step by step using planar homographies. Before we step into the implementation, we will walk you through the theory of…
Overview In this assignment, you will be implementing a panorama application step by step using planar homographies. Before we step into the implementation, we will walk you through the theory of…
Overview The bag-of-words (BoW) approach, which you learned about in class, has been applied to a myriad of recognition problems in computer vision. For example, two classic ones are object…
Overview The bag-of-words (BoW) approach, which you learned about in class, has been applied to a myriad of recognition problems in computer vision. For example, two classic ones are object…
Overview Figure 1: You will implement (1) a multi-layer perceptron (neural network) and (2) convolutiona neural network to recognize hand-written digit using the MNIST dataset. The goal of this assignment is to implement neural…
Overview Figure 1: You will implement (1) a multi-layer perceptron (neural network) and (2) convolutiona neural network to recognize hand-written digit using the MNIST dataset. The goal of this assignment is to implement neural…
Overview Figure 1: You will design a visual recognition system to classify the scene categories. The goal of this assignment is to build a set of visual recognition systems that classify scene categories. The scene classification dataset…
Overview Figure 1: You will design a visual recognition system to classify the scene categories. The goal of this assignment is to build a set of visual recognition systems that classify scene categories. The scene classification dataset…
SIFT Feature Extraction (a) Image (b) SIFT Figure 1: Given an image (a), you will extract SIFT features using OpenCV. One of the key skills to learn in computer vision (and software development in general) is the ability to use other, open-source…
SIFT Feature Extraction (a) Image (b) SIFT Figure 1: Given an image (a), you will extract SIFT features using OpenCV. One of the key skills to learn in computer vision (and software development in general) is the ability to use other, open-source…
HOG Figure 1: Histogram of oriented gradients. HOG feature is extracted and visualized for (a) the entire image and (b) zoomed-in image. The orientation and magnitude of the red lines represent the gradient components in…
HOG Figure 1: Histogram of oriented gradients. HOG feature is extracted and visualized for (a) the entire image and (b) zoomed-in image. The orientation and magnitude of the red lines represent the gradient components in…
Project Purpose Implement the two classes described below. Both classes must be added to the csce240_programming_assignment_5 namespace. NOTE: The only standard library includes allowed for this project are: iostream and string. You must…
Project Purpose Implement the two classes described below. Both classes must be added to the csce240_programming_assignment_5 namespace. NOTE: The only standard library includes allowed for this project are: iostream and string. You must…
Purpose – Implement the following two classes Weight Create a Weight class that holds the value and units of a weight in private double and string data members, respectively. The class should allow for the units to be ounces, pounds, grams,…
Purpose – Implement the following two classes Weight Create a Weight class that holds the value and units of a weight in private double and string data members, respectively. The class should allow for the units to be ounces, pounds, grams,…
Purpose Write, test, and use the four functions described below to read a text file containing a word search grid, display the grid, and find words within the grid. Functions Function 1 – ReadWordSearch Implement the ReadWordSearch…
Purpose Write, test, and use the four functions described below to read a text file containing a word search grid, display the grid, and find words within the grid. Functions Function 1 – ReadWordSearch Implement the ReadWordSearch…
Program Purpose – Implement the functions described below IsSquare – Function that takes an integer argument and returns whether or not the argument is a perfect square (is equal to an integer squared). For example, IsSquare(4) should return…
Program Purpose – Implement the functions described below IsSquare – Function that takes an integer argument and returns whether or not the argument is a perfect square (is equal to an integer squared). For example, IsSquare(4) should return…
Program Purpose – Convert numeric values expressed in bases between 2 and 9, inclusive, to the base 10 equivalents of those values. The program will output the base 10 values, the number of values input, and the largest value input. Overview…
Program Purpose – Convert numeric values expressed in bases between 2 and 9, inclusive, to the base 10 equivalents of those values. The program will output the base 10 values, the number of values input, and the largest value input. Overview…
As we discussed in class, photometric stereo is a computational imaging method to determine the shape of an object from its appearance under a set of lighting directions. In the course of this homework, we will solve a simplified version of the…
As we discussed in class, photometric stereo is a computational imaging method to determine the shape of an object from its appearance under a set of lighting directions. In the course of this homework, we will solve a simplified version of the…
Theory Q1.1 Theory Prove that softmax is invariant to translation, that is sof tmax(x) = sof tmax(x + c) 8c 2 R. Softmax is defined as below, for each index i in a vector x. sof tmax(xi) = exi P j exj…
Theory Q1.1 Theory Prove that softmax is invariant to translation, that is sof tmax(x) = sof tmax(x + c) 8c 2 R. Softmax is defined as below, for each index i in a vector x. sof tmax(xi) = exi P j exj…
In this assignment, you will be implementing an algorithm to reconstruct a 3D point cloud from a pair of images taken at different angles. In Part I you will answer theory questions about 3D reconstruction. In Part II…
In this assignment, you will be implementing an algorithm to reconstruct a 3D point cloud from a pair of images taken at different angles. In Part I you will answer theory questions about 3D reconstruction. In Part II…
1 Lucas-Kanade Tracking In this section you will be implementing a simple Lucas & Kanade tracker with one single template. In the scenario of two-dimensional tracking with a pure translation warp function, W(x; p)…
1 Lucas-Kanade Tracking In this section you will be implementing a simple Lucas & Kanade tracker with one single template. In the scenario of two-dimensional tracking with a pure translation warp function, W(x; p)…