return coefficients from Pipeline object in sklearn
You can always use the names you assigned to them while making the pipeline by using the named_steps dict. scaler = sgd_randomized_pipe.best_estimator_.named_steps[‘scl’] classifier = sgd_randomized_pipe.best_estimator_.named_steps[‘clf’] and then access all the attributes like coef_, intercept_ etc. which are available to corresponding fitted estimator. This is the formal attribute exposed by the Pipeline as specified in the … Read more