[scikit-learn] Question about get_params / set_params

Louis Abraham louis.abraham at yahoo.fr
Sun Oct 28 04:29:21 EDT 2018


Hi,

According to http://scikit-learn.org/0.16/developers/index.html#get-params-and-set-params <http://scikit-learn.org/0.16/developers/index.html#get-params-and-set-params>,
get_params and set_params are used to clone estimators.
However, I don't understand how it is used in FeatureUnion:
`return self._get_params('transformer_list', deep=deep)`

Why doesn't it contain other arguments like n_jobs and transformer_weights?

Best
Louis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20181028/239b76c7/attachment-0001.html>


More information about the scikit-learn mailing list