Module modelmage :: Module discriminator :: Class Discriminator
[hide private]
[frames] | no frames]

Class Discriminator

source code

Provides functions for comparison and output of copasi result files.

Instance Methods [hide private]
 
__init__(self, ResultCopasi) source code
str/bool
_getObjectiveValue(self, result)
Looks up the objective value in a Copasi result file and returns it.
source code
 
_getLastResult(self, file) source code
 
_getNumberOfParameters(self, result) source code
 
_getNumberOfObservations(self, result) source code
 
AIC(self, rss, k, n)
Calculates the Akaike information coefficient to get a better ranking for the models.
source code
 
AICc(self, aic, n, k) source code
None
getRanking(self)
Prints a table of the files in './ResultCopasiFiles' and their objective values.
source code
Method Details [hide private]

__init__(self, ResultCopasi)
(Constructor)

source code 
Parameters:
  • ResultCopasi (str) - path to the created copasifile

    to get the parameter estimation result file at the right place

_getObjectiveValue(self, result)

source code 

Looks up the objective value in a Copasi result file and returns it.

Parameters:
  • result (str) - path to the result file
Returns: str/bool
returns the value if it is found, otherwise returns False

getRanking(self)

source code 

Prints a table of the files in './ResultCopasiFiles' and their objective values.

'# Model Objective Value'

Returns: None
none