Skip to content

Arguments usage for general models such as AgeReplacementModel or regressions #51

@Nathan-Herzhaft

Description

@Nathan-Herzhaft

The dynamic use of arguments like ar, a0 and covar make usage quite simple when chaining models. However, things get more complicated for new features developments because these attributes are hidden in params tuple arguments and are difficult to access.

General methods for models that might have an ar in the params or not are complicated beacause of this choice of implementation. Examples with the implem of sample for stochastic processes, or rvs with LeftTruncated + AgeReplacement.

We should think of a better way to make these optional arguments accessible, maybe dicts or other data structures to access them in an optional_arguments param.

Additionaly, covars present even more difficulty with a geometric shape that can vary depending on the number of assets, methods etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions