Skip to main content
Ctrl+K

pyGAM

  • Quick Start
  • A Tour of pyGAM
  • API Reference
  • PyPI
  • GitHub
  • Quick Start
  • A Tour of pyGAM
  • API Reference
  • PyPI
  • GitHub

Section Navigation

  • pygam.pygam
    • ExpectileGAM
    • GAM
    • GammaGAM
    • InvGaussGAM
    • LinearGAM
    • LogisticGAM
    • PoissonGAM
  • pygam.terms
    • f
    • l
    • s
    • te
    • FactorTerm
    • Intercept
    • LinearTerm
    • MetaTermMixin
    • SplineTerm
    • TensorTerm
    • Term
    • TermList
  • pygam.distributions
    • divide_weights
    • multiply_weights
    • BinomialDist
    • Distribution
    • GammaDist
    • InvGaussDist
    • NormalDist
    • PoissonDist
  • pygam.links
    • IdentityLink
    • InvSquaredLink
    • InverseLink
    • Link
    • LogLink
    • LogitLink
  • pygam.penalties
    • concave
    • convex
    • convexity_
    • derivative
    • l2
    • monotonic_dec
    • monotonic_inc
    • monotonicity_
    • none
    • periodic
    • sparse_diff
    • wrap_penalty
  • pygam.callbacks
    • validate_callback
    • validate_callback_data
    • Accuracy
    • CallBack
    • Coef
    • Deviance
    • Diffs
  • API Reference
  • pygam.links
  • Link

Link#

class pygam.links.Link(name=None)[source]#

Bases: Core

Creates an instance of a Link object.

Parameters:
namestr, default: None

Methods

get_params([deep])

Returns a dict of all of the object's user-facing parameters.

set_params([deep, force])

Sets an object's parameters.

get_params(deep=False)[source]#

Returns a dict of all of the object’s user-facing parameters.

Parameters:
deepboolean, default: False

when True, also gets non-user-facing parameters

Returns:
dict
set_params(deep=False, force=False, **parameters)[source]#

Sets an object’s parameters.

Parameters:
deepboolean, default: False

when True, also sets non-user-facing parameters

forceboolean, default: False

when True, also sets parameters that the object does not already have

**parametersparameters to set
Returns:
self

previous

InverseLink

next

LogLink

On this page
  • Link
    • Link.get_params()
    • Link.set_params()
Edit on GitHub

This Page

  • Show Source

© Copyright 2025 pyGAM Developers.

🌿🐛 Found a bug? Have an idea? Please submit it