def hrp_portfolio(returns):
return HRPOpt(returns).hrp_portfolio()<EOL>
Construct a hierarchical risk parity portfolio

:param returns: asset historical returns
:type returns: pd.DataFrame
:return: weights for the HRP portfolio
:rtype: dict
:raises TypeError: if ``returns`` is not a dataframe