Skip to content

make link argument in Family._setlink more flexible #28

Open

Description

@wesm

Original Launchpad bug 422327: https://bugs.launchpad.net/statsmodels/+bug/422327
Reported by: josef-pktd (joep).

setlink checks for class instance, both in general and for specific instances and raises a ValueError

if not isinstance(link, L.Link):
validlink = link in self.links

especially this includes the use of Power with different values (reported by PierreGM)

Proposal:

convert Exception to warning: since it's up to the user to decide which links to use, using the "wrong" links might not make much statistical sence but shouldn't break the functioning of the model.

make check for specific links by name attribute

allow for user specified links, not just links that are derived from the predefined links, e.g. extension to BoxCox transformation.

Activity

  1. josef-pkt commented on Oct 6, 2011

    @josef-pkt
    Member

    this looks still relevant, 2011-19-06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions