dragon.matrix.factorize
Class AbstractFactorization

java.lang.Object
  |
  +--dragon.matrix.factorize.AbstractFactorization
All Implemented Interfaces:
Factorization
Direct Known Subclasses:
NMF, SVD

public abstract class AbstractFactorization
extends java.lang.Object
implements Factorization

Abstract class for matrix factorization

Copyright: Copyright (c) 2005

Company: IST, Drexel University

Version:
1.0
Author:
Davis Zhou

Field Summary
static double SMALL_QUANTITY
           
 
Constructor Summary
AbstractFactorization()
           
 
Method Summary
protected  DoubleDenseMatrix genPositiveMatrix(int x, int y)
           
protected  void normalizeColumn(DoubleDenseMatrix a)
           
protected  void product(DoubleDenseMatrix a, DoubleDenseMatrix b, DoubleDenseMatrix c)
           
protected  void product(SparseMatrix a, DoubleDenseMatrix b, DoubleDenseMatrix c)
           
protected  void transpose(DoubleDenseMatrix a, DoubleDenseMatrix at)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface dragon.matrix.factorize.Factorization
factorize, getLeftMatrix, getMiddleMatrix, getRightMatrix
 

Field Detail

SMALL_QUANTITY

public static final double SMALL_QUANTITY
See Also:
Constant Field Values
Constructor Detail

AbstractFactorization

public AbstractFactorization()
Method Detail

genPositiveMatrix

protected DoubleDenseMatrix genPositiveMatrix(int x,
                                              int y)

product

protected void product(DoubleDenseMatrix a,
                       DoubleDenseMatrix b,
                       DoubleDenseMatrix c)

product

protected void product(SparseMatrix a,
                       DoubleDenseMatrix b,
                       DoubleDenseMatrix c)

transpose

protected void transpose(DoubleDenseMatrix a,
                         DoubleDenseMatrix at)

normalizeColumn

protected void normalizeColumn(DoubleDenseMatrix a)