Skip to content

Commit

Permalink
remove output from other uses of @interact
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcky committed Apr 29, 2021
1 parent e096306 commit f174864
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lectures/black_litterman.md
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,7 @@ $\bar d_2$ (or $\lambda$ ), we can trace out the whole curve
as the figure below illustrates.

```{code-cell} python3
:tags: ["remove-output"]
np.random.seed(1987102)
N = 2 # Number of assets
Expand Down Expand Up @@ -702,6 +703,7 @@ following figure, on which the curve connecting $\hat \mu$
and $\mu_{BL}$ are bending

```{code-cell} python3
:tags: ["remove-output"]
λ_grid = np.linspace(.001, 20000, 1000)
curve = np.asarray([black_litterman(λ, μ_m, μ_est, Σ_est,
τ * np.eye(N)).flatten() for λ in λ_grid])
Expand Down

1 comment on commit f174864

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.