Package cc.mallet.optimize.tests
Class TestOptimizer
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- 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
Constructors Constructor Description TestOptimizer(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
-
-
-
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)
-
-