docs: public Factor getBinaryRuleExpectations() {
      Tensor binaryRuleWeights = binaryRuleDistribution.coerceToDiscrete().getWeights();
      SparseTensor tensor = SparseTensor.copyRemovingZeros(binaryRuleWeights,
          binaryRuleExpectations);
  
      return new TableFactor(binaryRuleDistribution.getVars(), tensor);
    }