Skip to content

Commit

Permalink
Tschm patch 1 (#23)
Browse files Browse the repository at this point in the history
* Update test_sample.py

* check error is raised

* notebooks simplified
  • Loading branch information
tschm authored Jun 14, 2023
1 parent 1b0edb0 commit 7d63714
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions book/docs/notebooks/factormodel.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"import cvxpy as cvx\n",
"\n",
"from cvx.risk.factor.linalg.pca import pca as principal_components\n",
"from cvx.risk.factor.timeseries import TimeseriesFactorRiskModel\n",
"from cvx.risk.factor.fundamental import FundamentalFactorRiskModel\n",
"from cvx.risk.sample.sample import SampleCovariance_Product, SampleCovariance"
"from cvx.risk.factor import TimeseriesFactorRiskModel\n",
"from cvx.risk.factor import FundamentalFactorRiskModel\n",
"from cvx.risk.sample import SampleCovariance_Product, SampleCovariance"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion book/docs/notebooks/large.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"import numpy as np\n",
"import cvxpy as cvx\n",
"\n",
"from cvx.risk.factor.timeseries import TimeseriesFactorRiskModel\n",
"from cvx.risk.factor import TimeseriesFactorRiskModel\n",
"from util.random import random_factors, random_beta, random_noise, random_assets"
]
},
Expand Down

0 comments on commit 7d63714

Please sign in to comment.