Don’t forget that you can treat some of the data preparation steps as hyperparameters. For example, the grid search will automatically find out whether or not to add a feature you were not sure about (e.g., using the
add_bedrooms_per_room hyperparameter of your
CombinedAttributesAdder transformer). It may similarly be used to automatically find the best way to handle outliers, missing features, feature selection, and more.
- 2. End-to-End Machine Learning Project
- from Hands-On Machine Learning with Scikit-Learn and TensorFlow
- Publisher: O'Reilly Media, Inc.
- Released: March 2017
Need to try this! Check out http://scikit-learn.org/stable/auto_examples/plot_compare_reduction.html
Share this highlighthttp://www.safaribooksonline.com/a/hands-on-machine-learning/12050095/