最新文章

Python: Signature

少于 1 分钟阅读

Just a reminder that we have such objects to inspect the function signatures, as PEP 362 – Function Signature Object indicates.

Python: *expression

3 分钟阅读

Argument Unpacking: *expression and **expression inside function calls

scikit-learn: Pipeline

1 分钟阅读

Pipeline 的作用,见名知意,就是把多个 processor units chain up 起来。Pipeline 要求前 $N-1$ 个 processor units 是 Transformer,最后一个 processor unit 是 Estimator。我们举个例子看看就很好理解了: