cc.mallet.fst.tests
Class TestMEMM
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
cc.mallet.fst.tests.TestMEMM
- All Implemented Interfaces:
- junit.framework.Test
public class TestMEMM
- extends junit.framework.TestCase
Tests for MEMM training.
- Author:
- Andrew McCallum mccallum@cs.umass.edu
Field Summary |
static java.lang.String[] |
data
|
Constructor Summary |
TestMEMM(java.lang.String name)
|
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 |
data
public static final java.lang.String[] data
TestMEMM
public TestMEMM(java.lang.String name)
testGetSetParameters
public void testGetSetParameters()
testSpaceMaximizable
public void testSpaceMaximizable()
testSpaceSerializable
public void testSpaceSerializable()
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
disabledtestCost
public void disabledtestCost(int useSave)
testIncrement
public void testIncrement()
doTestSpacePrediction
public void doTestSpacePrediction(boolean testValueAndGradient)
doTestSpacePrediction
public void doTestSpacePrediction(boolean testValueAndGradient,
boolean useSaved,
boolean useSparseWeights)
makeSpacePredictionPipe
public static Pipe makeSpacePredictionPipe()
disabledtestAddOrderNStates
public void disabledtestAddOrderNStates()
disabledtestValueGradient
public void disabledtestValueGradient()
disabledtestTrain
public void disabledtestTrain()
disabledtestDenseTrain
public void disabledtestDenseTrain()
disabledtestSerialization
public void disabledtestSerialization()
disabledtestDenseSerialization
public void disabledtestDenseSerialization()
disabledtestPrint
public void disabledtestPrint()
suite
public static junit.framework.Test suite()
main
public static void main(java.lang.String[] args)