From f8707c5ce724802a01f9c0582482a2b041558490 Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Wed, 21 Jun 2023 08:48:23 -0700 Subject: [PATCH] rearranging stuff --- .gitignore | 2 + book/docs/notebooks/demo.ipynb | 8 +- book/docs/notebooks/factormodel.ipynb | 113 ++++++++---------- book/docs/notebooks/large.ipynb | 26 +--- book/docs/notebooks/sample.ipynb | 12 +- cvx/{risk => }/linalg/__init__.py | 0 cvx/{risk => }/linalg/cholesky.py | 0 cvx/{risk => }/linalg/pca.py | 0 cvx/{risk => }/linalg/valid.py | 0 cvx/{risk => }/random/__init__.py | 0 cvx/{risk => }/random/rand_cov.py | 0 cvx/risk/factor/factor.py | 2 +- cvx/risk/model.py | 6 +- cvx/risk/sample/sample.py | 2 +- tests/{test_risk => }/test_linalg/__init__.py | 0 .../test_linalg/test_cholesky.py | 4 +- tests/{test_risk => }/test_linalg/test_pca.py | 2 +- .../{test_risk => }/test_linalg/test_valid.py | 2 +- tests/{test_risk => }/test_random/__init__.py | 0 .../test_random/test_random.py | 2 +- tests/test_risk/test_factor/test_factor.py | 4 +- 21 files changed, 76 insertions(+), 109 deletions(-) rename cvx/{risk => }/linalg/__init__.py (100%) rename cvx/{risk => }/linalg/cholesky.py (100%) rename cvx/{risk => }/linalg/pca.py (100%) rename cvx/{risk => }/linalg/valid.py (100%) rename cvx/{risk => }/random/__init__.py (100%) rename cvx/{risk => }/random/rand_cov.py (100%) rename tests/{test_risk => }/test_linalg/__init__.py (100%) rename tests/{test_risk => }/test_linalg/test_cholesky.py (75%) rename tests/{test_risk => }/test_linalg/test_pca.py (96%) rename tests/{test_risk => }/test_linalg/test_valid.py (91%) rename tests/{test_risk => }/test_random/__init__.py (100%) rename tests/{test_risk => }/test_random/test_random.py (81%) diff --git a/.gitignore b/.gitignore index bb4b5a36..52556b63 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ .idea +.DS_Store + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] diff --git a/book/docs/notebooks/demo.ipynb b/book/docs/notebooks/demo.ipynb index 087f77d7..3dd0706e 100644 --- a/book/docs/notebooks/demo.ipynb +++ b/book/docs/notebooks/demo.ipynb @@ -1578,9 +1578,9 @@ } }, "text/html": [ - "