ICP 3 - PavankumarManchala/BigDataProgrammingICPs GitHub Wiki

Submitted by: Pavankumar Manchala

Introducion:

Matrix Multiplication:

In mathematics, matrix multiplication or the matrix product is a binary operation that produces a matrix from two matrices. The definition is motivated by linear equations and linear transformations on vectors, which have numerous applications in applied mathematics, physics, and engineering. In more detail, if A is an n × m matrix and B is an m × p matrix, their matrix product AB is an n × p matrix, in which the m entries across a row of A are multiplied with the m entries down a column of B and summed to produce an entry of AB. When two linear transformations are represented by matrices, then the matrix product represents the composition of the two transformations.

In Class Exercise:

Suppose we have a i x j matrix M, whose element in row i and column j will be denoted and a j x k matrix N whose element in row j and column k is donated by then the product P = MN will be i x k matrix P whose element in row i and column k.

Create a Map-Reduce Program to perform the task of matrix multiplication.

The commands to put the input matrices, matrix multiplication jar files to hadoop and perform matrix multiplication.

Inputs and Outputs. Input Matrix-1:

Input Matrix-2:

Input matrix folder in Hue:

Matrix multiplication output:

ICP3 video explanation: https://drive.google.com/open?id=18MvfGpaC0h5V4O7SG5gVEU6xLZKrB9qk

All ICPs videos link: https://drive.google.com/open?id=1racqWkfI10T-CpLYEDYCvJRSRhhLGsWL