There is no feature-complete implementation of the hierarchical clustering algorithm in the Shogun library. There is the CHierarachical class, which implements the hierarchical clustering of the distance values. The distances can represent distances between actual objects for clustering. However, the CHierarachical object returns the new distance values it got after clustering. So, such an object cannot be directly used for object clustering; instead, we can use it as a building block for a custom clustering algorithm.