UpdatePopulationResults

UpdatePopulationResults

This is the results class of the UPMaBoSS API, used to get easy access to the results. This object is returned by the run() method of the UpdatePopulation class.

class maboss.upp.UpdatePopulationResults[source]
get_population_ratios(name=None)[source]
Returns the population ratios timeserie
Parameters:

name – Optional name for the pandas series object

Returns:

Pandas series object, with the population ratios according to time

get_stepwise_probability_distribution(nb_cores=1, include=None, exclude=None)[source]
Returns the stepwise probability distribution
Returns:

Pandas dataframe object, representing the probability distribution of the different states, as a timeserie

save(path)[source]
Saves the maboss model, the population ratios timeserie, and the probility distribution timeseries in the specified path
Parameters:

path – The location in which to save the results