systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Dusenberry <dusenberr...@gmail.com>
Subject Re: DML example on main SystemML website
Date Thu, 17 Dec 2015 08:02:28 GMT
I think the NMF algorithm will be a great example to display to users. It's
concise, still displays several aspects of the DML language, and is a
useful ML algorithm. I also think Shirish's idea of a DML "cookbook" would
be great. For the later, I would suggest that we keep the documentation
simple by focusing mostly on just the code snippets, with corresponding
labels for each.


- Mike

On Wed, Dec 16, 2015 at 11:20 PM Matthias Boehm <mboehm@us.ibm.com> wrote:

> please include the computation of the objective function (for convergence
> checks or at least print outs). Thanks.
>
> while( iter < max_iterations ){
> iter = iter + 1;
> H = (H * (t(W) %*% (V/(W%*%H))))/t(colSums(W));
> W = (W * ((V/(W%*%H)) %*% t(H)))/t(rowSums(H));
> obj = as.scalar(colSums(W)%*%rowSums(H)) -sum(V * log(W%*%H));
> print("ITER=" + iter + " obj=" + obj);
> }
>
> Regards,
> Matthias
>
> [image: Inactive hide details for Frederick R Reiss---12/17/2015 01:41:00
> AM---We can use the Poisson nonnegative matrix factorization]Frederick R
> Reiss---12/17/2015 01:41:00 AM---We can use the Poisson nonnegative matrix
> factorization example from last week's webcast:
>
> From: Frederick R Reiss/Almaden/IBM@IBMUS
> To: dev@systemml.incubator.apache.org
> Date: 12/17/2015 01:41 AM
> Subject: Re: DML example on main SystemML website
> ------------------------------
>
>
>
> We can use the Poisson nonnegative matrix factorization example from last
> week's webcast:
>
>    i = 0
>       while(i < max_iterations) {
>          H = (H * (t(W) %*% (V/(W%*%H + epsilon)))) / t(colSums(W))
>          W = (W * ((V/(W%*%H) + epsilon) %*% t(H))) / t(rowSums(H))
>          i = i + 1;
>       }
>
>
> Sound ok to everyone?
>
> Fred
>
>
> Deron Eriksson ---12/16/2015 04:02:26 PM---Hi, I think the main SystemML
> website at *http://systemml.incubator.apache.org/*
> <http://systemml.incubator.apache.org/>
>
> From: Deron Eriksson <deroneriksson@gmail.com>
> To: dev@systemml.incubator.apache.org
> Date: 12/16/2015 04:02 PM
> Subject: DML example on main SystemML website
> ------------------------------
>
>
>
> Hi,
>
> I think the main SystemML website at
> *http://systemml.incubator.apache.org/*
> <http://systemml.incubator.apache.org/>
> needs to be updated so that the DML example is an actual algorithm or at
> least a fragment of an algorithm.
>
> Does anyone have a recommendation for a short, concise example that shows
> the power of DML?
>
> Thanks!
> Deron
>
>
> --
Mike Dusenberry
GitHub: github.com/dusenberrymw
LinkedIn: linkedin.com/in/mikedusenberry

Sent from my iPhone

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message