/**
* Creates an instance of {@code TfIdfGlobalTransform} from a {@code
* File} in the format {@link Format}.
*/
public TfIdfGlobalTransform(File inputMatrixFile, Format format) {
MatrixStatistics stats = TransformStatistics.extractStatistics(
inputMatrixFile, format, false, true);
docTermCount = stats.rowSums;
termDocCount = stats.columnSums;
totalDocCount = docTermCount.length;
}