Module mixtureunittests
[hide private]
[frames] | no frames]

Module mixtureunittests

source code

Unittests for the Pymix package.

Classes [hide private]
  DataSetTests
Tests for class DataSet.
  FormatDataTests
Test functions for formatData
  NormalDistributionTests
Tests for class NormalDistribution
  MultiNormalDistributionTests
  DiscreteDistributionTests
Tests for class DiscreteDistribution.
  DirichletPriorTests
Tests for class DirichletPrior.
  NormalGammaPriorTests
Tests for class NormalGammaPrior.
  DirichletMixturePriorTests
Tests for class DirichletMixturePrior.
  ProductDistributionPriorTests
Tests for class ProductDistributionPrior.
  MixtureModelPriorTests
Tests for class MixtureModelPrior.
  ProductDistributionTests
Tests for class ProductDistribution.
  MixtureModelPartialLearningTests
Tests for semi-supervised learning in classes LabeledMixtureModel and ConstrainedMixtureModel.
  BayesMixtureModelTests
Tests for class BayesMixtureModel.
  MixtureModelTests
Tests for class MixtureModel.
  ModelInitTests
Tests for function modelInitialization().
  ModelSelectionTests
Variables [hide private]
  suiteDataSetTests = <unittest.TestSuite tests=[<mixtureunittes...
  suiteMixtureModelTests = <unittest.TestSuite tests=[<mixtureun...
  suiteBayesMixtureModelTests = <unittest.TestSuite tests=[<mixt...
  suiteMixtureModelPriorTests = <unittest.TestSuite tests=[<mixt...
  suitePartialLearningTests = <unittest.TestSuite tests=[<mixtur...
  suiteModelInitTests = <unittest.TestSuite tests=[<mixtureunitt...
  suiteformatDataTests = <unittest.TestSuite tests=[<mixtureunit...
  suiteDirichletPriorTests = <unittest.TestSuite tests=[<mixture...
  suiteDirichletMixturePriorTests = <unittest.TestSuite tests=[<...
  suiteProductDistributionTests = <unittest.TestSuite tests=[<mi...
  runner = unittest.TextTestRunner(verbosity= 2)
Variables Details [hide private]

suiteDataSetTests

Value:
<unittest.TestSuite tests=[<mixtureunittests.DataSetTests testMethod=t\
estfromarray>, <mixtureunittests.DataSetTests testMethod=testfromlist>\
, <mixtureunittests.DataSetTests testMethod=testinternalinit>, <mixtur\
eunittests.DataSetTests testMethod=testremovefeatures>, <mixtureunitte\
sts.DataSetTests testMethod=testremovesamples>, <mixtureunittests.Data\
SetTests testMethod=testsimpledatasetdiscrete>, <mixtureunittests.Data\
SetTests testMethod=testsimpledatasetgaussian>]>

suiteMixtureModelTests

Value:
<unittest.TestSuite tests=[<mixtureunittests.MixtureModelTests testMet\
hod=testclassify>, <mixtureunittests.MixtureModelTests testMethod=test\
em>, <mixtureunittests.MixtureModelTests testMethod=testeq>, <mixtureu\
nittests.MixtureModelTests testMethod=testidentifiable>, <mixtureunitt\
ests.MixtureModelTests testMethod=testisvalid>, <mixtureunittests.Mixt\
ureModelTests testMethod=testmixgaussdisc>, <mixtureunittests.MixtureM\
odelTests testMethod=testmixmixgauss>, <mixtureunittests.MixtureModelT\
ests testMethod=testmixmixsimple>, <mixtureunittests.MixtureModelTests\
...

suiteBayesMixtureModelTests

Value:
<unittest.TestSuite tests=[<mixtureunittests.BayesMixtureModelTests te\
stMethod=testbayesmixrandmaxmapem>, <mixtureunittests.BayesMixtureMode\
lTests testMethod=testbayesmixturemapem>, <mixtureunittests.BayesMixtu\
reModelTests testMethod=testbayesnormgamma>, <mixtureunittests.BayesMi\
xtureModelTests testMethod=testbayesstructureem>, <mixtureunittests.Ba\
yesMixtureModelTests testMethod=testbayesupdatestructure>, <mixtureuni\
ttests.BayesMixtureModelTests testMethod=testcopy>, <mixtureunittests.\
BayesMixtureModelTests testMethod=testeq>, <mixtureunittests.BayesMixt\
...

suiteMixtureModelPriorTests

Value:
<unittest.TestSuite tests=[<mixtureunittests.MixtureModelPriorTests te\
stMethod=testcopy>, <mixtureunittests.MixtureModelPriorTests testMetho\
d=testeq>, <mixtureunittests.MixtureModelPriorTests testMethod=testisv\
alid>, <mixtureunittests.MixtureModelPriorTests testMethod=testpdf>]>

suitePartialLearningTests

Value:
<unittest.TestSuite tests=[<mixtureunittests.MixtureModelPartialLearni\
ngTests testMethod=testemconstraints>, <mixtureunittests.MixtureModelP\
artialLearningTests testMethod=testemfixlabels>]>

suiteModelInitTests

Value:
<unittest.TestSuite tests=[<mixtureunittests.ModelInitTests testMethod\
=testbayesmixturecomponentsproductatomar>, <mixtureunittests.ModelInit\
Tests testMethod=testbayesmixturecomponentsproductmixtures>, <mixtureu\
nittests.ModelInitTests testMethod=testmixturecomponentsproductatomar>\
, <mixtureunittests.ModelInitTests testMethod=testmixturecomponentspro\
ductmixtures>]>

suiteformatDataTests

Value:
<unittest.TestSuite tests=[<mixtureunittests.FormatDataTests testMetho\
d=testformatData>]>

suiteDirichletPriorTests

Value:
<unittest.TestSuite tests=[<mixtureunittests.DirichletPriorTests testM\
ethod=testcopy>, <mixtureunittests.DirichletPriorTests testMethod=test\
eq>, <mixtureunittests.DirichletPriorTests testMethod=testflatstr>, <m\
ixtureunittests.DirichletPriorTests testMethod=testmapmstep>, <mixture\
unittests.DirichletPriorTests testMethod=testmapmstepmerge>, <mixtureu\
nittests.DirichletPriorTests testMethod=testmarginal>, <mixtureunittes\
ts.DirichletPriorTests testMethod=testpdf>, <mixtureunittests.Dirichle\
tPriorTests testMethod=testposterior>]>

suiteDirichletMixturePriorTests

Value:
<unittest.TestSuite tests=[<mixtureunittests.DirichletMixturePriorTest\
s testMethod=testconsistencywithdirichletprior>, <mixtureunittests.Dir\
ichletMixturePriorTests testMethod=testeq>, <mixtureunittests.Dirichle\
tMixturePriorTests testMethod=testmapmstep>, <mixtureunittests.Dirichl\
etMixturePriorTests testMethod=testmapmstepmerge>, <mixtureunittests.D\
irichletMixturePriorTests testMethod=testpdf>, <mixtureunittests.Diric\
hletMixturePriorTests testMethod=testposterior>]>

suiteProductDistributionTests

Value:
<unittest.TestSuite tests=[<mixtureunittests.ProductDistributionTests \
testMethod=testisvalid>, <mixtureunittests.ProductDistributionTests te\
stMethod=testpdf>]>