InferenceResult

class persalys.InferenceResult(*args)

Get the results of an inference analysis.

Methods

getClassName()

Accessor to the object's name.

getElapsedTime()

Elapsed time in seconds to perform the analysis.

getFittingTestResultCollection()

Sequence of fitting test results accessor.

getFittingTestResultForVariable(variableName)

Get the fitting test result of a variable.

getName()

Accessor to the object's name.

getOriginalSampleSize()

original sample size accessor

hasName()

Test if the object is named.

setName(name)

Accessor to the object's name.

Notes

Structure created by the method run() of InferenceAnalysis, and obtained thanks to the method getResult().

__init__(*args)
getClassName()

Accessor to the object’s name.

Returns:
class_namestr

The object class name (object.__class__.__name__).

getElapsedTime()

Elapsed time in seconds to perform the analysis.

Returns:
timedouble

Elapsed time in seconds to perform the analysis

getFittingTestResultCollection()

Sequence of fitting test results accessor.

Returns:
resultssequence of FittingTestResult

The fitting test results of all the variables

getFittingTestResultForVariable(variableName)

Get the fitting test result of a variable.

Parameters:
variablestr

Name of the variable

Returns:
resultFittingTestResult

The fitting test result of the variable

getName()

Accessor to the object’s name.

Returns:
namestr

The name of the object.

getOriginalSampleSize()

original sample size accessor

Returns:
originalSampleSizeint

The size of the data sample

hasName()

Test if the object is named.

Returns:
hasNamebool

True if the name is not empty.

setName(name)

Accessor to the object’s name.

Parameters:
namestr

The name of the object.