sklearn计算idf值公式
if self.use_idf: n_samples, n_features = X.shape df = _document_frequency(X) df = df.astype(dtype, **`_astype_copy_false`(df)) # perform idf sm...