hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-13) Scalar and Matrix Multiplication
Date Wed, 20 Apr 2016 09:29:25 GMT

    [ https://issues.apache.org/jira/browse/HAMA-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15249551#comment-15249551
] 

ASF GitHub Bot commented on HAMA-13:
------------------------------------

GitHub user edwardyoon opened a pull request:

    https://github.com/apache/incubator-horn/pull/15

    HAMA-13: Convert MNIST dataset into a sequence file

    This converts MNIST dataset into a sequence file for our framework. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/edwardyoon/incubator-horn master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-horn/pull/15.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15
    
----
commit 156968df33c5bcb1e8d76e78353674c8e4c78987
Author: Edward J. Yoon <edwardyoon@apache.org>
Date:   2016-04-20T06:45:57Z

    HAMA-13: Convert MNIST dataset into a sequence file

----


> Scalar and Matrix Multiplication 
> ---------------------------------
>
>                 Key: HAMA-13
>                 URL: https://issues.apache.org/jira/browse/HAMA-13
>             Project: Hama
>          Issue Type: Improvement
>          Components: math
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>         Attachments: HAMA-13.patch
>
>
> There are two types of multiplication for matrices: scalar multiplication and matrix
multiplication. Scalar multiplication is easy. You just take a number (called a "scalar")
and multiply it on every entry in the matrix. For example,
> For the following matrix A, find 2A :
> 2A = 2- {[a, b], [c, d]} = {[2- a, 2- b], [2- c, - d]}
> however, matrix multiplication is quite another story. We need to multiply the ROWS of
A by the COLUMNS of B. By this I mean that I first take the first row of A and the first column
of B, and we multiply the first entries, then the second entries, and then the third entries,
and then we add the three products. The sum is one entry in the product matrix AB.
> reference : http://carbon.cudenver.edu/csprojects/CSC5809S01/Simd/parmult.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message