Skip to content

Commit

Permalink
Merge pull request #276 from LucLapenta/master
Browse files Browse the repository at this point in the history
Updated documentation reference code on tuning a linearGAM model
  • Loading branch information
dswah authored Jul 15, 2020
2 parents 2323eb7 + 5e2f21f commit 001ffbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/source/notebooks/quick_start.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@
"outputs": [],
"source": [
"lams = np.random.rand(100, 3) # random points on [0, 1], with shape (100, 3)\n",
"lams = lams * 8 - 3 # shift values to -3, 3\n",
"lams = np.exp(lams) # transforms values to 1e-3, 1e3"
"lams = lams * 6 - 3 # shift values to -3, 3\n",
"lams = 10 ** lams # transforms values to 1e-3, 1e3"
]
},
{
Expand Down Expand Up @@ -529,4 +529,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}

0 comments on commit 001ffbf

Please sign in to comment.