Skip to content

Commit 4bf53ae

Browse files
committed
Update imports in iv_pymc notebook
Replaces import of LinearRegression from causalpy.skl_models with sklearn's LinearRegression and removes execution count from the first code cell.
1 parent 2d68170 commit 4bf53ae

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/source/notebooks/iv_pymc.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
{
1414
"cell_type": "code",
15-
"execution_count": 1,
15+
"execution_count": null,
1616
"metadata": {},
1717
"outputs": [],
1818
"source": [
@@ -21,11 +21,11 @@
2121
"import numpy as np\n",
2222
"import pandas as pd\n",
2323
"from matplotlib.lines import Line2D\n",
24+
"from sklearn.linear_model import LinearRegression as sk_lin_reg\n",
2425
"\n",
2526
"import causalpy as cp\n",
2627
"from causalpy import InstrumentalVariable\n",
27-
"from causalpy.pymc_models import InstrumentalVariableRegression\n",
28-
"from causalpy.skl_models import LinearRegression as sk_lin_reg"
28+
"from causalpy.pymc_models import InstrumentalVariableRegression"
2929
]
3030
},
3131
{

0 commit comments

Comments
 (0)