![]() |
|
Functions | |
| def | initParamsTable (keys, maxs, mins, num=100, threads=4, tableName='smcTable.txt') |
| def | writeToTable (tableName, table, dim, num, thread, keys) |
| def | getKeysAndData (fileName) |
| def | resampledParamsTable (keys, smcSamples, proposal, num=100, thread=4, maxNumComponents=10, priorWeight=1e3, tableName='smcTableNew.txt', verbose=False) |
| def | getGMMFromPosterior (smcSamples, posterior, priorWeight) |
| def | get_pool (mpi=False, threads=1) |
| def tools.get_pool | ( | mpi = False, |
|
threads = 1 |
|||
| ) |
Referenced by smc.smc.initialize().
| def tools.getGMMFromPosterior | ( | smcSamples, | |
| posterior, | |||
| priorWeight | |||
| ) |
References int(), and resample.residual_resample().
Referenced by smc.smc.trainGMMinTime().
| def tools.getKeysAndData | ( | fileName | ) |
References oomph::DoubleVectorHelpers.split().
Referenced by smc.smc.getDPMData(), and smc.smc.getObsDataFromFile().
| def tools.initParamsTable | ( | keys, | |
| maxs, | |||
| mins, | |||
num = 100, |
|||
threads = 4, |
|||
tableName = 'smcTable.txt' |
|||
| ) |
:param dim: type integer, number of parameters :param num: type integer, number of sampling points for Monte Carlo Simulation :param threads: type integer, number of thread for each parallel simulation :param maxs: type tuples, maximums ranges of parameters :param mins: type tuples, minimums ranges of parameters :param keys: type strings, names of parameters
References writeToTable().
Referenced by smc.smc.getInitParams().
| def tools.resampledParamsTable | ( | keys, | |
| smcSamples, | |||
| proposal, | |||
num = 100, |
|||
thread = 4, |
|||
maxNumComponents = 10, |
|||
priorWeight = 1e3, |
|||
tableName = 'smcTableNew.txt', |
|||
verbose = False |
|||
| ) |
References int(), max, Eigen::internal.print(), resample.unWeighted_resample(), and writeToTable().
Referenced by smc.smc.resampleParams().
| def tools.writeToTable | ( | tableName, | |
| table, | |||
| dim, | |||
| num, | |||
| thread, | |||
| keys | |||
| ) |
Referenced by initParamsTable(), and resampledParamsTable().