Computer Science, asked by sowmyapavi17, 2 months ago

how to using pipeline in grid search explain

Answers

Answered by Anonymous
2

First you build a parameter grid like you normally would with a grid-search. Then you build your pipeline like you normally would. You set the grid-search to run on the pipeline as opposed to running the grid-search in the pipeline itself. The trick is connecting your parameter grid to the proper step in the pipeline .

# Capricorn answer

Answered by berwinjacob257
2

Sequentially apply a list of transforms and a final estimator. Intermediate steps of the pipeline must be 'transforms', that is, they must implement fit and transform methods. The final estimator only needs to implement fit. The transformers in the pipeline can be cached using memory argument

Similar questions