cc.mallet.optimize.tests
Class TestOptimizer

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by cc.mallet.optimize.tests.TestOptimizer
All Implemented Interfaces:
junit.framework.Test

public class TestOptimizer
extends junit.framework.TestCase

Unit Test for class TestMaximizer.java Created: Mon Apr 26 19:54:25 2004

Version:
$Id: TestMaximizer.java,v 1.1 2007/10/22 21:37:49 mccallum Exp $
Author:
Charles Sutton

Constructor Summary
TestOptimizer(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.TestSuite suite()
           
 void testConjugateGradient()
           
 void testGradientAscent()
           
 void testLinearLBFGS()
           
 void testOrthantWiseLBFGSWithL1()
           
 void testOrthantWiseLBFGSWithoutL1()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestOptimizer

public TestOptimizer(java.lang.String name)
Method Detail

testGradientAscent

public void testGradientAscent()

testLinearLBFGS

public void testLinearLBFGS()

testOrthantWiseLBFGSWithoutL1

public void testOrthantWiseLBFGSWithoutL1()

testOrthantWiseLBFGSWithL1

public void testOrthantWiseLBFGSWithL1()

testConjugateGradient

public void testConjugateGradient()

suite

public static junit.framework.TestSuite suite()
Returns:
a TestSuite

main

public static void main(java.lang.String[] args)