我理解,sklearn中这两种预处理功能的不同之处在于,前者没有估值器API,但是其中一个和另一个的用例是什么呢?我想我真正想问的是,您什么时候需要API估计器的功能?
发布于 2019-12-31 23:55:48
其中一个是函数(quantile_transform):
https://github.com/scikit-learn/scikit-learn/blob/7e85a6d1f/sklearn/preprocessing/_data.py#L2541
另一个是类(QuantileTransformer):
https://github.com/scikit-learn/scikit-learn/blob/7e85a6d1f/sklearn/preprocessing/_data.py#L2132
https://stackoverflow.com/questions/59549177
复制相似问题