Loom and a previous version of TreeCat implemented a .correlation() method to compute the feature-feature correlation based on mutual information. These could be implemented in ServerBase by using the vectorized .sample() and .logprob() abstract methods (so that .correlation() would work for both TreeCatServers and EnsembleServers).