You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In hierarchical_schur_complementary_portfolio_with_defaults, the default port is diagonal_portfolio_factory
It is called here with the covariance as a positional argument.
However, diagonal_portfolio_factory takes pre as it's first positional argument (here) meaning that the allocation is not an inverse variance.
I think it should be port(cov=cov) as opposed to port(cov) (with that change, the allocation will be homogenous to HRP when gamma=0)
The text was updated successfully, but these errors were encountered:
In
hierarchical_schur_complementary_portfolio_with_defaults
, the defaultport
isdiagonal_portfolio_factory
It is called here with the covariance as a positional argument.
However,
diagonal_portfolio_factory
takespre
as it's first positional argument (here) meaning that the allocation is not an inverse variance.I think it should be
port(cov=cov)
as opposed toport(cov)
(with that change, the allocation will be homogenous to HRP when gamma=0)The text was updated successfully, but these errors were encountered: