Skip to content

Commit

Permalink
add docs for cp basis
Browse files Browse the repository at this point in the history
  • Loading branch information
dswah committed Oct 31, 2018
1 parent b708677 commit 0b2002b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pygam/terms.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,10 @@ def __init__(self, feature, n_splines=20, spline_order=3, lam=0.6,
in the case that `spline_basis="cp"`, `edge_knots` determines
the period of the cyclic function.
when `edge_knots=None` these values are inferred from the data.
default: None
by : int, optional
Feature to use as a by-variable in the term.
Expand Down

0 comments on commit 0b2002b

Please sign in to comment.