I copied the same code provided as the answer. but the accuracy score obtained by 5-fold cross-validation of this pipeline is not 0.9 .
Also I have a doubt, Is it OK to use logistic regression for the regression task (House Salesprice predixtion(Here) ).