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
{{ message }}
Repository navigation
HRPOpt fails with current SciPy because _LINKAGE_METHODS was removed #754
HRPOpt.optimize() should return portfolio weights for valid linkage methods.
Actual behavior
The call raises:
AttributeError:
module 'scipy.cluster.hierarchy' has no attribute '_LINKAGE_METHODS'
The error occurs during linkage-method validation before the portfolio is optimized.
Impact
HRP optimization fails with current SciPy versions, causing HRP-related tests to fail.
Pull request intention
I would like to submit a pull request that replaces this private SciPy API usage with a compatible validation approach and adds regression tests for the supported linkage methods.
Activity