Demo entry 5853704

sklearn-pipeline.py

   

Submitted by anonymous on Jul 20, 2016 at 15:01
Language: Python. Code size: 254 Bytes.

class Pipeline(Transfomer):

    @property
    def named_steps(self):
        """Returns a sequence of transformers"""
        return self.steps

    @property
    def _final_estimator(self):
        """All pipelines terminate in an estimator"""

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).